[ 
https://issues.jboss.org/browse/RF-13647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971773#comment-12971773
 ] 

santhosh siravuri commented on RF-13647:
----------------------------------------

Ok, After testing it some more, I could reproduce the issue. It is being caused 
by a4j:commandButton with type="button" anywhere in the page.

In the attached project edit index.xhtml and add a line and it throws the above 
mentioned exception.
{code}
h:commandLink: <h:commandLink action="#{campaignBean.campaignDownload()}"  
value="File to download"/>
<a4j:commandButton execute="@this" value="hello" type="button"/>
{code}

Basically if you have a commandButton with type anything other than submit, it 
fails.
It happens only with RF 4.3.6 and 4.3.7. on 4.3.5 it works fine.


> 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
>         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)

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to