[jboss-jira] [JBoss JIRA] (WFLY-2784) jsf.js file from the MyFaces API JAR can't be found

Farah Juma (JIRA) issues at jboss.org
Thu Feb 6 10:50:28 EST 2014


     [ https://issues.jboss.org/browse/WFLY-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farah Juma updated WFLY-2784:
-----------------------------

    Summary: jsf.js file from the MyFaces API JAR can't be found  (was: MyFaces fails in JSF TCK)

    
> jsf.js file from the MyFaces API JAR can't be found
> ---------------------------------------------------
>
>                 Key: WFLY-2784
>                 URL: https://issues.jboss.org/browse/WFLY-2784
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JSF
>    Affects Versions: 8.0.0.CR1
>            Reporter: Tomas Remes
>            Assignee: Farah Juma
>         Attachments: jsf_ajax_keyword_web.war
>
>
> I can see one major issue, when running JSF TCK against MyFaces (2.1.14, 2.2.0-beta) configured as default JSF slot in WildFly. The problem is described here https://community.jboss.org/message/853890 - basically ResourceHandlerImpl is not able to create "jsf.js" resource file, which is avaliable in MyFaces api jar. This results to:
> {noformat}
> Caused by: java.lang.NullPointerException
> 	at org.apache.myfaces.shared.renderkit.html.util.ResourceUtils.renderDefaultJsfJsInlineIfNecessary(ResourceUtils.java:231) [myfaces-impl-2.1.13.jar:2.1.13]
> 	at org.apache.myfaces.shared.renderkit.html.HtmlButtonRendererBase.encodeEnd(HtmlButtonRendererBase.java:138) [myfaces-impl-2.1.13.jar:2.1.13]
> 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:665) [myfaces-api-2.1.13.jar:2.1.13]
> 	at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:545) [myfaces-api-2.1.13.jar:2.1.13]
> 	at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541) [myfaces-api-2.1.13.jar:2.1.13]
> 	at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541) [myfaces-api-2.1.13.jar:2.1.13]
> 	at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541) [myfaces-api-2.1.13.jar:2.1.13]
> 	at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1981) [myfaces-impl-2.1.13.jar:2.1.13]
> 	at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:305) [myfaces-impl-2.1.13.jar:2.1.13]
> 	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59) [myfaces-api-2.1.13.jar:2.1.13]
> 	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116) [myfaces-impl-2.1.13.jar:2.1.13]
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241) [myfaces-impl-2.1.13.jar:2.1.13]
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199) [myfaces-api-2.1.13.jar:2.1.13]
> 	... 24 more
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list