[jboss-jira] [JBoss JIRA] Closed: (JBAOP-724) NPE in AOPClassLoaderInitializer if Module attachment cannot be found in deploymentunit or its parents

Kabir Khan (JIRA) jira-events at lists.jboss.org
Mon Apr 27 11:24:47 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAOP-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan closed JBAOP-724.
----------------------------

    Resolution: Done


> NPE in AOPClassLoaderInitializer if Module attachment cannot be found in deploymentunit or its parents
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JBAOP-724
>                 URL: https://jira.jboss.org/jira/browse/JBAOP-724
>             Project: JBoss AOP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.1.0.GA
>            Reporter: Kabir Khan
>            Assignee: Kabir Khan
>             Fix For: 2.1.1.GA, 2.2.0.GA
>
>
> On 27 Apr 2009, at 15:50, Jesper Pedersen wrote:
> 10:50:06,629 ERROR [AbstractKernelController] Error installing to ClassLoader: 
> name=vfsfile:/home/jews/JBoss/Connector/JBJCA/jboss-jca/trunk/target/standalone/server/jca/deploy/jca-jboss-beans.xml 
> state=Describe mode=Manual requiredState=ClassLoader
> org.jboss.deployers.spi.DeploymentException: Error during deploy: 
> vfsfile:/home/jews/JBoss/Connector/JBJCA/jboss-jca/trunk/target/standalone/server/jca/deploy/jca-jboss-beans.xml
>        at 
> org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
>        at 
> org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
>        at 
> org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
>        at 
> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
>        at 
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
>        at 
> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
>        at 
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
>        at 
> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
>        at 
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
>        at 
> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
>        at 
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
>        at 
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
>        at 
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
>        at 
> org.jboss.deployers.plugins.main.MainDeployerImpl.deploy(MainDeployerImpl.java:552)
>        at 
> org.jboss.jca.deployers.hack.MainDeployer.deploy(MainDeployer.java:148)
>        at 
> org.jboss.jca.deployers.hack.MainDeployer.start(MainDeployer.java:119)
>        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:585)
>        at org.jboss.jca.standalone.Main.boot(Main.java:133)
>        at org.jboss.jca.standalone.Main.access$100(Main.java:43)
>        at org.jboss.jca.standalone.Main$1.run(Main.java:234)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
>        at 
> org.jboss.aop.asintegration.jboss5.AOPClassLoaderInitializer.getModuleRecursively(AOPClassLoaderInitializer.java:89)
>        at 
> org.jboss.aop.asintegration.jboss5.AOPClassLoaderInitializer.getModuleRecursively(AOPClassLoaderInitializer.java:92)
>        at 
> org.jboss.aop.asintegration.jboss5.AOPClassLoaderInitializer.registerLoaders(AOPClassLoaderInitializer.java:69)
>        at 
> org.jboss.aop.asintegration.jboss5.AOPClassLoaderInitializer.initializeForUnit(AOPClassLoaderInitializer.java:41)
>        at 
> org.jboss.aop.asintegration.jboss5.AOPClassLoaderDeployer.internalDeploy(AOPClassLoaderDeployer.java:65)
>        at 
> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
>        at 
> org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
>        ... 22 more
> java.lang.reflect.InvocationTargetException
>        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:585)
>        at org.jboss.jca.standalone.Main.boot(Main.java:133)
>        at org.jboss.jca.standalone.Main.access$100(Main.java:43)
>        at org.jboss.jca.standalone.Main$1.run(Main.java:234)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: 
> Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> *** DEPLOYMENTS MISSING DEPLOYERS: Name
> vfsfile:/home/jews/JBoss/Connector/JBJCA/jboss-jca/trunk/target/standalone/server/jca/deploy/jca-jboss-beans.xml
> *** DEPLOYMENTS IN ERROR: Name -> Error
> vfsfile:/home/jews/JBoss/Connector/JBJCA/jboss-jca/trunk/target/standalone/server/jca/deploy/jca-jboss-beans.xml -> 
> org.jboss.deployers.spi.DeploymentException: Error during deploy: 
> vfsfile:/home/jews/JBoss/Connector/JBJCA/jboss-jca/trunk/target/standalone/server/jca/deploy/jca-jboss-beans.xml
> DEPLOYMENTS IN ERROR:
> Deployment "vfsfile:/home/jews/JBoss/Connector/JBJCA/jboss-jca/trunk/target/standalone/server/jca/deploy/jca-jboss-beans.xml" 
> is in error due to the following reason(s): java.lang.NullPointerException
>        at 
> org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
>        at 
> org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
>        at 
> org.jboss.deployers.plugins.main.MainDeployerImpl.deploy(MainDeployerImpl.java:565)
>        at 
> org.jboss.jca.deployers.hack.MainDeployer.deploy(MainDeployer.java:148)
>        at 
> org.jboss.jca.deployers.hack.MainDeployer.start(MainDeployer.java:119)
>        ... 8 more

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

        



More information about the jboss-jira mailing list