[richfaces-issues] [JBoss JIRA] (RF-13660) RichFaces 4.5 integration tests - error after test execution

Juraj Húska (JIRA) issues at jboss.org
Thu Jul 10 07:43:26 EDT 2014


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

Juraj Húska edited comment on RF-13660 at 7/10/14 7:43 AM:
-----------------------------------------------------------

I was trying to proceed with this issue, and I am not able to resolve it without further information.

My observations and questions:
* {{SystemEventListener}} is part of JSF, it is not included in any of the above mentioned jars.
* {{FrameworkDeployment}} creates jar which is IMHO equal to {{richfaces-core-4.5.0-SNAPSHOT.jar}}, do we need to have all of them in deployed war ?
* why {{FrameworkDeployment}} is working only with core, and {{org.richfaces:richfaces-a4j:4.5.0-SNAPSHOT}} and with rich components as well ?

Because [~michpetrov] advised me that it is indeed a test issue, not the framework one, and after discussion with [~ppitonak], I would opt for shifting this issue to Beta1 sprint to not to delay 4.5.0.Alpha3 staging.


was (Author: jhuska):
I was trying to proceed with this issue, and I am not able to resolve it without further information.

My observations a questions:
* {{SystemEventListener}} is part of JSF, it is not included in any of the above mentioned jars.
* {{FrameworkDeployment}} creates jar which is IMHO equal to {{richfaces-core-4.5.0-SNAPSHOT.jar}}, do we need to have all of them in deployed war ?
* why {{FrameworkDeployment}} is working only with core, and {{org.richfaces:richfaces-a4j:4.5.0-SNAPSHOT}} and with rich components as well ?

Because [~michpetrov] advised me that it is indeed a test issue, not the framework one, and after discussion with [~ppitonak], I would opt for shifting this issue to Beta1 sprint to not to delay 4.5.0.Alpha3 staging.

> RichFaces 4.5 integration tests - error after test execution
> ------------------------------------------------------------
>
>                 Key: RF-13660
>                 URL: https://issues.jboss.org/browse/RF-13660
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: build/distribution
>    Affects Versions: 4.5.0.Alpha2
>         Environment: AS: Wildfly
> Browser: PhantomJS
>            Reporter: Matej Novotny
>            Assignee: Juraj Húska
>             Fix For: 4.5.0.Alpha3
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> This issue originated from RF-13591.
> There is an error in server log after execution of [ITResourceMapping|https://github.com/richfaces/richfaces/blob/4.5.x/core/src/test/integration/org/richfaces/integration/resource/ITResourceMapping.java].
> The test itself passes (use PhantomJS) and afterwards there is an error in server console. This does not affect the build as everything gets completed however it results in Jenkins job failure on some machines.
> Currently the Jenkins job passes (machine running the tests was changed) but before it was failing after execution of this particular test. See the [Jenkins job resulsts|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/RichFaces/view/4.5/job/richfaces-4.5/56/console].
> The exception in server console is:
> {code}
> 12:36:37,481 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.NullPointerException
> 	at org.richfaces.application.ServiceTracker.release(ServiceTracker.java:135) [richfaces.jar:]
> 	at org.richfaces.application.InitializationListener.onStop(InitializationListener.java:93) [richfaces.jar:]
> 	at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:165) [richfaces.jar:]
> 	at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
> 	at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2187) [jsf-impl-2.2.5-jbossorg-3.jar:]
> 	at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2163) [jsf-impl-2.2.5-jbossorg-3.jar:]
> 	at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:303) [jsf-impl-2.2.5-jbossorg-3.jar:]
> 	at org.jboss.as.jsf.injection.weld.ForwardingApplication.publishEvent(ForwardingApplication.java:294) [wildfly-jsf-injection-8.0.0.Final.jar:8.0.0.Final]
> 	at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314) [jsf-impl-2.2.5-jbossorg-3.jar:]
> 	at io.undertow.servlet.core.ApplicationListeners.contextDestroyed(ApplicationListeners.java:185) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
> 	at io.undertow.servlet.core.DeploymentImpl.destroy(DeploymentImpl.java:216) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
> 	at io.undertow.servlet.core.DeploymentManagerImpl.undeploy(DeploymentManagerImpl.java:557) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stopContext(UndertowDeploymentService.java:117)
> 	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stop(UndertowDeploymentService.java:100)
> 	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
> 	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
> 	at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
> {code}



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



More information about the richfaces-issues mailing list