]
Tomas Hofman reassigned WFLY-4075:
----------------------------------
Assignee: Tomas Hofman (was: Tomaz Cerar)
Setting "org.jboss.as.jaxrs.enableSpringIntegration" to
"true" causes JaxrsSpringProcessor to throw NullPointerException
-------------------------------------------------------------------------------------------------------------------------
Key: WFLY-4075
URL:
https://issues.jboss.org/browse/WFLY-4075
Project: WildFly
Issue Type: Bug
Components: REST, VFS
Affects Versions: 9.0.0.Alpha1
Reporter: Jay Kumar SenSharma
Assignee: Tomas Hofman
Attachments: WFLY-4075_Reproducer_And_Log.zip
- When an application containing Spring + Rest Integration is deployed on Wildfly then it
causes NullPointerException as following:
{code}
13:43:19,830 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027:
Starting deployment of "RESTfulExample.war" (runtime-name:
"RESTfulExample.war")
13:43:20,313 ERROR [org.wildfly.extension.undertow] (MSC service thread 1-4) Could not
find tld /WEB-INF/tld/spring-form.tld
13:43:20,313 ERROR [org.wildfly.extension.undertow] (MSC service thread 1-4) Could not
find tld /WEB-INF/tld/spring.tld
13:43:20,370 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001:
Failed to start service jboss.deployment.unit."RESTfulExample.war".DEPENDENCIES:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."RESTfulExample.war".DEPENDENCIES: WFLYSRV0153: Failed to
process phase DEPENDENCIES of deployment "RESTfulExample.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163)
[wildfly-server-1.0.0.Alpha8.jar:1.0.0.Alpha8]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
org.jboss.as.server.deployment.DeploymentUnitProcessingException:
java.lang.NullPointerException
at
org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:203)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156)
[wildfly-server-1.0.0.Alpha8.jar:1.0.0.Alpha8]
... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
java.lang.NullPointerException
at
org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:133)
at
org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:199)
... 6 more
Caused by: java.lang.NullPointerException
at
org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:103)
... 7 more
13:43:20,374 ERROR [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed -
address: ([("deployment" => "RESTfulExample.war")]) - failure
description: {"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"RESTfulExample.war\".DEPENDENCIES" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"RESTfulExample.war\".DEPENDENCIES: WFLYSRV0153: Failed
to process phase DEPENDENCIES of deployment \"RESTfulExample.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
org.jboss.as.server.deployment.DeploymentUnitProcessingException:
java.lang.NullPointerException
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
java.lang.NullPointerException
Caused by: java.lang.NullPointerException"}}
{code}