Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] error when using filter to view permissions on a role

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] error when using filter to view permissions on a role


Chronological Thread 
  • From: Lynn Garrison <>
  • To: Chris Hyzer <>
  • Cc: Grouper Dev <>
  • Subject: Re: [grouper-dev] error when using filter to view permissions on a role
  • Date: Fri, 23 Sep 2011 09:07:51 -0400

Chris,
I created the permissions with 1.6.3 using gsh and migrated them to 2.0.  I suspect that I missed a step somewhere during the creation.  I deleted the permission with the ui and recreated the permission using my gsh script.  Once the permission was recreated I changed the action from assign to access.   I am no longer able to reproduce the problem.  

Lynn

On Sep 23, 2011, at 1:55 AM, Chris Hyzer wrote:

I tried a simple case with a new 2.0 and it worked, do you have more specifics about how your environment is different?  Thanks, Chris
 
<image001.png>
 
-----Original Message-----
From:  [mailto:] On Behalf Of LYNN GARRISON
Sent: Wednesday, September 21, 2011 9:58 AM
To: Grouper Dev
Subject: [grouper-dev] error when using filter to view permissions on a role
 
We are running Grouper 2.0.  After successfully assigning a permission to a role I tried to view permissions assigned to the role.  On the view or assign permissions screen of the UI lite menu,  I chose to filter by role and entered the Role.  When I clicked on the filter button,  I received the following error:
Error: Why no guiPermissionEntry for action: ACCESS, [assign], Problem calling method assignFilter on edu.internet2.middleware.grouper.grouperUi.serviceLogic.SimplePermissionUpdate
 
 
If I enter a Permission Definition the permission assignments is displayed correctly.
 
Here is the stack trace for the error.
 
2011-09-21 09:31:37,489 ERROR j2ee.GrouperUiRestServlet:  Problem calling reflect
ion from URL: edu.internet2.middleware.grouper.grouperUi.serviceLogic.SimplePermi
ssionUpdate.assignFilter
 
java.lang.RuntimeException: Why no guiPermissionEntry for action: ACCESS, [assign
],
Problem calling method assignFilter on edu.internet2.middleware.grouper.grouperUi
.serviceLogic.SimplePermissionUpdate
      at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiPermissionEntr
yContainer.processRawEntries(GuiPermissionEntryContainer.java:315)
      at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiPermissionEntr
yActionsContainer.processRawEntries(GuiPermissionEntryActionsContainer.java:93)
      at edu.internet2.middleware.grouper.grouperUi.serviceLogic.SimplePermissi
onUpdate.assignFilter(SimplePermissionUpdate.java:634)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(Grouper
Util.java:3871)
      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUt
il.java:3822)
      at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(Group
erUiRestServlet.java:201)
      at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(Grou
perUiRestServlet.java:117)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
cationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
lterChain.java:206)
      at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUi
Filter.java:804)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
cationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
lterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
lve.java:219)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
lve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticat
orBase.java:563)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
va:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
va:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
e.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:298)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.jav
a:705)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocke
t.java:898)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
ol.java:690)
      at java.lang.Thread.run(Thread.java:662)





Archive powered by MHonArc 2.6.16.

Top of Page