Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-19906

Commons-lang version for Share 6.0 went backwards from 2.6 to 2.1

    Details

    • Bug Priority:
      Category 1
    • ACT Numbers:

      00970880

    • Premier Customer:
      Yes
    • Regression Since:
    • Story Points:
      3

      Description

      Share 5.2.2 shipped with commons-lang-2.6.jar but Share 6.0 shipped with commons-lang-2.1.jar, it has gone backwards.

      You can check it under tomcat\webapps\share\WEB-INF\lib

      A premier customer upgraded to Share 6.0 and found it's customization that uses commons-lang's FieldUtils broke with the following messages:

       
      2018-08-08 18:29:47,825 ERROR [org.springframework.extensions.webscripts.connector.RemoteClient] [http-nio-80-exec-9] Error status 200 
      java.lang.NoClassDefFoundError: org/apache/commons/lang/reflect/FieldUtils 
      at org.apache.http.impl.client.xxxxxRemoteClient.createHttpClient(AgilentRemoteClient.java:18) 
      at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:964) 
      at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:931) 
      at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:654) 
      at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:588) 
      at org.springframework.extensions.webscripts.connector.HttpConnector.call(HttpConnector.java:70) 
      at org.springframework.extensions.webscripts.RequestCachingConnector.call(RequestCachingConnector.java:91) 
      at org.springframework.extensions.webscripts.connector.AbstractConnector.call(AbstractConnector.java:116) 
      at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:114) 
      at org.alfresco.web.site.EditionInterceptor.preHandle(EditionInterceptor.java:114) 
      at org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:55) 
      at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134) 
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:928) 
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867) 
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) 
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) 
      at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) 
      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.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:325) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474) 
      at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443) 
      at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at com.agilent.datastore.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:96) 
      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:496) 
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) 
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) 
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) 
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) 
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) 
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) 
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468) 
      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) 
      2018-08-08 18:29:47,826 ERROR [org.alfresco.web.site] [http-nio-80-exec-9] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException 
      java.lang.NullPointerException 
      at java.io.StringReader.<init>(StringReader.java:50) 
      at org.json.JSONTokener.<init>(JSONTokener.java:85) 
      at org.json.JSONObject.<init>(JSONObject.java:319) 
      at org.alfresco.web.site.EditionInfo.<init>(EditionInfo.java:64) 
      at org.alfresco.web.site.EditionInterceptor.preHandle(EditionInterceptor.java:140) 
      at org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:55) 
      at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134) 
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:928) 
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867) 
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) 
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) 
      at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) 
      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.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:325) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474) 
      at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443) 
      at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80) 
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
      at com.agilent.datastore.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:96) 
      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:496) 
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) 
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) 
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) 
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) 
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) 
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) 
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468) 
      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) 
      
      

      Can we change Share 6.0 back to use commons-lang-2.6.jar? The repository is still using commons-lang-2.6.jar so the two applications are not consistent.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  ctan Craig Tan [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel