You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "philippe durieux (JIRA)" <ji...@apache.org> on 2011/02/15 18:59:58 UTC
[jira] Created: (FELIX-2842) NullPointerException in
MetadataCollector
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
[jira] Assigned: (FELIX-2842) NullPointerException in
MetadataCollector
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier reassigned FELIX-2842:
----------------------------------------
Assignee: Clement Escoffier
> 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
>
> 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
[jira] Resolved: (FELIX-2842) NullPointerException in
MetadataCollector
Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clement Escoffier resolved FELIX-2842.
--------------------------------------
Resolution: Duplicate
Fix Version/s: iPOJO-1.8.0
Hi,
It's already fixed in the 1.8.0.
(issue FELIX-2487)
Regards,
Clement
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira