Description
The NetUI annotation processor will through a NullPointerException in UniqueValueType.checkForDuplicates() when the forward is empty in an @Jpf.ExceptionHandler method.
I will attach a page flow Controller to use to reproduce and/or test.
Here's the stack trace...
java.lang.NullPointerException
at
org.apache.beehive.netui.compiler.grammar.UniqueValueType.checkForDuplicates(UniqueValueType.java:133)
at
org.apache.beehive.netui.compiler.grammar.UniqueValueType.onCheck(UniqueValueType.java:107)
at
org.apache.beehive.netui.compiler.AnnotationMemberType.check(AnnotationMemberType.java:69)
at
org.apache.beehive.netui.compiler.AnnotationGrammar.check(AnnotationGrammar.java:154)
at
org.apache.beehive.netui.compiler.AnnotationGrammar.check(AnnotationGrammar.java:143)
at
org.apache.beehive.netui.compiler.AnnotationGrammar.check(AnnotationGrammar.java:83)
at
org.apache.beehive.netui.compiler.FlowControllerChecker.checkMethod(FlowControllerChecker.java:583)
at
org.apache.beehive.netui.compiler.FlowControllerChecker.onCheckInternal(FlowControllerChecker.java:157)
at
org.apache.beehive.netui.compiler.FlowControllerChecker.onCheck(FlowControllerChecker.java:103)
at org.apache.beehive.netui.compiler.BaseChecker.check(BaseChecker.java:44)
at
org.apache.beehive.netui.compiler.processor.BaseCoreAnnotationProcessor.check(BaseCoreAnnotationProcessor.java:67)
at
org.apache.beehive.netui.compiler.processor.TwoPhaseCoreAnnotationProcessor.check(TwoPhaseCoreAnnotationProcessor.java:153)
at
org.apache.beehive.netui.compiler.processor.PageFlowCoreAnnotationProcessor.check(PageFlowCoreAnnotationProcessor.java:84)
at
org.apache.beehive.netui.compiler.processor.TwoPhaseCoreAnnotationProcessor.check(TwoPhaseCoreAnnotationProcessor.java:145)
at
org.apache.beehive.netui.compiler.processor.TwoPhaseCoreAnnotationProcessor.process(TwoPhaseCoreAnnotationProcessor.java:91)
at
org.apache.beehive.netui.compiler.processor.BaseCoreAnnotationProcessor.process(BaseCoreAnnotationProcessor.java:107)
at
org.apache.beehive.netui.compiler.apt.BaseAnnotationProcessorFactory$DelegatingAnnotationProcessor.process(BaseAnnotationProcessorFactory.java:75)