[jboss-jira] [JBoss JIRA] Updated: (JBAS-8817) Service POJO deployment throws NullPointerException

Vlastimil Menčík (JIRA) jira-events at lists.jboss.org
Mon Jun 27 10:40:23 EDT 2011


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

Vlastimil Menčík updated JBAS-8817:
-----------------------------------

    Attachment: arquillian-tests.zip


Attached Arquillian two tests to reproduce the issue:

- ServiceDeploymentWithoutCDITest succeeds
- ServiceDeploymentWithCDITest fails

> Service POJO deployment throws NullPointerException
> ---------------------------------------------------
>
>                 Key: JBAS-8817
>                 URL: https://issues.jboss.org/browse/JBAS-8817
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployers, Weld/CDI
>    Affects Versions: 6.0.0.CR1
>         Environment: RedHat Linux 5.5
>            Reporter: Devinder Singh
>            Assignee: Marius Bogoevici
>              Labels: jbas
>             Fix For: No Release
>
>         Attachments: arquillian-tests.zip, CoolSystemInitService.java, ICoolSystemInit.java
>
>
> I have a very simple test service POJO that I'm trying to deploy to JBoss AS 6 on Linux. But it's failing with below exception:
> Java code for the test can be obtained from the forum link: http://community.jboss.org/message/581413
> 14:42:21,599 ERROR [AbstractKernelController] Error installing to Create: name=jboss.j2ee:ear=foliage.ear,jar=foliageEJB.jar,name=CoolSystemInitService,service=EJB3 state=Configured: java.lang.NullPointerException
>         at org.jboss.weld.integration.instantiator.Jsr299BeanInstantiator.locateWeldManager(Jsr299BeanInstantiator.java:102) [:6.0.0.20101110-CR1]
>         at org.jboss.weld.integration.instantiator.Jsr299BeanInstantiator.getWeldManager(Jsr299BeanInstantiator.java:93) [:6.0.0.20101110-CR1]
>         at org.jboss.weld.integration.instantiator.Jsr299BeanInstantiator.create(Jsr299BeanInstantiator.java:72) [:6.0.0.20101110-CR1]
>         at org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:997) [:1.6.3]
>         at org.jboss.ejb3.service.ServiceContainer.create(ServiceContainer.java:205) [:1.6.3]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]
>         at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
>         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.Alpha9]
>         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.Alpha9]

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