Description
Repro:
- Create the following two page flows:
/base/Controller.jpf:
—
@Jpf.Controller(
simpleActions=
)
public class Controller extends PageFlowController
{
}
—
/inherit/Controller.jpf:
—
@Jpf.Controller(
simpleActions=
)
public class Controller extends base.Controller
{
}
—
- Build the webapp.
- Modify /inherit/Controller.jpf, but don't change /base/Controller.jpf.
- Build the webapp.
java.lang.NullPointerException
at org.apache.beehive.netui.compiler.typesystem.impl.env.MessagerImpl.printWarning(MessagerImpl.java:59)
at org.apache.beehive.netui.compiler.Diagnostics.addWarningArrayArgs(Diagnostics.java:185)
at org.apache.beehive.netui.compiler.Diagnostics.addWarning(Diagnostics.java:180)
at org.apache.beehive.netui.compiler.FlowControllerChecker.checkRelativePath(FlowControllerChecker.java:393)
at org.apache.beehive.netui.compiler.FlowControllerChecker.checkInheritedRelativePaths(FlowControllerChecker.java:340)
at org.apache.beehive.netui.compiler.FlowControllerChecker.startCheckClass(FlowControllerChecker.java:321)
at org.apache.beehive.netui.compiler.FlowControllerChecker.onCheckInternal(FlowControllerChecker.java:120)
at org.apache.beehive.netui.compiler.FlowControllerChecker.onCheck(FlowControllerChecker.java:96)
at org.apache.beehive.netui.compiler.BaseChecker.check(BaseChecker.java:47)
at org.apache.beehive.netui.compiler.BaseChecker.check(BaseChecker.java:68)
at org.apache.beehive.netui.compiler.processor.BaseAnnotationProcessor.check(BaseAnnotationProcessor.java:64)
at org.apache.beehive.netui.compiler.processor.TwoPhaseAnnotationProcessor.check(TwoPhaseAnnotationProcessor.java:119)
at org.apache.beehive.netui.compiler.processor.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:83)
at org.apache.beehive.netui.compiler.processor.BaseAnnotationProcessor.process(BaseAnnotationProcessor.java:103)
at org.apache.beehive.netui.compiler.apt.BaseAnnotationProcessorFactory$DelegatingAnnotationProcessor.process(BaseAnnotationProcessorFactory.java:64)
at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
at com.sun.tools.apt.comp.Apt.main(Apt.java:404)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:440)
at com.sun.tools.apt.main.Main.compile(Main.java:1017)
at com.sun.tools.apt.main.Main.compile(Main.java:907)
at com.sun.tools.apt.Main.compile(Main.java:41)
at com.sun.tools.apt.Main.main(Main.java:32)