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

database config in ui for grouper-ui.properties throws exception

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.28
    • UI
    • None

    Description

      I am giving i2incommon/grouper:2.5.27 a spin... and for some reason the "Miscellaneous > Configure > Configuration files" bombs out on the "grouper-ui.properties" file.   ( All other files render ok.)    Did I do that? or is that broken in the image?Slack did not like me posting the whole msg here... see the file...

      tomee;localhost.log;docker;docker;2020-05-07 04:21:44,727 [ajp-nio-8009-exec-2] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/grouper].[jsp]- Servlet.service() for servlet [jsp] threw exception
      java.lang.RuntimeException: Why does key end in suffix??? .elConfig, grouperUi.configurationEditor.sourceIpAddresses.elConfig
              at edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase.propertyValueString(ConfigPropertiesCascadeBase.java:420) ~[grouperClient-2.5.27.jar:2.5.27]
              at edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase.containsKey(ConfigPropertiesCascadeBase.java:1209) ~[grouperClient-2.5.27.jar:2.5.27]
              at edu.internet2.middleware.grouper.grouperUi.beans.config.GuiConfigProperty.getPropertyValue(GuiConfigProperty.java:115) ~[grouper-ui-2.5.27.jar:2.5.27]
              at sun.reflect.GeneratedMethodAccessor338.invoke(Unknown Source) ~[?:?]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
              at javax.el.BeanELResolver.getValue(BeanELResolver.java:94) ~[el-api.jar:3.0.FR]
              at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:113) ~[jasper.jar:8.5.50]
              at org.apache.el.parser.AstValue.getValue(AstValue.java:169) ~[jasper-el.jar:8.5.50]
              at org.apache.el.parser.AstFunction.getValue(AstFunction.java:189) ~[jasper-el.jar:8.5.50]
              at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190) ~[jasper-el.jar:8.5.50]
              at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:944) ~[jasper.jar:8.5.50]
              at org.apache.jsp.WEB_002dINF.grouperUi2.configure.configure_jsp._jspx_meth_c_005fforEach_005f1(configure_jsp.java:588) ~[?:?]
              at org.apache.jsp.WEB_002dINF.grouperUi2.configure.configure_jsp._jspx_meth_c_005fforEach_005f0(configure_jsp.java:437) ~[?:?]
              at org.apache.jsp.WEB_002dINF.grouperUi2.configure.configure_jsp._jspx_meth_c_005fif_005f0(configure_jsp.java:331) ~[?:?]
              at org.apache.jsp.WEB_002dINF.grouperUi2.configure.configure_jsp._jspService(configure_jsp.java:278) ~[?:?]
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.5.50]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[servlet-api.jar:?]
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476) ~[jasper.jar:8.5.50]
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) ~[jasper.jar:8.5.50]
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) ~[jasper.jar:8.5.50]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[servlet-api.jar:?]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728) [catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:591) [catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:527) [catalina.jar:8.5.50]
              at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1813) [grouper-ui-2.5.27.jar:2.5.27]
              at edu.internet2.middleware.grouper.grouperUi.beans.json.GuiScreenAction.newInnerHtmlFromJsp(GuiScreenAction.java:559) [grouper-ui-2.5.27.jar:2.5.27]
              at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Configure.configureSelectFile(UiV2Configure.java:557) [grouper-ui-2.5.27.jar:2.5.27]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
              at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4268) [grouper-2.5.27.jar:2.5.27]
              at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4219) [grouper-2.5.27.jar:2.5.27]
              at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:335) [grouper-ui-2.5.27.jar:2.5.27]
              at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:202) [grouper-ui-2.5.27.jar:2.5.27]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) [servlet-api.jar:?]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [servlet-api.jar:?]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.50]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
              at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88) [csrfguard-3.1.0.jar:3.1.0]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
              at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1163) [grouper-ui-2.5.27.jar:2.5.27]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.50]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.50]
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.50]
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.50]
              at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44) [tomee-catalina-7.0.7.jar:7.0.7]
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543) [catalina.jar:8.5.50]
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:8.5.50]
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.50]
              at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97) [tomee-catalina-7.0.7.jar:7.0.7]
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) [catalina.jar:8.5.50]
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.50]
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:8.5.50]
              at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:482) [tomcat-coyote.jar:8.5.50]
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:8.5.50]
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810) [tomcat-coyote.jar:8.5.50]
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623) [tomcat-coyote.jar:8.5.50]
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.50]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_252]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_252]
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.50]
              at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
      tomee;console;docker;docker;2020-05-07 04:21:44,756: [ajp-nio-8009-exec-2] ERROR GrouperUiRestServlet.doGet(368) -  - Problem calling reflection from URL: edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Configure.configureSelectFile
      tomee;console;docker;docker;
      tomee;console;docker;docker;java.lang.RuntimeException: Problem converting JSP to string: /WEB-INF/grouperUi2/configure/configure.jsp,
      tomee;console;docker;docker;Problem calling method configureSelectFile on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Configure
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertJspToString(GrouperUiUtils.java:1815)
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.grouperUi.beans.json.GuiScreenAction.newInnerHtmlFromJsp(GuiScreenAction.java:559)
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Configure.configureSelectFile(UiV2Configure.java:557)
      tomee;console;docker;docker;    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      tomee;console;docker;docker;    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      tomee;console;docker;docker;    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      tomee;console;docker;docker;    at java.lang.reflect.Method.invoke(Method.java:498)
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:4268)
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4219)
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:335)
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:202)
      tomee;console;docker;docker;    at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
      tomee;console;docker;docker;    at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      tomee;console;docker;docker;    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      tomee;console;docker;docker;    at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      tomee;console;docker;docker;    at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1163)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      tomee;console;docker;docker;    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      tomee;console;docker;docker;    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      tomee;console;docker;docker;    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      tomee;console;docker;docker;    at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
      tomee;console;docker;docker;    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
      tomee;console;docker;docker;    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      tomee;console;docker;docker;    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      tomee;console;docker;docker;    at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invo...
      Collapse
       This snippet was truncated for display; see it in full
       

      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