You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/02/09 19:44:13 UTC

[jira] Created: (BEEHIVE-266) assertion error when redirecting from a page flow action

assertion error when redirecting from a page flow action
--------------------------------------------------------

         Key: BEEHIVE-266
         URL: http://issues.apache.org/jira/browse/BEEHIVE-266
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
    Reporter: Rich Feit
 Assigned to: Rich Feit 
    Priority: Critical
     Fix For: V1Beta


Repro: hit the following action, on a server with asserts enabled:

    @Jpf.SimpleAction(name="blowup", path="index.jsp", redirect=true)

You get the following assertion error:

java.lang.AssertionError: don't support ServletResponse currently.
       at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.redirect(DefaultForwardRedirectHandler.java:53)
       at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1492)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
       at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:579)
       at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:785)
       at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:620)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-266) assertion error when redirecting from a page flow action

Posted by "Jason Dunckley (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-266?page=history ]

Jason Dunckley reassigned BEEHIVE-266:
--------------------------------------

    Assign To: Jason Dunckley  (was: Alejandro Ramirez)

> assertion error when redirecting from a page flow action
> --------------------------------------------------------
>
>          Key: BEEHIVE-266
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-266
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Jason Dunckley
>     Priority: Critical
>      Fix For: V1Beta

>
> Repro: hit the following action, on a server with asserts enabled:
>     @Jpf.SimpleAction(name="blowup", path="index.jsp", redirect=true)
> You get the following assertion error:
> java.lang.AssertionError: don't support ServletResponse currently.
>        at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.redirect(DefaultForwardRedirectHandler.java:53)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1492)
>        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:579)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:785)
>        at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:620)
>        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-266) assertion error when redirecting from a page flow action

Posted by "Jason Dunckley (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-266?page=history ]
     
Jason Dunckley closed BEEHIVE-266:
----------------------------------


Verified fixed in Thursday's dist.  externalRedirectPath in coreweb\pageflowcore covers this.

> assertion error when redirecting from a page flow action
> --------------------------------------------------------
>
>          Key: BEEHIVE-266
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-266
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Jason Dunckley
>     Priority: Critical
>      Fix For: V1Beta

>
> Repro: hit the following action, on a server with asserts enabled:
>     @Jpf.SimpleAction(name="blowup", path="index.jsp", redirect=true)
> You get the following assertion error:
> java.lang.AssertionError: don't support ServletResponse currently.
>        at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.redirect(DefaultForwardRedirectHandler.java:53)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1492)
>        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:579)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:785)
>        at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:620)
>        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-266) assertion error when redirecting from a page flow action

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-266?page=history ]
     
Rich Feit resolved BEEHIVE-266:
-------------------------------

     Assign To: Alejandro Ramirez  (was: Rich Feit)
    Resolution: Fixed

Fixed with revision 153103.

> assertion error when redirecting from a page flow action
> --------------------------------------------------------
>
>          Key: BEEHIVE-266
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-266
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>     Priority: Critical
>      Fix For: V1Beta

>
> Repro: hit the following action, on a server with asserts enabled:
>     @Jpf.SimpleAction(name="blowup", path="index.jsp", redirect=true)
> You get the following assertion error:
> java.lang.AssertionError: don't support ServletResponse currently.
>        at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.redirect(DefaultForwardRedirectHandler.java:53)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1492)
>        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:579)
>        at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:785)
>        at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:620)
>        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira