Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-994

MessageBundleExtension: NPE on Shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • Core
    • None
    • IBM Websphere

    Description

      java.lang.NullPointerException
      at org.apache.deltaspike.core.impl.message.MessageBundleExtension$MessageBundleLifecycle.destroy(MessageBundleExtension.java:188)
      at org.apache.deltaspike.core.util.bean.ImmutableBean.destroy(ImmutableBean.java:78)
      at org.apache.webbeans.component.third.ThirdpartyBeanImpl.destroy(ThirdpartyBeanImpl.java:97)
      at org.apache.webbeans.context.AbstractContext.destroyInstance(AbstractContext.java:258)
      at org.apache.webbeans.context.AbstractContext.destroy(AbstractContext.java:280)
      at org.apache.webbeans.web.context.WebContextsService.destroyApplicationContext(WebContextsService.java:663)
      at org.apache.webbeans.web.context.WebContextsService.endContext(WebContextsService.java:251)
      at org.apache.webbeans.web.context.WebContextsService.destroy(WebContextsService.java:190)
      at org.apache.webbeans.lifecycle.AbstractLifeCycle.stopApplication(AbstractLifeCycle.java:149)
      at org.apache.webbeans.web.lifecycle.WebContainerLifecycle.stopApplication(WebContainerLifecycle.java:88)
      at com.ibm.ws.webbeans.common.CommonLifeCycle.stopApplication(CommonLifeCycle.java:197)
      at com.ibm.ws.webbeans.services.JCDIWebListener.contextDestroyed(JCDIWebListener.java:87)
      at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextDestroyed(WebApp.java:1748)
      at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:3099)
      at com.ibm.ws.webcontainer.webapp.WebAppImpl.destroy(WebAppImpl.java:1407)
      at com.ibm.ws.container.AbstractContainer.destroy(AbstractContainer.java:75)
      at com.ibm.ws.webcontainer.webapp.WebGroup.destroy(WebGroup.java:228)
      at com.ibm.ws.webcontainer.webapp.WebGroup.removeWebApplication(WebGroup.java:269)
      at com.ibm.ws.webcontainer.VirtualHost.removeWebApplication(VirtualHost.java:296)
      at com.ibm.ws.webcontainer.VirtualHostImpl.removeWebApplication(VirtualHostImpl.java:228)
      at com.ibm.ws.webcontainer.WSWebContainer.removeWebApplication(WSWebContainer.java:971)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.uninstall(WebContainerImpl.java:462)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.stop(WebContainerImpl.java:733)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:1218)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop(DeployedApplicationImpl.java:1386)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.stop(DeployedModuleImpl.java:671)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.stop(DeployedApplicationImpl.java:1160)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication(ApplicationMgrImpl.java:952)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplicationImpl(ApplicationMgrImpl.java:1488)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:2249)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.stop(CompositionUnitMgrImpl.java:446)
      at com.ibm.ws.runtime.component.CompositionUnitImpl.stop(CompositionUnitImpl.java:141)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$2.run(CompositionUnitMgrImpl.java:749)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5474)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5600)
      at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.stopCompositionUnit(CompositionUnitMgrImpl.java:784)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.stopCompositionUnit(CompositionUnitMgrImpl.java:690)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication(ApplicationMgrImpl.java:1465)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
      at java.lang.reflect.Method.invoke(Method.java:620)
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:88)
      at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
      at java.lang.reflect.Method.invoke(Method.java:620)
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:292)
      at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1261)
      at java.security.AccessController.doPrivileged(AccessController.java:390)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:88)
      at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1255)
      at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1093)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:832)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:814)
      at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
      at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)
      at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)
      at com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:247)
      at com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:360)
      at com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink$IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:602)
      at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$QueuedWork.run(SSLReadServiceContext.java:1981)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)

      Attachments

        Activity

          People

            gpetracek Gerhard Petracek
            sstrobl Stefan Strobl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: