beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <...@beehive.apache.org>
Subject [jira] Resolved: (BEEHIVE-1041) Inheriting Simple Action by DelegatingActionMapping causes a null value object
Date Sun, 29 Jan 2006 00:19:32 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1041?page=all ]
     
Carlin Rogers resolved BEEHIVE-1041:
------------------------------------

    Resolution: Fixed
     Assign To: Alejandro Ramirez  (was: Carlin Rogers)

This is fixed with revision 373262.
http://svn.apache.org/viewcvs?rev=373262&view=rev

The problem was that the struts module config for the inherited page flow did not have the
<form-bean> entry for the "nonFlowScoped" version of its name that the inherited action
used.

> Inheriting Simple Action by DelegatingActionMapping causes a null value object
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1041
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1041
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: 1.0.1
>  Environment: Windows, Tomcat
>     Reporter: Julie Zhuo
>     Assignee: Alejandro Ramirez
>      Fix For: 1.0.1
>  Attachments: InheritancePageflow.zip, netui-blank.zip
>
> This is a regression found recently with rev365686 and rev367424.  The following is the
actual Exception it throws. 
> https://issues.apache.org/jira/browse/BEEHIVE-1040 may relates to the same issue here.
Will attach the repro page flow shortly.
> ***********************************************
> 11 Jan 2006 10:27:04,949 ERROR IdentifierToken []: Can not evaluate the identifier "actionName"
on a
> null value object.
> 11 Jan 2006 10:27:04,949 ERROR IdentifierToken []: Can not evaluate the identifier "actionName"
on a
> null value object.
> 11 Jan 2006 10:27:04,959 ERROR ExpressionEvaluatorImpl []: Caught exception when evaluating
expressio
> n "{actionForm.actionName}" with available binding contexts [actionForm, pageFlow, globalApp,
request
> , session, application, pageContext, bundle, container, url, pageInput]. Root cause:
java.lang.Runtim
> eException: Can not evaluate the identifier "actionName" on a null value object.
> Throwable: java.lang.RuntimeException: Can not evaluate the identifier "actionName" on
a null value o
> bject.
> Stack Trace:
> java.lang.RuntimeException: Can not evaluate the identifier "actionName" on a null value
object.
>         at org.apache.beehive.netui.script.el.tokens.IdentifierToken.evaluate(IdentifierToken.java:46
> )
>         at org.apache.beehive.netui.script.el.ExpressionTerm._evaluate(ExpressionTerm.java:227)
>         at org.apache.beehive.netui.script.el.ExpressionTerm.evaluate(ExpressionTerm.java:128)
>         at org.apache.beehive.netui.script.el.ParsedExpression.evaluate(ParsedExpression.java:106)
>         at org.apache.beehive.netui.script.el.util.ParseUtils.evaluate(ParseUtils.java:80)
>         at org.apache.beehive.netui.script.el.ExpressionEvaluatorImpl.evaluateStrict(ExpressionEvalua
> torImpl.java:54)
>         at org.apache.beehive.netui.tags.ExpressionHandling.evaluateExpressionInternal(ExpressionHand
> ling.java:164)
>         at org.apache.beehive.netui.tags.ExpressionHandling.evaluateExpression(ExpressionHandling.jav
> a:103)
>         at org.apache.beehive.netui.tags.html.HtmlDataSourceTag.evaluateDataSource(HtmlDataSourceTag.
> java:110)
>         at org.apache.beehive.netui.tags.html.Select.doStartTag(Select.java:779)
>         at org.apache.jsp.testInheritance.inherit.simpleActionAttr.index_jsp._jspx_meth_netui_select_
> 0(index_jsp.java:258)
>         at org.apache.jsp.testInheritance.inherit.simpleActionAttr.index_jsp._jspx_meth_netui_form_0(
> index_jsp.java:212)
>         at org.apache.jsp.testInheritance.inherit.simpleActionAttr.index_jsp._jspx_meth_netui_body_0(
> index_jsp.java:167)
>         at org.apache.jsp.testInheritance.inherit.simpleActionAttr.index_jsp._jspx_meth_netui_html_0(
> index_jsp.java:120)
>         at org.apache.jsp.testInheritance.inherit.simpleActionAttr.index_jsp._jspService(index_jsp.ja
> va:79)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
> va:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:299)
>         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:214)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
> va:186)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:4
> 74)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultFo
> rwardRedirectHandler.java:127)
>         at pageFlowCore.forwards.Controller$FakeRedirector.forward(Controller.java:43)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProces
> sor.java:1782)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRe
> questProcessor.java:1655)
>         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequest
> Processor.java:544)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcesso
> r.java:828)
>         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServ
> let.java:634)
>         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java
> :156)
>         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
> va:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:4
> 74)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultFo
> rwardRedirectHandler.java:127)
>         at pageFlowCore.forwards.Controller$FakeRedirector.forward(Controller.java:43)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProces
> sor.java:1782)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFlowRequest(PageFlow
> RequestProcessor.java:726)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequest
> Processor.java:463)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcesso
> r.java:828)
>         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServ
> let.java:634)
>         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java
> :156)
>         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
> va:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:4
> 74)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultFo
> rwardRedirectHandler.java:127)
>         at pageFlowCore.forwards.Controller$FakeRedirector.forward(Controller.java:43)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProces
> sor.java:1782)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRe
> questProcessor.java:1655)
>         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequest
> Processor.java:544)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcesso
> r.java:828)
>         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServ
> let.java:634)
>         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java
> :156)
>         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
> va:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.beehive.netui.tools.testrecorder.server.TestRecorderFilter.doFilter(TestRecorde
> rFilter.java:144)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
> va:186)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198
> )
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Pr
> otocol.java:705)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>         at java.lang.Thread.run(Thread.java:595)
> 11 Jan 2006 10:27:04,959 ERROR ExpressionEvaluatorImpl []: Caught exception when evaluating
expressio

-- 
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