]
George Gastaldi moved FORGE-2387 to FURNACE-59:
-----------------------------------------------
Project: Forge: Furnace (was: Forge)
Key: FURNACE-59 (was: FORGE-2387)
Issue Type: Bug (was: Feature Request)
NPE in Furnace Annotations.getAnnotation()
------------------------------------------
Key: FURNACE-59
URL:
https://issues.jboss.org/browse/FURNACE-59
Project: Forge: Furnace
Issue Type: Bug
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)