Ondrej Zizka created FORGE-2387:
-----------------------------------
Summary: NPE in Furnace Annotations.getAnnotation()
Key: FORGE-2387
URL:
https://issues.jboss.org/browse/FORGE-2387
Project: Forge
Issue Type: Feature Request
Environment: My dev commit f397ea646
Reporter: Ondrej Zizka
Annotations.getAnnotation, under some condition, doesn't check the input and throws a
NPE. Looks like it happens when there's no declaring class for an annotation type (not
sure how that can happen).
java.lang.NullPointerException: null
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:191)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:156)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:134)
at org.jboss.forge.furnace.util.Annotations.getAnnotation(Annotations.java:107)
at
org.jboss.windup.graph.GraphContextImpl.initializeTitanIndexes(GraphContextImpl.java:168)
at org.jboss.windup.graph.GraphContextImpl.create(GraphContextImpl.java:78)
at org.jboss.windup.graph.GraphContextFactoryImpl.create(GraphContextFactoryImpl.java:46)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)