[ 
https://issues.apache.org/jira/browse/OWB-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg resolved OWB-169.
-------------------------------

    Resolution: Fixed

Fixed by doing the PluginLoader#startUp() in the TestContext constructor 
instead of the init() function.

> PrimitiveProducerTest creates a NullPointerException
> ----------------------------------------------------
>
>                 Key: OWB-169
>                 URL: https://issues.apache.org/jira/browse/OWB-169
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: M3
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M4
>
>
> testPrimitiveProducer(org.apache.webbeans.test.unittests.producer.primitive.PrimitiveProducerTest)
>   Time elapsed: 0.007 sec  <<< ERROR!
> java.lang.NullPointerException
>         at 
> org.apache.webbeans.util.AnnotationUtil.isResourceAnnotation(AnnotationUtil.java:869)
>         at 
> org.apache.webbeans.util.AnnotationUtil.hasResourceAnnotation(AnnotationUtil.java:832)
>         at 
> org.apache.webbeans.util.AnnotationUtil.hasResourceAnnotation(AnnotationUtil.java:91)
>         at 
> org.apache.webbeans.config.DefinitionUtil.defineInternalInjectedMethods(DefinitionUtil.java:943)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to