[ 
https://issues.apache.org/struts/browse/STR-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict resolved STR-3070.
--------------------------------

    Resolution: Fixed

For longstanding projects with a custom subclass of the classic 
RequestProcessor, it is a cheaper cost to fix the NPE and gain postback forms.

> Postback forms cause NPE with classic RequestProcessor
> ------------------------------------------------------
>
>                 Key: STR-3070
>                 URL: https://issues.apache.org/struts/browse/STR-3070
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>            Reporter: Paul Benedict
>            Assignee: Paul Benedict
>             Fix For: 1.3.10, 1.4.0
>
>
> I was unwittingly using the classic RequestProcessor when attempting to use 
> postback forms. Unfortunately, I got a NPE:
> java.lang.NullPointerException
>       
> org.apache.struts.taglib.TagUtils.getActionMappingName(TagUtils.java:583)
>       org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:834)
>       org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:467)
> I traced the problem back to a missing step in the classic RP. It does not 
> set the ORIGINAL_URI key like the ComposableRequestProcessor. However, 
> FormTag should explain this condition when a postback form is used but the 
> key is absent.

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

Reply via email to