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

Clement Escoffier closed FELIX-2842.
------------------------------------

    
> NullPointerException in MetadataCollector
> -----------------------------------------
>
>                 Key: FELIX-2842
>                 URL: https://issues.apache.org/jira/browse/FELIX-2842
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0
>         Environment: org.apache.felix_ipojo   1.6.6
> org.apache.felix_ipojo.metadata   1.4.0
> org.apache.felix_main   3.0.4
>            Reporter: philippe durieux
>            Assignee: Clement Escoffier
>            Priority: Minor
>             Fix For: iPOJO-1.8.0
>
>
> When I forget to set @Component, but set @Requires anotations, I got a 
> NullPointerException:
> java.lang.NullPointerException
>    at 
> org.apache.felix.ipojo.manipulation.annotations.MetadataCollector.visitEnd(MetadataCollector.java:215)
>    at org.objectweb.asm.ClassReader.accept(Unknown Source)
>    at org.objectweb.asm.ClassReader.accept(Unknown Source)
>    at 
> org.apache.felix.ipojo.manipulator.Pojoization.computeAnnotations(Pojoization.java:294)
>    at 
> org.apache.felix.ipojo.manipulator.Pojoization.manipulateComponents(Pojoization.java:484)
>    at 
> org.apache.felix.ipojo.manipulator.Pojoization.manipulateJarFile(Pojoization.java:335)
>    at 
> org.apache.felix.ipojo.manipulator.Pojoization.pojoization(Pojoization.java:194)
>    at 
> org.apache.felix.ipojo.plugin.ManipulatorMojo.execute(ManipulatorMojo.java:199)
>  
> ...
> It would be nice to get a more readable error message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to