[jboss-jira] [JBoss JIRA] (AS7-6495) NullPointerException in InterceptorAnnotationProcessor during dependency service redeployment

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Mon Mar 25 21:24:41 EDT 2013


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

Stuart Douglas resolved AS7-6495.
---------------------------------

    Fix Version/s: 8.0.0.Alpha1
       Resolution: Done


The dependee will now do a complete restart, avoiding this problem
                
> NullPointerException in InterceptorAnnotationProcessor during dependency service redeployment
> ---------------------------------------------------------------------------------------------
>
>                 Key: AS7-6495
>                 URL: https://issues.jboss.org/browse/AS7-6495
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Class Loading
>    Affects Versions: 7.1.1.Final
>         Environment: Ubuntu 12.10 AMD64
> java version "1.7.0_09"
> OpenJDK Runtime Environment (IcedTea7 2.3.4) (7u9-2.3.4-0ubuntu1.12.10.1)
> OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
> JBoss AS 7.1.1 + SwitchYard 0.7.0 Bundle
>            Reporter: Patrik Kullman
>            Assignee: Stuart Douglas
>              Labels: deployment, nullpointerexception, redeployment
>             Fix For: 8.0.0.Alpha1
>
>
> If I create a deployment (a.jar) and then a second deployment (b.jar) which depends on it (deployment.a.jar in the dependencies part of the manifest), deploy them both and then re-deploy a.jar, I get:
> 16:37:13,458 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."b.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."b.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "b.jar"
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
> 	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
> Caused by: java.lang.NullPointerException
> 	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:43)
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
> 	... 5 more
> Everything else works - they deploy fine, in the right order, on startup or first deployment. Re-deploying b.jar after this error also makes b.jar deploy.
> However, a key point of the hot-deploy feature for us is to have dependency redeployment work properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list