Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2345

error on privs of loader attributes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0.patch, 2.5.0, 2.4.1
    • UI
    • None

    Description

      2019-09-30 17:31:44,006: [ajp-nio-8552-exec-1] ERROR GrouperUiRestServlet.doGet(355) - - 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/viewGroup.jsp,
      Problem calling method viewGroup on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group
      at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1815)
      at edu.internet2.middleware.grouper.grouperUi.beans.json.GuiScreenAction.newInnerHtmlFromJsp(GuiScreenAction.java:559)
      at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Group.viewGroup(UiV2Group.java:299)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4190)
      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4141)
      at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:322)
      at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:193)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1139)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at edu.upenn.isc.proxyWrapper.ProxyWrapperFilter.doFilter(ProxyWrapperFilter.java:50)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.jasper.JasperException: javax.el.ELException: Error reading [hasAttrDefNameGrouperLoaderLdap] on type [edu.internet2.middleware.grouper.grouperUi.beans.api.GuiGroup]
      at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:598)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:514)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:591)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:527)
      at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1813)
      ... 43 more
      Caused by: javax.el.ELException: Error reading [hasAttrDefNameGrouperLoaderLdap] on type [edu.internet2.middleware.grouper.grouperUi.beans.api.GuiGroup]
      at javax.el.BeanELResolver.getValue(BeanELResolver.java:98)
      at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:110)
      at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
      at org.apache.el.parser.AstOr.getValue(AstOr.java:37)
      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
      at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:944)
      at org.apache.jsp.WEB_002dINF.grouperUi2.group.viewGroup_jsp._jspx_meth_c_005fif_005f16(viewGroup_jsp.java:1445)
      at org.apache.jsp.WEB_002dINF.grouperUi2.group.viewGroup_jsp._jspx_meth_c_005fif_005f15(viewGroup_jsp.java:1414)
      at org.apache.jsp.WEB_002dINF.grouperUi2.group.viewGroup_jsp._jspx_meth_c_005fif_005f14(viewGroup_jsp.java:1373)
      at org.apache.jsp.WEB_002dINF.grouperUi2.group.viewGroup_jsp._jspService(viewGroup_jsp.java:264)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      ... 52 more
      Caused by: edu.internet2.middleware.grouper.exception.InsufficientPrivilegeException: Subject Subject id: 68073291, sourceId: pennperson cannot read attributeDef penn:etc:attribute:loaderLdap:grouperLoaderLdapDef
      at edu.internet2.middleware.grouper.attr.assign.AttributeAssignGroupDelegate.assertCanReadAttributeDef(AttributeAssignGroupDelegate.java:92)
      at edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.assertCanReadAttributeDefName(AttributeAssignBaseDelegate.java:79)
      at edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.hasAttributeHelper(AttributeAssignBaseDelegate.java:223)
      at edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.hasAttribute(AttributeAssignBaseDelegate.java:574)
      at edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.hasAttribute(AttributeAssignBaseDelegate.java:211)
      at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiGroup.isHasAttrDefNameGrouperLoaderLdap(GuiGroup.java:697)
      at sun.reflect.GeneratedMethodAccessor459.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at javax.el.BeanELResolver.getValue(BeanELResolver.java:94)
      ... 64 more

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist