Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2355

WeldInitialListener throws NPE on Tomcat when there is no bean archive found

XMLWordPrintable

       
      24-Mar-2017 08:32:58.826 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class org.jboss.weld.environment.servlet.Listener
       java.lang.NullPointerException
              at org.jboss.weld.module.web.servlet.WeldInitialListener.contextDestroyed(WeldInitialListener.java:119)
              at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextDestroyed(ForwardingServletListener.java:30)
              at org.jboss.weld.environment.servlet.Listener.contextDestroyed(Listener.java:122)
              at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4858)
              at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5474)
              at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:224)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:159)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

              mkouba@redhat.com Martin Kouba
              tremes1@redhat.com Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: