-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.4.CR2
-
None
For 4.0.4.CR2 a set of aspects were added to session replication, and packaged together with the old tc5-cluster-service.xml file in a new tc5-cluster.sar. On shutdown, undeployment of the aspects causes a NPE in the AspectDeployer.
Here is the structure of the sar
tc5-cluster.sar
- META-INF
- jboss-service.xml (the old tc5-cluster-service.xml file
- tc5-cluster.aop (the aspects, packaged in a jar)
On undeploy, the following occurs:
2006-03-24 22:17:24,151 DEBUG [org.jboss.deployment.MainDeployer] Undeployed file:/C:/dev/jboss/jboss-4.0/build/output/jboss-4.0.4.CR2/server/node0/deploy/tc5-cluster.sar/
2006-03-24 22:17:24,151 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/C:/dev/jboss/jboss-4.0/build/output/jboss-4.0.4.CR2/server/node0/deploy/tc5-cluster.sar/tc5-cluster.aop
2006-03-24 22:17:24,151 DEBUG [org.jboss.aop.deployment.AspectDeployer] undeploying document file:/C:/dev/jboss/jboss-4.0/build/output/jboss-4.0.4.CR2/server/node0/deploy/tc5-cluster.sar/tc5-cluster.aop
2006-03-24 22:17:24,151 ERROR [org.jboss.aop.deployment.AspectDeployer] failed to stop
java.lang.NullPointerException
at org.jboss.aop.deployment.AspectDeployer.getDocUrl(AspectDeployer.java:136)
at org.jboss.aop.deployment.AspectDeployer.stop(AspectDeployer.java:211)
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 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:324)
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:260)
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)
2006-03-24 22:17:24,151 DEBUG [org.jboss.deployment.DeploymentInfo] Not deleting localUrl, it is null or not a copy: null