[richfaces-issues] [JBoss JIRA] (RF-13647) File Download throws exception
Michal Petrov (JIRA)
issues at jboss.org
Fri May 30 08:53:16 EDT 2014
[ https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971954#comment-12971954 ]
Michal Petrov commented on RF-13647:
------------------------------------
Turns out Mojarra doesn't use jsf.ajax.request for commandButton/Link submission (it simply submits the whole form) and thus it doesn't include "javax.faces.source" as a request parameter, causing the NPE.
> File Download throws exception
> ------------------------------
>
> Key: RF-13647
> URL: https://issues.jboss.org/browse/RF-13647
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.6
> Environment: Richfaces 4.3.6 Final.
> Mojarra - 2.1.28
> Weblogic 12.1.2
> Windows 7
> Reporter: santhosh siravuri
> Assignee: Jiří Štefek
> Priority: Critical
> Labels: waiting_on_user
> Fix For: 4.3.8
>
> Attachments: RF-13647.zip
>
>
> File download action throws below exception.
> {code}
> ]] Root cause of ServletException.
> java.lang.NullPointerException
> at org.richfaces.renderkit.AjaxCommandRendererBase.isSubmitted(AjaxCommandRendererBase.java:83)
> at org.richfaces.renderkit.AjaxCommandRendererBase.doDecode(AjaxCommandRendererBase.java:59)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1183)
> Truncated. see log file for complete stacktrace
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the richfaces-issues
mailing list