Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: Error - new ui - This group's membership in other groups

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: Error - new ui - This group's membership in other groups


Chronological Thread 
  • From: "Waldbieser, Carl" <>
  • To: Chris Hyzer <>
  • Cc: grouper-users <>
  • Subject: [grouper-users] Re: Error - new ui - This group's membership in other groups
  • Date: Fri, 1 May 2015 16:11:00 -0400 (EDT)

Thanks Chris!
That did the trick.

Carl

----- Original Message -----
From: "Chris Hyzer"
<>
To: "Carl Waldbieser"
<>
Cc: "grouper-users"
<>
Sent: Wednesday, April 29, 2015 2:02:29 AM
Subject: RE: Error - new ui - This group's membership in other groups

Carl, thanks for the details. The problem is when a group is an effective
(only) member of another group, that page will throw an exception. Also, the
remove checkboxes don’t work in chrome. I fixed both of these issues in the
latest UI patch, apply it and try it out. Let me know how it goes :)

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

Note, the demo server is patched and it works fine there.

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Waldbieser, Carl
Sent: Tuesday, April 28, 2015 10:31 AM
To: Chris Hyzer
Cc: grouper-users
Subject: [grouper-users] Re: Error - new ui - This group's membership in
other groups

Chris,

I still haven't been able to pinpoint why some groups cause this error.
I tailed the logs today and got a more targeted error from the grouper_error
log (see below). It looks to me like the issue is that the code is trying to
reference the 'guiGroupOwner' property on some object-- but I am not sure
what that means in terms of what I ought to look for that makes this group
different from one that does not exhibit the behavior.

I can reproduce the errors pretty reliably.

Thanks,
Carl Waldbieser
ITS System Programmer
Lafayette College


== START LOG ==
2015-04-28 10:24:46,179: [TP-Processor5] ERROR
GrouperUiRestServlet.doGet(321) - - Problem calling reflection from URL:
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group.thisGroupsMemberships

java.lang.RuntimeException: Problem converting JSP to string:
/WEB-INF/grouperUi2/group/thisGroupsMembershipsContents.jsp,
Problem calling method thisGroupsMemberships on
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group
at
edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1657)
at
edu.internet2.middleware.grouper.grouperUi.beans.json.GuiScreenAction.newInnerHtmlFromJsp(GuiScreenAction.java:559)
at
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group.filterThisGroupsMembershipsHelper(UiV2Group.java:2382)
at
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group.thisGroupsMemberships(UiV2Group.java:2324)
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:4002)
at
edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:3953)
at
edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:288)
at
edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:160)
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(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1015)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.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:769)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.jasper.JasperException: An exception occurred
processing JSP page
/WEB-INF/grouperUi2/group/thisGroupsMembershipsContents.jsp at line 51

48:
${textContainer.text[grouper:concat2('groupMembershipAssignType_',guiMembershipContainer.membershipContainer.membershipAssignType)]
}
49: </td>
50: <td>
51: <c:if
test="${guiMembershipContainer.guiGroupOwner.canUpdate
52: ||
(guiMembershipContainer.membershipContainer.membershipAssignType.immediate
53: &&
guiMembershipContainer.guiGroupOwner.canUpdate)
54: ||
guiMembershipSubjectContainer.guiSubject.group}">


Stacktrace:
at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at
edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1655)
... 34 more
Caused by: javax.el.ELException: Error reading 'guiGroupOwner' on type
edu.internet2.middleware.grouper.grouperUi.beans.api.GuiMembershipContainer
at javax.el.BeanELResolver.getValue(BeanELResolver.java:66)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.el.parser.AstValue.getValue(AstValue.java:118)
at org.apache.el.parser.AstOr.getValue(AstOr.java:37)
at org.apache.el.parser.AstOr.getValue(AstOr.java:37)
at
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)
at
org.apache.jsp.WEB_002dINF.grouperUi2.group.thisGroupsMembershipsContents_jsp._jspx_meth_c_005fif_005f0(thisGroupsMembershipsContents_jsp.java:377)
at
org.apache.jsp.WEB_002dINF.grouperUi2.group.thisGroupsMembershipsContents_jsp._jspx_meth_c_005fforEach_005f0(thisGroupsMembershipsContents_jsp.java:224)
at
org.apache.jsp.WEB_002dINF.grouperUi2.group.thisGroupsMembershipsContents_jsp._jspService(thisGroupsMembershipsContents_jsp.java:134)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
... 43 more
Caused by: java.lang.NullPointerException
at
edu.internet2.middleware.grouper.grouperUi.beans.api.GuiMembershipContainer.getGuiGroupOwner(GuiMembershipContainer.java:50)
at sun.reflect.GeneratedMethodAccessor1714.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
... 55 more
== END LOG ==

----- Original Message -----
From: "Chris Hyzer"
<>
To: "Carl Waldbieser"
<>,
"grouper-users"
<>
Sent: Friday, April 10, 2015 4:35:43 PM
Subject: RE: Error - new ui - This group's membership in other groups

I hope there is a stacktrace or more info in the logs you can send along...

In fact, if you know which group causes the problem, maybe turn off the UI,
clear out the logs, turn on the UI, reproduce, and send the entire log file
to me.

thanks, Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Waldbieser, Carl
Sent: Thursday, April 09, 2015 10:39 AM
To: grouper-users
Subject: [grouper-users] Error - new ui - This group's membership in other
groups


I received the following error when using the "This group's membership in
other groups":

Error: Problem converting JSP to string:
/WEB-INF/grouperUi2/group/thisGroupsMembershipsContents.jsp, Problem calling
method thisGroupsMemberships on
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group

I noticed this in our development environment. It does not happen with every
group. I was wondering if anyone else had noticed this?

Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College


  • [grouper-users] Re: Error - new ui - This group's membership in other groups, Waldbieser, Carl, 05/01/2015

Archive powered by MHonArc 2.6.16.

Top of Page