[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-2052) NPE at shutdown

Chris Laprun (JIRA) jira-events at lists.jboss.org
Thu Aug 25 09:02:17 EDT 2011


NPE at shutdown
---------------

                 Key: GTNPORTAL-2052
                 URL: https://issues.jboss.org/browse/GTNPORTAL-2052
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.2.0-M01
            Reporter: Chris Laprun
             Fix For: 3.2.0-M02


15:00:10,569 WARN  [JMXManagementProvider] Could not unregister the MBean exo:portal="portal",service=resource
javax.management.MBeanRegistrationException: preDeregister
	at org.jboss.mx.server.registry.BasicMBeanRegistry.unregisterMBean(BasicMBeanRegistry.java:473)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
	at org.jboss.mx.server.MBeanServerImpl$1.run(MBeanServerImpl.java:400)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:395)
	at org.exoplatform.management.jmx.impl.JMXManagementProvider$3.run(JMXManagementProvider.java:203)
	at org.exoplatform.management.jmx.impl.JMXManagementProvider$3.run(JMXManagementProvider.java:200)
	at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:309)
	at org.exoplatform.management.jmx.impl.JMXManagementProvider.unmanage(JMXManagementProvider.java:199)
	at org.exoplatform.container.management.ManagementContextImpl.unregisterAll(ManagementContextImpl.java:271)
	at org.exoplatform.container.management.ManageableContainer.stop(ManageableContainer.java:260)
	at org.exoplatform.container.ExoContainer.stop(ExoContainer.java:281)
	at org.exoplatform.container.PortalContainer.stop(PortalContainer.java:674)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100)
	at org.exoplatform.container.LifecycleVisitor.stop(LifecycleVisitor.java:179)
	at org.exoplatform.container.ConcurrentPicoContainer.stop(ConcurrentPicoContainer.java:567)
	at org.exoplatform.container.management.ManageableContainer.stop(ManageableContainer.java:262)
	at org.exoplatform.container.ExoContainer.stop(ExoContainer.java:281)
	at org.exoplatform.container.RootContainer.stop(RootContainer.java:728)
	at org.exoplatform.container.RootContainer$ShutdownThread.run(RootContainer.java:721)
Caused by: java.lang.NullPointerException
	at org.exoplatform.portal.resource.compressor.impl.ResourceCompressorService.setContext(ResourceCompressorService.java:159)
	at org.exoplatform.management.jmx.impl.ExoModelMBean.preDeregister(ExoModelMBean.java:126)
	at org.jboss.mx.server.RawDynamicInvoker.preDeregister(RawDynamicInvoker.java:273)
	at org.jboss.mx.server.registry.BasicMBeanRegistry.handlePreDeregister(BasicMBeanRegistry.java:431)
	at org.jboss.mx.server.registry.BasicMBeanRegistry.unregisterMBean(BasicMBeanRegistry.java:464)
	... 33 more


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list