NPE in UniqueValueType.checkForDuplicates() when the forward is empty in an 
@Jpf.ExceptionHandler method
--------------------------------------------------------------------------------------------------------

                 Key: BEEHIVE-1207
                 URL: https://issues.apache.org/jira/browse/BEEHIVE-1207
             Project: Beehive
          Issue Type: Bug
          Components: NetUI
    Affects Versions: 1.0.2, 1.0.1, 1.0
            Reporter: Carlin Rogers
            Assignee: Carlin Rogers
             Fix For: V.Next


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)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to