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

Devinder Singh (JIRA) jira-events at lists.jboss.org
Tue Jan 18 15:06:49 EST 2011


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

Devinder Singh commented on JBAS-8817:
--------------------------------------

Also attached the files

> Service POJO deployment throws NullPointerException
> ---------------------------------------------------
>
>                 Key: JBAS-8817
>                 URL: https://issues.jboss.org/browse/JBAS-8817
>             Project: JBoss Application Server
>          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: Ales Justin
>              Labels: jbas
>         Attachments: 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