[jboss-jira] [JBoss JIRA] (AS7-3006) Deploy error for ejb2 remote interface which extends other interface
Ondřej Chaloupka (Created) (JIRA)
jira-events at lists.jboss.org
Tue Dec 13 13:20:09 EST 2011
Deploy error for ejb2 remote interface which extends other interface
--------------------------------------------------------------------
Key: AS7-3006
URL: https://issues.jboss.org/browse/AS7-3006
Project: Application Server 7
Issue Type: Bug
Reporter: Ondřej Chaloupka
Assignee: John Bailey
The scenario is following. The interface marked to define remote interface of bean (e.g. by @Remote annotation) extends other interface. This other interface specifies method which bean has to implement and the children interface (mentioned in bean) does not define any method for implementation.
Deployment on container ends up with following exception:
19:09:57,601 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."reference-ejb2-ejb3-a.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."reference-ejb2-ejb3-a.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "reference-ejb2-ejb3-a.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1-SNAPSHOT.jar:]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: java.lang.NullPointerException
at org.jboss.as.ejb3.deployment.processors.EjbIIOPDeploymentUnitProcessor.processEjb(EjbIIOPDeploymentUnitProcessor.java:188)
at org.jboss.as.ejb3.deployment.processors.EjbIIOPDeploymentUnitProcessor.deploy(EjbIIOPDeploymentUnitProcessor.java:133)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1-SNAPSHOT.jar:]
... 5 more
Test could be checked on:
https://github.com/ochaloup/jboss-as/commit/d381c88f78a6b1d52b44d281f6c7370a6b58c8c0
--
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
More information about the jboss-jira
mailing list