beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Feit (JIRA)" <...@beehive.apache.org>
Subject [jira] Created: (BEEHIVE-1012) Assertion error when throwing an Error out of onCreate() in a shared flow
Date Fri, 18 Nov 2005 17:37:42 GMT
Assertion error when throwing an Error out of onCreate() in a shared flow
-------------------------------------------------------------------------

         Key: BEEHIVE-1012
         URL: http://issues.apache.org/jira/browse/BEEHIVE-1012
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1    
    Reporter: Rich Feit
 Assigned to: Rich Feit 
     Fix For: 1.1


Repro:
    - In a new shared flow controller, add the following in onCreate():

    protected void onCreate()
    {
        throw new Error("intentional");
    }

    - Create a page flow that references the shared flow.

    - Hit the page flow.

EXPECTED: a stacktrace for the thrown Error.
ACTUAL:
java.lang.AssertionError: no cached ModuleConfig for foo.SharedFlow

        at org.apache.beehive.netui.pageflow.FlowController.getModuleConfig(FlowController.java:995)

        at org.apache.beehive.netui.pageflow.internal.DefaultExceptionsHandler.handleException(DefaultExceptionsHandler.java:141)

        at org.apache.beehive.netui.pageflow.FlowController.handleException(FlowController.java:288)

        at org.apache.beehive.netui.pageflow.FlowController.create(FlowController.java:556)

        at org.apache.beehive.netui.pageflow.FlowControllerFactory.createSharedFlow(FlowControllerFactory.java:405)

        at org.apache.beehive.netui.pageflow.FlowControllerFactory.createSharedFlow(FlowControllerFactory.java:382)

        at org.apache.beehive.netui.pageflow.FlowControllerFactory.addSharedFlow(FlowControllerFactory.java:541)

        at org.apache.beehive.netui.pageflow.FlowControllerFactory.getSharedFlowsForPath(FlowControllerFactory.java:472)

        at org.apache.beehive.netui.pageflow.FlowControllerFactory.getSharedFlowsForRequest(FlowControllerFactory.java:431)

        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:495)

        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:830)

        at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:625)

        at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:156)

        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message