You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/05/24 17:31:14 UTC

DO NOT REPLY [Bug 29155] - Unreadable error description

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29155>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29155

Unreadable error description





------- Additional Comments From sven.rottenbiller@plenum.de  2004-05-24 15:31 -------
This is the line from the RequestProcessor with the NullPointerException:

if (forwardPath.startsWith("/")) {
...

The attribut path of the element forward from the struts-config is mandatory. 
The only reason (imho) for a NullPointerException is: you have deactivated the 
validation of struts-config. Go to your web.xml and search for a entry like

    <init-param>
      <param-name>validation</param-name>
      <param-value>false</param-value>
    </init-param>

Remove this part (because the default value is true) or set it to true.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org