[jboss-jira] [JBoss JIRA] Assigned: (JBAS-9261) AS7: "IllegalArgumentException: key is null" on deploy

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Apr 15 02:39:33 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-9261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai reassigned JBAS-9261:
----------------------------------

    Assignee: jaikiran pai


> AS7: "IllegalArgumentException: key is null" on deploy
> ------------------------------------------------------
>
>                 Key: JBAS-9261
>                 URL: https://issues.jboss.org/browse/JBAS-9261
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 7.0.0.Beta2
>            Reporter: Wolfgang Knauf
>            Assignee: jaikiran pai
>            Priority: Blocker
>             Fix For: 7.0.0.Beta3
>
>
> I have a small JavaEE5 sample app, which consists of a stateless bean, a web client project (servlet + jsp) and an app client app, all bundled to an EAR file. There are no annotations, just deployment descriptors. The app worked fine on AS5.
> I copy it to the "standalone\deployed" folder of a JBoss pulled from GIT and built yesterday (2011-04-06). It fails with this error:
>  
> 23:12:28,258 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."Stateless.ear"."StatelessWeb.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."Stateless.ear"."StatelessWeb.war".INSTALL: Failed to process phase INSTALL of subdeployment "StatelessWeb.war" of deployment "Stateless.ear"
>     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
>     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
>     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:662) [:1.6.0_24]
> Caused by: java.lang.IllegalArgumentException: key is null
>     at org.jboss.msc.service.UnlockedReadHashMap.put(UnlockedReadHashMap.java:230)
>     at org.jboss.msc.service.ServiceContainerImpl.getOrCreateRegistration(ServiceContainerImpl.java:431)
>     at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:499)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:188)
>     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:1808)
>     at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:310)
>     at org.jboss.as.ee.component.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:83)
>     at org.jboss.as.ee.component.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:51)
>     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
>     ... 4 more
> The sample can be found here: http://www.cs.hs-rm.de/~knauf/KomponentenArchitekturen2008/stateless/StatelessNoAnnotation.ear
> (rename EAR file to "Stateless.ear" before deploying)
> The same sample, which uses annotations instead of deployment descriptors, deploys without errors (http://www.cs.hs-rm.de/~knauf/KomponentenArchitekturen2008/stateless/Stateless.ear).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list