You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Isaac Shabtay (JIRA)" <ji...@apache.org> on 2007/08/01 06:48:06 UTC
[jira] Created: (STR-3082) Incomplete error message when failing to
create a form bean
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
Priority: Minor
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.
[jira] Resolved: (STR-3082) Incomplete error message when failing
to create a form bean
Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict resolved STR-3082.
--------------------------------
Resolution: Fixed
Form name added to message.
> 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.
[jira] Commented: (STR-3082) Incomplete error message when failing
to create a form bean
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41709 ]
Henri Yandell commented on STR-3082:
------------------------------------
Presumably formName is the other variable that should be used.
> 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
> Priority: Minor
>
> 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.
[jira] Updated: (STR-3082) Incomplete error message when failing to
create a form bean
Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated STR-3082:
-------------------------------
Fix Version/s: 1.4.0
1.3.10
Assignee: Paul Benedict
> 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.
[jira] Commented: (STR-3082) Incomplete error message when failing
to create a form bean
Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41713 ]
Paul Benedict commented on STR-3082:
------------------------------------
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.
[jira] Issue Comment Edited: (STR-3082) Incomplete error message
when failing to create a form bean
Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (STR-3082) Incomplete error message when failing
to create a form bean
Posted by "Isaac Shabtay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41711 ]
Isaac Shabtay commented on STR-3082:
------------------------------------
Wouldn't it make more sense to have the reason for the failure as the second argument?
> 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
> Priority: Minor
>
> 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.