Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1163646 - Setting "org.jboss.as.jaxrs.enableSpringIntegration" to "true" causes JaxrsSpringProcessor to throw NullPointerException
Setting "org.jboss.as.jaxrs.enableSpringIntegration" to "true" causes JaxrsSp...
Status: VERIFIED
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: RESTEasy (Show other bugs)
6.3.0
All All
medium Severity medium
: ER1
: EAP 6.4.0
Assigned To: Tomas Hofman
Katerina Odabasi
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-13 03:30 EST by Jay SenSharma
Modified: 2015-07-19 21:00 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFLY-4075 Major Resolved Setting "org.jboss.as.jaxrs.enableSpringIntegration" to "true" causes JaxrsSpringProcessor to throw NullPointerException... 2016-06-28 22:28 EDT

  None (edit)
Description Jay SenSharma 2014-11-13 03:30:33 EST
Description of problem:
=======================
When an application containing Spring + Rest Integration is deployed on EAP6 then it causes NullPointerException as following:

++++++++++++++++++++
13:38:53,825 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."RESTfulExample.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."RESTfulExample.war".DEPENDENCIES: JBAS018733: Failed to process phase DEPENDENCIES of deployment "RESTfulExample.war"
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
	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:207)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
	... 5 more
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.NullPointerException
	at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:137)
	at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.deploy(JaxrsSpringProcessor.java:203)
	... 6 more
Caused by: java.lang.NullPointerException
	at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:106)
	... 7 more
++++++++++++++++++++


Version-Release number of selected component (if applicable):

How reproducible: Yes

Steps to Reproduce:
-------------------
1. Install wildfly on a path which includes space.
Example: "/home/jsensharma/some dir/jboss-eap-6.3.0"

*NOTICE:*  There is a space between "some dir" word.

2.  Deploy the application Spring RestEasy integration application to EAP6.3


Actual results:
================== NullPointerException

Caused by: java.lang.NullPointerException
	at org.jboss.as.jaxrs.deployment.JaxrsSpringProcessor.getResteasySpringVirtualFile(JaxrsSpringProcessor.java:106)


Expected results:
==================
Application should have deployed successfully.


Additional info:
Comment 10 Tomas Hofman 2015-01-08 05:49:05 EST
PR: https://github.com/jbossas/jboss-eap/pull/2222
Comment 11 Katerina Odabasi 2015-01-15 04:47:30 EST
Verified in EAP 6.4.0.ER1.

Note You need to log in before you can comment on or make changes to this bug.