[jboss-as7-dev] FYI, something amiss in OSGiXServiceParseProcessor

David Bosschaert david at redhat.com
Fri Jun 3 16:03:50 EDT 2011


Thanks Scott!

I've created https://issues.jboss.org/browse/AS7-945

David

----- Original Message -----
> From: "Scott Stark" <sstark at redhat.com>
> To: jboss-as7-dev at lists.jboss.org
> Sent: Friday, 3 June, 2011 8:00:25 PM
> Subject: [jboss-as7-dev] FYI, something amiss in OSGiXServiceParseProcessor
> I'm seeing this NPE when trying to deploy a resteasy war that only
> contains a couple of the json related jars, apparently because the
> jettison-1.2.jar include some osgi bundle attributes.
> 
> [198](ironmaiden:deployments) > ls agent-1.0.war/WEB-INF/lib/
> jettison-1.2.jar resteasy-jettison-provider-2.2-RC-1.jar
> 
> 
> [217](ironmaiden:deployments) > java DumpManifest
> agent-1.0.war/WEB-INF/lib/resteasy-jettison-provider-2.2-RC-1.jar
> Build-Jdk: 1.6.0_24
> Built-By: billburke
> Manifest-Version: 1.0
> Created-By: Apache Maven
> Archiver-Version: Plexus Archiver
> 
> [218](ironmaiden:deployments) > java DumpManifest
> agent-1.0.war/WEB-INF/lib/jettison-1.2.jar
> Export-Package:
> org.codehaus.jettison.util;version=1.2,org.codehaus.jettison.badgerfish;uses:="org.codehaus.jettison.util,javax.xml.stream,org.codehaus.jettison.json,org.codehaus.jettison,javax.xml.namespace";version=1.2,org.codehaus.jettison.mapped;uses:="org.codehaus.jettison.util,javax.xml.stream,org.codehaus.jettison.json,org.codehaus.jettison,javax.xml.namespace";version=1.2,org.codehaus.jettison.json;version=1.2,org.codehaus.jettison;uses:="org.codehaus.jettison.json,javax.xml.parsers,javax.xml.transform.dom,javax.xml.stream.events,org.w3c.dom,javax.xml.namespace,org.codehaus.jettison.util,javax.xml.stream,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.stream";version=1.2
> Private-Package: !*
> Implementation-Title: Jettison
> Implementation-Version: 1.2
> Manifest-Version: 1.0
> Tool: Bnd-0.0.160
> Bundle-Name: jettison
> Created-By: 1.6.0_17 (Apple Inc.)
> Bundle-Version: 1.2
> Bnd-LastModified: 1263724814999
> Bundle-ManifestVersion: 2
> Bundle-Description: A StAX implementation for JSON.
> Bundle-SymbolicName: org.codehaus.jettison.jettison
> Include-Resource: src/main/resources
> Import-Package:
> javax.xml.namespace,javax.xml.parsers,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,org.codehaus.jettison;version=1.2,org.codehaus.jettison.badgerfish;version=1.2,org.codehaus.jettison.json;version=1.2,org.codehaus.jettison.mapped;version=1.2,org.codehaus.jettison.util;version=1.2,org.w3c.dom
> 
> 
> 11:50:01,783 ERROR [org.jboss.msc.service.fail] (MSC service thread
> 1-3)
> MSC00001: Failed to start service
> jboss.deployment.unit."agent-1.0.war".PARSE:
> org.jboss.msc.service.StartException in service
> jboss.deployment.unit."agent-1.0.war".PARSE: Failed to process phase
> PARSE of deployment "agent-1.0.war"
> at
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
> [jboss-as-server-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
> [jboss-msc-1.0.0.Beta8.jar:1.0.0.Beta8]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [:1.6.0_24]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [:1.6.0_24]
> at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
> Caused by: java.lang.NullPointerException
> at
> org.jboss.as.osgi.deployment.OSGiXServiceParseProcessor.deploy(OSGiXServiceParseProcessor.java:55)
> at
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
> [jboss-as-server-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
> ... 4 more
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


More information about the jboss-as7-dev mailing list