[jboss-jira] [JBoss JIRA] Closed: (JBAS-5534) NullPointerException while shutting down EmbeddedJBoss

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue May 20 10:20:59 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5534?page=all ]

Ales Justin closed JBAS-5534.
-----------------------------

    Resolution: Rejected

This needs forum discussion first.
Since this is part of Embedded it's also not in appropriate JIRA space - not AS issue, since we don't maintain embedded module at the moment.

btw: I know AspectDeployer had some bugz in Beta3 version, which were fixed


> NullPointerException while shutting down EmbeddedJBoss
> ------------------------------------------------------
>
>                 Key: JBAS-5534
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5534
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployers
>    Affects Versions:  JBossAS-5.0.0.Beta3
>         Environment: EmbeddedJboss Beta3, Windows XP sp2, Java runtime version  1.5.0_10-b03
>            Reporter: Dror Bereznitsky
>         Assigned To: Ales Justin
>
> NullPointerException while shutting down EmbeddedJBoss:
> ERROR AspectDeployer - Error during undeploy: vfsfile:XXXXXXXXXXXXXXXXX/classes/deployers/ejb3-deployers-beans.xml
> java.lang.NullPointerException
> at org.jboss.aop.deployers.AspectDeployer.undeploy(AspectDeployer.java:144)
> at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalUndeploy(AbstractVFSRealDeployer.java:54)
> at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
> at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:187)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1072)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1027)
> at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:333)
> at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1323)
> at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1009)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:627)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:423)
> at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
> at org.jboss.deployers.plugins.main.MainDeployerImpl.shutdown(MainDeployerImpl.java:543)
> at org.jboss.embedded.Bootstrap.shutdown(Bootstrap.java:206)
> This happens because aspectManager is set to null, before undeploying AspectManager.
> While debugging I detected that BeanMetaDataDeployer undeployment process is causing this:
> at org.jboss.aop.deployers.AspectDeployer.setAspectManager(AspectDeployer.java:94)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-1)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
> at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
> at org.jboss.beans.info.plugins.AbstractPropertyInfo.set(AbstractPropertyInfo.java:182)
> at org.jboss.beans.info.plugins.BeanInfoUtil.set(BeanInfoUtil.java:177)
> at org.jboss.beans.info.plugins.AbstractBeanInfo.setProperty(AbstractBeanInfo.java:242)
> at org.jboss.kernel.plugins.dependency.PropertyDispatchWrapper.execute(PropertyDispatchWrapper.java:70)
> at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:108)
> at org.jboss.kernel.plugins.dependency.ConfigureAction.dispatchSetProperty(ConfigureAction.java:108)
> at org.jboss.kernel.plugins.dependency.ConfigureAction.setAttributes(ConfigureAction.java:88)
> at org.jboss.kernel.plugins.dependency.ConfigureAction.uninstallActionInternal(ConfigureAction.java:59)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uninstallAction(KernelControllerContextAction.java:167)
> at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uninstallAction(KernelControllerContextAction.java:46)
> at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79)
> at org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131)
> at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
> at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:333)
> at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1,323)
> at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1,009)
> at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:936)
> at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:463)
> at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:426)
> at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:80)
> at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:42)
> at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:73)
> at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
> at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:187)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1,072)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1,065)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1,027)
> at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:333)
> at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1,323)
> at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1,009)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:627)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:423)
> at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
> at org.jboss.deployers.plugins.main.MainDeployerImpl.shutdown(MainDeployerImpl.java:543)
> at org.jboss.embedded.Bootstrap.shutdown(Bootstrap.java:206)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list