Error formatting macro: snippet: java.lang.NullPointerException

See ActionMapper for more details

Parameters

Error formatting macro: snippet: java.lang.NullPointerException

Examples

Error formatting macro: snippet: java.lang.NullPointerException

<!--
	Example of "anchor" param usage in conjunction with "redirectAction" result-type.

	Generated URL: /displayReport.action#SUMMARY
-->

<action name="displayReport">
	<result>/jsp/displayReport.jsp</result>
</action>

<action name="financeReport" class="com.mycompany.reports.FinanceReportAction"> 
	<result name="input">/jsp/index.jsp</result>            
	<result name="success" type="redirectAction">
		<param name="actionName">displayReport</param>
		<param name="parse">false</param>
		<param name="anchor">SUMMARY</param>
	</result>
</action>
  • No labels

2 Comments

  1. in the line:
    <result name="error" type="redirect-action>error</result>

    must be:

    <result name="error" type="redirect-action">error</result>

    1. Fixed. Thanks for your help.