[jboss-jira] [JBoss JIRA] (WFLY-3484) Update JSF based on Mojarra 2.2.7

Farah Juma (JIRA) issues at jboss.org
Tue Jun 17 14:11:25 EDT 2014


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

Farah Juma commented on WFLY-3484:
----------------------------------

Currently, 8 ViewHandler NPE tests from the JSF TCK are failing against the master branch due to the following problem:

{code}
Caused by: java.lang.NoClassDefFoundError: org/jboss/as/jsf/logging/JSFLogger
        at org.jboss.as.jsf.injection.weld.WildFlyConversationAwareViewHandler.<init>(WildFlyConversationAwareViewHandler.java:50) [wildfly-jsf-injection-9.0.0.Alpha1-SNAPSHOT.jar:9.0.0.Alpha1-SNAPSHOT]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_17]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_17]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_17]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_17]
        at java.lang.Class.newInstance0(Class.java:374) [rt.jar:1.7.0_17]
        at java.lang.Class.newInstance(Class.java:327) [rt.jar:1.7.0_17]
        at com.sun.ts.tests.jsf.common.util.JSFTestUtil.checkForNPE(JSFTestUtil.java:417) [classes:]
        at com.sun.ts.tests.jsf.api.javax_faces.application.viewhandler.TestServlet.viewHandlerCalculateLocaleNPETest(TestServlet.java:259) [classes:]
...
Caused by: java.lang.ClassNotFoundException: org.jboss.as.jsf.logging.JSFLogger from [Module "org.jboss.as.jsf-injection:main" from local module loader @9e5941c (finder: local module finder @3f5ebf57 (roots: /home/fjuma/Documents/jsf/testing/wildfly/build/target/wildfly-9.0.0.Alpha1-SNAPSHOT/modules,/home/fjuma/Documents/jsf/testing/wildfly/build/target/wildfly-9.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
{code}

These TCK tests create the WildFlyConversationAwareViewHandler outside of the JSF implementation, as described [here | https://github.com/wildfly/wildfly/blob/master/jsf/injection/src/main/java/org/jboss/as/jsf/injection/weld/WildFlyConversationAwareViewHandler.java#L42]. Since JSFLogger.java was [removed | https://github.com/wildfly/wildfly/commit/22646161976ff2701c514ae97a08e1928aab8e26] from the jsf-injection module as part of WFLY-2864, a dependency on org.jboss.as.jsf is needed for these tests to pass.

I've now created the following PR against master: https://github.com/wildfly/wildfly/pull/6397

> Update JSF based on Mojarra 2.2.7
> ---------------------------------
>
>                 Key: WFLY-3484
>                 URL: https://issues.jboss.org/browse/WFLY-3484
>             Project: WildFly
>          Issue Type: Component  Upgrade
>      Security Level: Public(Everyone can see) 
>          Components: JSF
>            Reporter: Farah Juma
>            Assignee: Farah Juma
>
> Update JSF since Mojarra 2.2.7 was just released.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list