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

loader el util character normalizer error

    XMLWordPrintable

Details

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

    Description

      ERROR: Error evaluating group name expression: 'org:${loaderLdapElUtils.normalize("NFD", groupAttribute).replaceAll("
      p{M}", "")}'
      java.lang.RuntimeException: Error substituting string: 'org:${loaderLdapElUtils.normalize("NFD", groupAttribute).replaceAll("
      p{M}", "")}'
      at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:9589)
      at edu.internet2.middleware.grouper.app.loader.ldap.LoaderLdapUtils.substituteEl(LoaderLdapUtils.java:719)
      at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2GrouperLoader.diagnosticsTryLdapGroupsFromAttributes(UiV2GrouperLoader.java:3494)
      at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2GrouperLoader.loaderDiagnosticsRun(UiV2GrouperLoader.java:2219)
      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:4268)
      at edu.internet2.middleware.grouper.util.GrouperUtil.callMethod(GrouperUtil.java:4219)
      at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:335)
      at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:202)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      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:1163)
      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:199)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:482)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)
      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.commons.jexl2.JexlException: edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage@9536![18,50]: 'loaderLdapElUtils.normalize('NFD', groupAttribute).replaceAll('\p{M}', '');' method invocation error
      at org.apache.commons.jexl2.Interpreter.call(Interpreter.java:1076)
      at org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1100)
      at org.apache.commons.jexl2.parser.ASTMethodNode.jjtAccept(ASTMethodNode.java:18)
      at org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1317)
      at org.apache.commons.jexl2.parser.ASTReference.jjtAccept(ASTReference.java:18)
      at org.apache.commons.jexl2.Interpreter.interpret(Interpreter.java:232)
      at org.apache.commons.jexl2.ExpressionImpl.evaluate(ExpressionImpl.java:65)
      at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:9539)
      ... 43 more
      Caused by: java.lang.IllegalArgumentException: No enum constant java.text.Normalizer.Form.Calcul Qu├ębec: McGill University
      at java.lang.Enum.valueOf(Enum.java:238)
      at java.text.Normalizer$Form.valueOf(Normalizer.java:122)
      at edu.internet2.middleware.grouper.app.loader.ldap.LoaderLdapElUtils.normalize(LoaderLdapElUtils.java:58)
      at sun.reflect.GeneratedMethodAccessor1791.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.commons.jexl2.internal.MethodExecutor.execute(MethodExecutor.java:64)
      at org.apache.commons.jexl2.internal.AbstractExecutor$Method.invoke(AbstractExecutor.java:327)
      at org.apache.commons.jexl2.Interpreter.call(Interpreter.java:1068)
      ... 50 more
      C

      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