[
https://issues.jboss.org/browse/AS7-5037?page=com.atlassian.jira.plugin.s...
]
Manoj Agarwal updated AS7-5037:
-------------------------------
Attachment: xyz-startup-bean-3.0.0-SNAPSHOT.jar
Issue while deploying EJB 3.1 with JBoss AS 7.2.0 Alpha1
--------------------------------------------------------
Key: AS7-5037
URL:
https://issues.jboss.org/browse/AS7-5037
Project: Application Server 7
Issue Type: Bug
Reporter: Manoj Agarwal
Attachments: startup-bean-3.0.0-SNAPSHOT.jar,
xyz-startup-bean-3.0.0-SNAPSHOT.jar
I am trying to deploy a bean with annotations @Singleton and @Startup. I packaged it as
a jar and put it under standalone/deployments.
I get this error while starting server. Jar is attached.
11:35:22,844 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed
to start service
jboss.deployment.unit."xyz-startup-bean-3.0.0-SNAPSHOT.jar".POST_MODULE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."xyz-startup-bean-3.0.0-SNAPSHOT.jar".POST_MODULE: Failed
to process phase POST_MODULE of deployment
"xyz-startup-bean-3.0.0-SNAPSHOT.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_02]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_02]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_02]
Caused by: java.lang.NullPointerException
at
org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:53)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:63)
at
org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira