beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Ramirez (JIRA)" <...@beehive.apache.org>
Subject [jira] Reopened: (BEEHIVE-812) Cannot provide an initial value for an action that accepts an interface as its form bean
Date Wed, 24 Aug 2005 15:51:11 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-812?page=all ]
     
Alejandro Ramirez reopened BEEHIVE-812:
---------------------------------------


Rich, when verifying this bug, I don't get an error when hitting the begin action.  However,
I get an error (see attached log) when submitting the form.

ERROR ExpressionEvaluatorImpl []: Exception when attempting to update the expression "{actionForm.foo}"
with available binding contexts [actionForm, pageFlow, globalApp]. Root cause: java.lang.RuntimeException:
Can not update the identifier "foo" on a null value object.

Throwable: java.lang.RuntimeException: Can not update the identifier "foo" on a null value
object.

> Cannot provide an initial value for an action that accepts an interface as its form bean
> ----------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-812
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-812
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: TBD
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: V1
>  Attachments: jira812.zip
>
> We have an action method that accepts an *interface* as its form bean argument, and we're
trying to send a concrete implementation of the interface to a page that will post to the
action.
> Repro:
>     - Hit the attached page flow (/miniTests/initFormBeanInterface/Controller.jpf).
> EXPECTED: See index.jsp with the text box initialized to the string, "got it"
> ACTUAL: A tag error that says:
>   Caught exception when evaluating expression "{actionForm.foo}" 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
"foo" on a null value object.

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