org.apache.catalina.core.StandardHostValve.customException Processing ErrorPage[errorCode=500, locat

来源:互联网 发布:8选1数据选择器74ls151 编辑:程序博客网 时间:2024/05/31 19:53

Confluence Wiki启动报错:

05-Sep-2016 03:28:41.105 SEVERE[http-nio-8090-exec-1] org.apache.catalina.core.StandardHostValve.customException Processing ErrorPage[errorCode=500, location=/500page.jsp]

 com.atlassian.util.concurrent.LazyReference$InitializationException:java.lang.NullPointerException

atcom.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

atcom.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)

atcom.atlassian.confluence.plugin.servlet.filter.ServletFilterModuleContainerFilter.getServletModuleManager(ServletFilterModuleContainerFilter.java:23)

atcom.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:68)

atcom.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)

atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

atcom.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50)

atcom.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)

atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

atorg.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)

atorg.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468)

atorg.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)

atorg.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)

atorg.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:439)

atorg.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:305)

atorg.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:399)

atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)

atorg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)

atorg.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)

atorg.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)

atorg.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)

atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

atorg.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NullPointerException

atcom.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)

atcom.atlassian.confluence.util.LazyComponentReference$Accessor.get(LazyComponentReference.java:46)

atcom.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:85)

atcom.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321)

atcom.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)

... 29 more

 

NullPointerException atcom.atlassian.spring.container.ContainerManager.getComponent()

 

Nils Bier Last update:Apr 13, 2016

Problem

In some situationsyour Confluence system doesn't start anymore with the following error in thelogs:

java.lang.NullPointerException
        atcom.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
        at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getPluginAccessor(PluginDecoratorMapper.java:74)
        atcom.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:23)
        atcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45)
        atcom.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41)
        atcom.atlassian.confluence.util.profiling.ConfluenceDecoratorSelector.selectDecorator(ConfluenceDecoratorSelector.java:59)
        atcom.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:83)
        ...

Environment

  • All Scroll add ons
  • All versions

Resolution

This might haveseveral reasons. As this NullPointers are generic, we can't check if theproblem is related to one of our products.

To further analyze the problem please perform thefollowing steps to clean the plugin cache

  1. Shutdown your Confluence system.
  2. Delete the content from the following folders:

Usuallythere shouldn't be any problems with lost data, as these folders containtemporary files. Nevertheless you could copy the folders to be on the safe sidebefore deleting them.

  • <confluence-home>/plugins-cache
  • <confluence-home>/plugins-osgi-cache
  • <confluence-home>/plugins-temp
  • <confluence-home>/bundled-plugins
  • <confluence-home>/bundled-plugins_language
    This will clean the plugin-cache of your system.
  1. Start your Confluence-system again and see if it works afterwards.

Cause

This might haveseveral reasons. As this NullPointers are generic, we can't check if theproblem is related to one of our products.

 

来自 <https://help.k15t.com/nullpointerexception-at-com-atlassian-spring-container-containermanager-getcomponent-111903705.html>

0 0
原创粉丝点击