Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] grouper 2.2.1 UI error

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] grouper 2.2.1 UI error


Chronological Thread 
  • From: Rahul Doshi <>
  • To: "" <>
  • Subject: Re: [grouper-users] grouper 2.2.1 UI error
  • Date: Tue, 11 Nov 2014 20:24:20 +0000
  • Accept-language: en-US

I figured out the problem.  I copied all the config files from 2.2.0 to 2.2.1 instead of just my customized config files.  As as result I was missing property jexl.cachesize from grouper.base.properties which was causing it to throw the jexl exception.

Thanks,
Rahul

From: Rahul Doshi <>
Date: Tuesday, November 11, 2014 at 1:36 PM
To: "" <>
Subject: [grouper-users] grouper 2.2.1 UI error

Hello,

I need help with the error that I getting when logging in to grouper 2.2.1 UI.  Instead of seeing main page I see output below.

Thanks,
Rahul
{"actions":[{"assignmentName":"allObjects.guiSettings","assignmentObject":{"authnKey":"f96ee40bcd1b46c2a366b5a1ee3895ff","loggedInSubject":{"attributeLabel":{},"attributeNamesNonInternal":["dn","status","uid","givenname","edupersonprincipalname","sn","cn","displayname0"],"attributes":{"dn":"UID=RRDOSHI,ou=AndrewPerson,dc=andrew,dc=cmu,dc=edu","status":"Active","uid":"rrdoshi","givenname":"Rahul","edupersonprincipalname":"","sn":"Doshi","cn":"Rahul Doshi","displayname0":"Doshi, Rahul (rrdoshi)[Active]"},"breadcrumbBullets":"<li><a href="\"#\""  guiV2link('operation=UiV2Main.indexMain');\">Home <\/a><span class=\"divider\"><i class='fa fa-angle-right'><\/i><\/span><\/li><li class=\"active\">null<\/li>","breadcrumbs":"<ul class=\"breadcrumb\"><li><a href="\"#\""  guiV2link('operation=UiV2Main.indexMain');\">Home <\/a><span class=\"divider\"><i class='fa fa-angle-right'><\/i><\/span><\/li><li class=\"active\">null<\/li><\/ul>","group":false,"hasEmailAttributeInSource":false,"lastEditedString":"","needsTooltip":false,"pathColonSpaceSeparated":"","screenLabel":"Rahul Doshi","screenLabelLong":"Rahul Doshi","showBreadcrumbLink":false,"showBreadcrumbLinkSeparator":true,"sourceIdSubjectId":"ldap||rrdoshi","subject":{"attributes":{"dn":["UID=RRDOSHI,ou=AndrewPerson,dc=andrew,dc=cmu,dc=edu"],"status":["Active"],"uid":["rrdoshi"],"givenname":["Rahul"],"edupersonprincipalname":[""],"sn":["Doshi"],"cn":["Rahul Doshi"],"displayname0":["Doshi, Rahul (rrdoshi)[Active]"]},"description":"Rahul Doshi","id":"rrdoshi","name":"Rahul Doshi","source":{"id":"ldap","initParams":{"SubjectID_AttributeType":"uid","SubjectID_formatToLowerCase":"true","Name_AttributeType":"cn","Description_AttributeType":"cn","sortAttribute0":"displayName0","searchAttribute0":"displayName0","ldapProperties_file":"/ldap.properties","Multiple_Results":"false","subjectVirtualAttribute_0_displayName0":"${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('sn'), \"\")}, ${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('givenName'), \"\")} (${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('uid'), \"\")})[${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('status'), \"\")}]"},"internalAttributes":[],"ldapPool":{"blockWaitTime":0,"ldapPoolConfig":{"expirationTime":600000,"maxPoolSize":10,"minPoolSize":3,"propertiesDomain":"edu.vt.middleware.ldap.pool.","pruneTimerPeriod":300000,"validateOnCheckIn":false,"validateOnCheckOut":false,"validatePeriodically":false,"validateTimerPeriod":1800000}},"name":"CMU Person","subjectStatusConfig":{"sourceId":"ldap","statusConfigured":false,"statusTranslateUserToDatastore":{},"statusesFromUser":[]},"subjectType":{"name":"person"},"subjectTypes":[{"name":"person"}]},"sourceId":"ldap","type":{"name":"person"},"typeName":"person"},"subjectType":true,"title":""}}},{"assignmentName":"allObjects.appState.initted","assignmentObject":true},{"message":"Error: org.apache.jasper.JasperException: javax.el.ELException: Error reading &#39;shortLink&#39; on type edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject,\nProblem calling method index on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Main","messageType":"error"}],"addTextAreaTag":false,"guiAjaxSessionProblem":"There was an error communicating with the server.  Your session probably expired.  You will be redirected to log in again.","hideShows":{},"pagers":{}}
Error I see in the tomcat logs is below
java.lang.RuntimeException: org.apache.jasper.JasperException: javax.el.ELException: Error reading 'shortLink' on type edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject,

Problem calling method index on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Main

        at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiServiceLogicBase.showJsp(UiServiceLogicBase.java:39)

        at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Main.index(UiV2Main.java:630)

        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 javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

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

Caused by: org.apache.jasper.JasperException: javax.el.ELException: Error reading 'shortLink' 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.processRequest(ApplicationDispatcher.java:436)

        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

        at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiServiceLogicBase.showJsp(UiServiceLogicBase.java:37)

        ... 31 more

Caused by: javax.el.ELException: Error reading 'shortLink' 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.index.index_jsp._jspService(index_jsp.java:172)

        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)

        ... 41 more

Caused by: java.lang.NullPointerException

        at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:9052)

        at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertSubjectToLabelHtmlConfigured2(GrouperUiUtils.java:1428)

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

        at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject.getShortLink(GuiSubject.java:191)

        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)

        ... 49 more




Archive powered by MHonArc 2.6.16.

Top of Page