felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "philippe durieux (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2842) NullPointerException in MetadataCollector
Date Tue, 15 Feb 2011 17:59:58 GMT
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
            Priority: Minor


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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message