Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Problem with 2.2.2 upgrade

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Problem with 2.2.2 upgrade


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Tim Darby <>
  • Cc: Shilen Patel <>, "" <>
  • Subject: RE: [grouper-users] Problem with 2.2.2 upgrade
  • Date: Tue, 13 Oct 2015 15:04:05 +0000
  • Accept-language: en-US

Tim,

 

I discussed with Shilen and we are not sure what the problem is.

 

However, there is an obvious problem identified by your stacktrace which is fixed in the attached “patch” which you can unzip to WEB-INF/classes so that WEB-INF/classes/edu exists or is intact.

 

Can you please unzip the file to WEB-INF/classes and see if you get further.  Once we see what is needed to get you up and running I can make a 2.2.2 patch.

 

Also let us know what patches you have installed for 2.2.1, I suspect one of the patches is the problem and that you don’t have it installed?

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Tim Darby
Sent: Monday, October 12, 2015 3:12 PM
To: Chris Hyzer
Cc: Shilen Patel;
Subject: Re: [grouper-users] Problem with 2.2.2 upgrade

 

I tried using the upgrader on a test instance copy and I see the same issue. This is the error message:

 

2015-10-12 11:41:34,490: [TP-Processor6] ERROR GrouperUiRestServlet.doGet(321) -  - Problem calling reflection from URL: edu.internet2.middleware.grouper.grouperUi.serviceLogic

.UiV2Group.viewGroup

 

java.lang.RuntimeException: Problem converting JSP to string: /WEB-INF/grouperUi2/group/groupContents.jsp,

Problem calling method viewGroup on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group

        at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1656)

        at edu.internet2.middleware.grouper.grouperUi.beans.json.GuiScreenAction.newInnerHtmlFromJsp(GuiScreenAction.java:559)

        at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group.filterHelper(UiV2Group.java:467)

        at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group.viewGroup(UiV2Group.java:185)

        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:622)

        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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)

        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:701)

Caused by: org.apache.jasper.JasperException: javax.el.ELException: Error reading 'shortLinkWithIcon' on type edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject

        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)

        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:1654)

        ... 35 more

Caused by: javax.el.ELException: Error reading 'shortLinkWithIcon' on type edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject

        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.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)

        at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)

        at org.apache.jsp.WEB_002dINF.grouperUi2.group.groupContents_jsp._jspx_meth_c_005fforEach_005f0(groupContents_jsp.java:265)

        at org.apache.jsp.WEB_002dINF.grouperUi2.group.groupContents_jsp._jspService(groupContents_jsp.java:125)

        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)

        ... 44 more

Caused by: java.lang.NullPointerException

        at edu.internet2.middleware.subject.provider.LdapSubject.getDescription(LdapSubject.java:146)

        at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertSubjectToLabelConfigured(GrouperUiUtils.java:1359)

        at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertSubjectToLabelLong(GrouperUiUtils.java:1009)

        at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject.initScreenLabels(GuiSubject.java:225)

        at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject.getShortLinkWithIcon(GuiSubject.java:200)

        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:622)

        at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)

        ... 53 more

 

Also, FYI, the upgrader copied over the version of ​ojdbc6_g.jar that I need for our Oracle database, which caused database access to fail until I replaced it.


Tim Darby

UA Information Security, Identity Services | The University of Arizona |  | +1 520.626.3799

 

On Sun, Oct 11, 2015 at 2:25 PM, Tim Darby <> wrote:

OK, I'll try that.


Tim Darby

UA Information Security, Identity Services | The University of Arizona |  | +1 520.626.3799

 

On Sun, Oct 11, 2015 at 12:00 PM, Chris Hyzer <> wrote:

Do you want to take a copy of an env that works, and try the installer to upgrade it?  Maybe keep the output so if it works you can see what it did differently than what you did?

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Tim Darby
Sent: Saturday, October 10, 2015 10:05 PM
To: Shilen Patel
Cc:
Subject: Re: [grouper-users] Problem with 2.2.2 upgrade

 

I did the manual upgrade of configs/jars (not really comfortable with the installer yet). I could see members of various groups I tested, but there were a couple of others that failed too. I happen to also have explicit admin rights on 

etc/webServiceActAsGroup, so it's especially weird that I couldn't view it.

 

groups.wheel.use and groups.wheel.group are both set correctly.


Tim Darby

UA Information Security, Identity Services | The University of Arizona |  | +1 520.626.3799

 

On Sat, Oct 10, 2015 at 4:51 PM, Shilen Patel <> wrote:

How did you do the upgrade?  Using the installer or updating configs/jars?

 

Are you unable to see members of just that group?  Or all groups?  Or just groups that you don't explicitly have read privileges?

 

Does your grouper.properties (grouper/WEB-INF/classes/grouper.properties) have the correct settings for

​​

groups.wheel.use and groups.wheel.group?

 

Thanks!

 

- Shilen

 

From: Tim Darby <>
Date: Friday, October 9, 2015 at 4:01 PM
To: "" <>
Subject: [grouper-users] Problem with 2.2.2 upgrade

 

After the upgrade, my account, which is in the etc/sysadmingroup, can no longer view the members of

​​

etc/webServiceActAsGroup in the UI. This comes back if I downgrade to 2.2.1. 

 

Tim Darby

UA Information Security, Identity Services | The University of Arizona |  | +1 520.626.3799

 

 

 

Attachment: ldapSubjectPatch.zip
Description: ldapSubjectPatch.zip




Archive powered by MHonArc 2.6.16.

Top of Page