GCC Bugzilla has been upgraded from version 4.4.9 to 5.0rc3. If you see any problem, please report it to bug 64968.
Bug 28552 - RMI NPE on JBoss-4.0.4 shutdown
Summary: RMI NPE on JBoss-4.0.4 shutdown
Status: ASSIGNED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: 0.92
: P3 normal
Target Milestone: ---
Assignee: Andrew John Hughes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 17:17 UTC by Christian Thalinger
Modified: 2008-03-06 16:38 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2008-03-06 16:38:16


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Thalinger 2006-07-31 17:17:22 UTC
When running JBoss-4.0.4 with current CVS head, which is mostly like upcoming 0.92 release, I get a NPE during shutdown:

19:16:45,755 WARN  [JRMPInvoker] Stopping failed jboss:service=invoker,type=jrmp
java.lang.NullPointerException
   at java.rmi.server.UnicastRemoteObject.unexportObject(UnicastRemoteObject.java:240)
   at org.jboss.invocation.jrmp.server.JRMPInvoker.unexportCI(JRMPInvoker.java:457)
   at org.jboss.invocation.jrmp.server.JRMPInvoker.stopService(JRMPInvoker.java:386)
   at org.jboss.invocation.jrmp.server.JRMPInvoker$1.stopService(JRMPInvoker.java:154)
   at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
   at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
   at org.jboss.invocation.jrmp.server.JRMPInvoker.jbossInternalLifecycle(JRMPInvoker.java:645)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:355)
   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
   at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
   at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
   at $Proxy0.stop(Unknown Source)
   at org.jboss.system.ServiceController.stop(ServiceController.java:508)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:355)
   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
   at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
   at $Proxy4.stop(Unknown Source)
   at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:336)
   at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:658)
   at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:631)
   at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:510)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:355)
   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
   at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
   at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
   at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1050)
   at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1025)
   at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:988)
   at java.lang.VMThread.run(VMThread.java:120)

19:16:45,838 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM
Comment 1 patchapp@dberlin.org 2006-08-26 14:46:02 UTC
Subject: Bug number PR c++/28552

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00952.html
Comment 2 Paul Jenner 2006-08-27 18:43:44 UTC
Previous comment should have been for bug PR 28852. Not related to this bug.
Comment 3 Andrew John Hughes 2008-03-06 16:38:16 UTC
Taking this one.