Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Error when i want to view all inherited privileges in registry

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Error when i want to view all inherited privileges in registry


Chronological Thread 
  • From: Yoann Delattre <>
  • To: "Hyzer, Chris" <>, "" <>
  • Subject: Re: [grouper-users] Error when i want to view all inherited privileges in registry
  • Date: Tue, 19 Jul 2016 11:50:32 +0200

Hi,

sorry for the delay.

You right, my problem is fixed with the 2.3 api patch 10.

Thanks for your help !

Yoann.


Le 18/06/2016 à 01:38, Hyzer, Chris a écrit :

I couldn’t reproduce this, but I think I fixed this in 2.3 api patch 10, do you think you can apply this patch and see if it is fixed?  J

 

https://bugs.internet2.edu/jira/browse/GRP-1323

 

Thanks

Chris

 

From: [] On Behalf Of Yoann Delattre
Sent: Thursday, June 02, 2016 5:46 AM
To:
Subject: Re: [grouper-users] Error when i want to view all inherited privileges in registry

 

Hi,

i did some debug.

I think, it comes from findPrivilegeInheritRules and findSubjectPrivilegeInheritRules methods in RuleFinder class

For example, in findPrivilegeInheritRules method at line 91, if we have thenEl instead of thenEnum, ruleDefinition.getThen().thenEnum() return null.
Switch statement doesn't support a null case, i think that's why i have the error below.

Hope it can help,
thanks,
Yoann.

 

Le 03/05/2016 à 09:26, Yoann Delattre a écrit :

Hi,

in Grouper 2.3, when i click on Miscellaneous --> Inherited privileges, i get this error :

 

the stack trace :

2016-05-03 09:12:15,624: [http-bio-8080-exec-7] ERROR GrouperUiRestServlet.doGet(324) -  - Problem calling reflection from URL: edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Main.globalInheritedPrivileges

java.lang.NullPointerException: Problem calling method globalInheritedPrivileges on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Main
        at edu.internet2.middleware.grouper.rules.RuleFinder.findPrivilegeInheritRules(RuleFinder.java:91)
        at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Main.globalInheritedPrivileges(UiV2Main.java:1347)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4113)
        at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4064)
        at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:291)
        at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:163)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:110)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1023)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

thanks for your help :)

--

Yoann Delattre

03 20 95 69 10

Équipe SIAD (Systèmes d'Information et Aide à la Décision)
DSI de l'académie de Lille (Direction des Systèmes d'Information)
110 avenue Gaston Berger - 59000 Lille

 




  • Re: [grouper-users] Error when i want to view all inherited privileges in registry, Yoann Delattre, 07/19/2016

Archive powered by MHonArc 2.6.19.

Top of Page