[jboss-jira] [JBoss JIRA] Resolved: (AS7-1096) Weld not checking for null keys on bean lookups

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Jun 22 22:40:23 EDT 2011


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

Stuart Douglas resolved AS7-1096.
---------------------------------

    Fix Version/s: 7.0.0.CR1
       Resolution: Done


> Weld not checking for null keys on bean lookups
> -----------------------------------------------
>
>                 Key: AS7-1096
>                 URL: https://issues.jboss.org/browse/AS7-1096
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CDI / Weld
>         Environment: Beta4-SNAPSHOT
>            Reporter: Lincoln Baxter III
>            Assignee: Stuart Douglas
>             Fix For: 7.0.0.CR1
>
>
> https://github.com/LightGuard/seam-example-confbuzz
> Attempt to build and deploy the above sample application to any recent AS7 instance. Weld fails to boot with a NullPointerException.
> {code}
> 11:05:06,820 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."confbuzz-1.0.0-SNAPSHOT.war".component.EjbSynchronizationsDelegate.WeldInstantiator: org.jboss.msc.service.StartException in service jboss.deployment.unit."confbuzz-1.0.0-SNAPSHOT.war".component.EjbSynchronizationsDelegate.WeldInstantiator: Failed to start service
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1736)
> 	at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2302)
> 	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 java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768) [:1.6.0_24]
> 	at org.jboss.weld.manager.BeanManagerImpl.getBean(BeanManagerImpl.java:1209)
> 	at org.jboss.as.weld.injection.WeldManagedReferenceFactory.start(WeldManagedReferenceFactory.java:119)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1715)
> 	... 4 more{code}
> I believe this is a potential bug in the Weld integration, or maybe in Weld itself, but this just shows up on AS7, so not really sure. Starting here.

--
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