[weld-issues] [JBoss JIRA] Assigned: (WELD-924) Weld not checking for null keys on bean lookups

Ales Justin (JIRA) jira-events at lists.jboss.org
Wed Jun 22 15:40:23 EDT 2011


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

Ales Justin reassigned WELD-924:
--------------------------------

    Assignee: Stuart Douglas


> Weld not checking for null keys on bean lookups
> -----------------------------------------------
>
>                 Key: WELD-924
>                 URL: https://issues.jboss.org/browse/WELD-924
>             Project: Weld
>          Issue Type: Bug
>          Components: Resolution (Typesafe and by Name)
>         Environment: Beta4-SNAPSHOT
>            Reporter: Lincoln Baxter III
>            Assignee: Stuart Douglas
>
> 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 weld-issues mailing list