You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/02 04:00:05 UTC

[jira] Issue Comment Edited: (STR-3082) Incomplete error message when failing to create a form bean

    [ https://issues.apache.org/struts/browse/STR-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41713 ] 

Paul Benedict edited comment on STR-3082 at 8/1/07 6:58 PM:
------------------------------------------------------------

I agree with Henri. The cause of the exception is not returned. The function only returns null -- either there is no form or there is a problem. In any event, you need to check the logs to see the reason.


 was:
I agree with Henri. If you want the reason, you can check the root cause.

> Incomplete error message when failing to create a form bean
> -----------------------------------------------------------
>
>                 Key: STR-3082
>                 URL: https://issues.apache.org/struts/browse/STR-3082
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Taglibs
>    Affects Versions: 1.3.8
>         Environment: Windows XP (but will happen everywhere)
>            Reporter: Isaac Shabtay
>            Assignee: Paul Benedict
>            Priority: Minor
>             Fix For: 1.3.10, 1.4.0
>
>
> Failure to create a form bean results in an incomplete error message.
> Struts 1.3.8, taglib component.
> Class org.apache.struts.taglib.html.FormTag,
> method initFormBean()
> Lines 514-516: Throwing a JspException using the "formTag.create" message.
> The "formTag.create" message receives two arguments, however on lines 514-516 it is given only one argument, resulting in a message such as:
> Exception creating bean of class <class-name>: {1}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.