[ http://issues.apache.org/jira/browse/BEEHIVE-1054?page=all ]
Carlin Rogers resolved BEEHIVE-1054:
------------------------------------
Resolution: Fixed
Assign To: Alejandro Ramirez (was: Carlin Rogers)
Fixed with revision 373618. http://svn.apache.org/viewcvs?rev=373618&view=rev
In the revision I also added a new test case for this issue... J1054 in the
testRecorder BVT
> Overriding Simple Action and changing the form bean use causes a null value
> object
> ----------------------------------------------------------------------------------
>
> Key: BEEHIVE-1054
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1054
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: 1.0.1
> Environment: Windows, Tomcat
> Reporter: Carlin Rogers
> Assignee: Alejandro Ramirez
> Fix For: 1.0.1
>
> This is similar to http://issues.apache.org/jira/browse/BEEHIVE-1041. From
> the same test suite that was added to the initial bug includes a case where a
> simple action has been overridden in a derived class and the useFormBean has
> bean removed. Using the zip file from 1041, hit the page
> http://localhost:8080/coreWeb/testInheritance/override/simpleActionAttr/
> 29 Jan 2006 09:00:10,505 ERROR IdentifierToken []: Can not evaluate the
> identifier "actionName" on a null value object.
> 29 Jan 2006 09:00:10,505 ERROR IdentifierToken []: Can not evaluate the
> identifier "actionName" on a null value object.
> 29 Jan 2006 09:00:10,525 ERROR ExpressionEvaluatorImpl []: Caught exception
> when
> evaluating expression "{actionForm.actionName}" with available binding
> contexts [actionForm, pageFlow, globalApp, request, session, application,
> pageContext, bundle, container, url, pageInput]. Root cause:
> java.lang.RuntimeException: 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 object.
> Stack Trace:
> java.lang.RuntimeException: Can not evaluate the identifier "actionName" on a
> nu
> ll 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(ExpressionEvaluatorImpl.java:54)
> at
> org.apache.beehive.netui.tags.ExpressionHandling.evaluateExpressionInternal(ExpressionHandling.java:164)
> at
> org.apache.beehive.netui.tags.ExpressionHandling.evaluateExpression(ExpressionHandling.java: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)
--
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