[jboss-jira] [JBoss JIRA] Commented: (JBAS-8434) Beans which are java.lang classes fail to deploy

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Tue Sep 21 08:57:29 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12552028#action_12552028 ] 

Flavia Rainone commented on JBAS-8434:
--------------------------------------

Thanks for the insight, Ales!

> Beans which are java.lang classes fail to deploy
> ------------------------------------------------
>
>                 Key: JBAS-8434
>                 URL: https://jira.jboss.org/browse/JBAS-8434
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Weld/CDI
>            Reporter: Marius Bogoevici
>            Assignee: Flavia Rainone
>            Priority: Critical
>             Fix For: 6.0.0.CR1
>
>         Attachments: org.jboss.jsr299.tck.tests.definition.bean.custom.CustomBeanImplementationTest.war
>
>
> This causes the web TCK to fail:
> http://hudson.qa.jboss.com/hudson/view/TCK6-WEB/job/tck6-cdi_web-profile/lastCompletedBuild/testReport/
> The relevant stacktrace is:
> java.lang.NullPointerException
>         at org.jboss.weld.integration.deployer.env.bda.ArchiveLoader.load(ArchiveLoader.java:74)
>         at org.jboss.weld.integration.deployer.env.bda.DeploymentImpl.loadBeanDeploymentArchive(DeploymentImpl.java:117)
>         at org.jboss.weld.util.DeploymentStructures.getOrCreateBeanDeployment(DeploymentStructures.java:36)
>         at org.jboss.weld.bootstrap.events.AbstractBeanDiscoveryEvent.getOrCreateBeanDeployment(AbstractBeanDiscoveryEvent.java:71)
>         at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.addBean(AfterBeanDiscoveryImpl.java:61)
>         at org.jboss.jsr299.tck.tests.definition.bean.custom.IntegerBean.afterDiscovery(IntegerBean.java:178)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
>         at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:94)
> Essentially, the bean is a java.lang.Integer and may have a null classloader.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list