NPE is thrown if @LocalBean is used on a WebService
---------------------------------------------------
Key: WFLY-4754
URL:
https://issues.jboss.org/browse/WFLY-4754
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 8.2.0.Final, 9.0.0.CR1
Reporter: Dmitry Lisovsky
Fix For: 10.0.0.Alpha4
If you create a WebService without interface and use @LocalBean on it, during deploy you
get:
(stacktrace for 9 CR1)
{noformat}
15:26:18,439 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001:
Failed to start service
jboss.deployment.subunit."mms.ear"."rvm.jar".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."mms.ear"."rvm.jar".INSTALL: WFLYSRV0153:
Failed to process phase INSTALL of subdeployment "rvm.jar" of deployment
"mms.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024:
Could not configure component ReviewManagerSoapService
at
org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:95)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156)
... 5 more
Caused by: java.lang.NullPointerException
at
org.jboss.as.ejb3.security.EJBSecurityViewConfigurator.handlePermissions(EJBSecurityViewConfigurator.java:215)
at
org.jboss.as.ejb3.security.EJBSecurityViewConfigurator.configure(EJBSecurityViewConfigurator.java:123)
at
org.jboss.as.ee.component.DefaultComponentViewConfigurator.configure(DefaultComponentViewConfigurator.java:67)
at
org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)
... 6 more
{noformat}
The same issue in EAP: JBEAP-66