Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7724

NPE when restarting application from cms admin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.2.0
    • 4.0M10
    • Administration
    • None

      The following exception occurs sometimes when saving cms general settings from admin.

      2016-10-27 11:08:26,033 ERROR [org.ametys.runtime.servlet.RuntimeServlet] (http-nio-8080-exec-6;/_admin/plugins/admin/config/set) Error while reloading Ametys. Entering in error mode.
      java.lang.NullPointerException
              at org.ametys.plugins.repository.AmetysObjectResolver._getJCRFactory(AmetysObjectResolver.java:471)
              at org.ametys.plugins.repository.AmetysObjectResolver._resolve(AmetysObjectResolver.java:439)
              at org.ametys.plugins.repository.AmetysObjectResolver.resolveByPath(AmetysObjectResolver.java:270)
              at org.ametys.web.Init.init(Init.java:62)
              at org.ametys.runtime.servlet.RuntimeServlet._initPlugins(RuntimeServlet.java:368)
              at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:306)
              at org.ametys.runtime.servlet.RuntimeServlet.restartCocoon(RuntimeServlet.java:620)
              at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:583)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      

            Unassigned Unassigned
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: