[richfaces-issues] [JBoss JIRA] (RF-13591) RichFaces 4.5 integration tests are failing

Matej Novotny (JIRA) issues at jboss.org
Tue May 27 11:23:56 EDT 2014


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

Matej Novotny commented on RF-13591:
------------------------------------

I checked [Jenkins job|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/RichFaces/view/4.5/job/richfaces-4.5/] and found a problem during build.
Once it starts building the core there is an error in server console (this happens even locally but it does not stop the build) once the [ITResourceMapping tests|https://github.com/richfaces/richfaces/blob/4.5.x/core/src/test/integration/org/richfaces/integration/resource/ITResourceMapping.java] are executed. 
When run locally these tests cause no error and they all succeed hence the error appears after the tests are executed. The error in server console (Wildfly) is following:
{code}
16:38:23,237 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-5) 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}

I tried other versions of Wildfly and also with AS 7.1 just to make sure and the exception is thrown all the time.
Any hints what might cause this?

> RichFaces 4.5 integration tests are failing
> -------------------------------------------
>
>                 Key: RF-13591
>                 URL: https://issues.jboss.org/browse/RF-13591
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: build/distribution
>    Affects Versions: 4.5.0.Alpha2
>            Reporter: Pavol Pitonak
>            Assignee: Lukáš Fryč
>            Priority: Blocker
>             Fix For: 4.5.0.Alpha3
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> RichFaces 4.5 cannot be build because of compilation errors in integration tests:
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project richfaces: Compilation failure: Compilation failure:
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[9,30] error: cannot find symbol
> [ERROR] package org.richfaces.ui.toggle
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[10,39] error: package org.richfaces.ui.toggle.tabPanel does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[18,12] error: cannot find symbol
> [ERROR] class TabPanelItemChangeEventBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[19,27] error: cannot find symbol
> [ERROR] class TabPanelItemChangeEventBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[21,28] error: cannot find symbol
> [ERROR] class TabPanelItemChangeEventBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[25,11] error: cannot find symbol
> [ERROR] class TabPanelItemChangeEventBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[29,35] error: cannot find symbol
> [ERROR] class TabPanelItemChangeEventBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/tabPanel/model/TabPanelItemChangeEventBean.java:[33,16] error: cannot find symbol
> [ERROR] class TabPanelItemChangeEventBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/ITFocusDefaults.java:[48,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusEnforcing.java:[38,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusEnforcingOverridesFocusSettings.java:[31,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusEnforcingOverridesFocusSettings.java:[32,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusCandidates.java:[34,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusCandidates.java:[35,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationBuiltInBean.java:[31,26] error: cannot find symbol
> [ERROR] package org.richfaces.model
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationBuiltInBean.java:[44,12] error: cannot find symbol
> [ERROR] class IterationBuiltInBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationBuiltInBean.java:[45,12] error: cannot find symbol
> [ERROR] class IterationBuiltInBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationBuiltInBean.java:[57,11] error: cannot find symbol
> [ERROR] class IterationBuiltInBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationBuiltInBean.java:[61,11] error: cannot find symbol
> [ERROR] class IterationBuiltInBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationBuiltInBean.java:[65,29] error: cannot find symbol
> [ERROR] class IterationBuiltInBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/ITFocusSubmissionMethods.java:[50,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationTableStateBean.java:[31,26] error: cannot find symbol
> [ERROR] package org.richfaces.model
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationTableStateBean.java:[49,12] error: cannot find symbol
> [ERROR] class IterationTableStateBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationTableStateBean.java:[50,12] error: cannot find symbol
> [ERROR] class IterationTableStateBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationTableStateBean.java:[85,11] error: cannot find symbol
> [ERROR] class IterationTableStateBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationTableStateBean.java:[89,11] error: cannot find symbol
> [ERROR] class IterationTableStateBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/IterationTableStateBean.java:[93,29] error: cannot find symbol
> [ERROR] class IterationTableStateBean
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/ITFocusValidationAware.java:[56,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/ITFocusValidationAware.java:[57,34] error: package org.richfaces.ui.misc.focus does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[63,51] error: package org.richfaces.ui.iteration.extendedDataTable does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[64,51] error: package org.richfaces.ui.iteration.extendedDataTable does not exist
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/ITFocusDefaults.java:[100,16] error: cannot find symbol
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusEnforcing.java:[62,19] error: cannot find symbol
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusEnforcingOverridesFocusSettings.java:[49,8] error: cannot find symbol
> [ERROR] class VerifyFocusEnforcingOverridesFocusSettings
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusEnforcingOverridesFocusSettings.java:[50,8] error: cannot find symbol
> [ERROR] 
> [ERROR] E extends HtmlElement declared in method <E>getElementById(String)
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusCandidates.java:[77,8] error: cannot find symbol
> [ERROR] class VerifyFocusCandidates
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/VerifyFocusCandidates.java:[78,8] error: cannot find symbol
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/ITFocusValidationAware.java:[153,16] error: cannot find symbol
> [ERROR] class AbstractFocus
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/focus/ITFocusValidationAware.java:[154,16] error: cannot find symbol
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[136,16] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[136,55] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[140,16] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[140,58] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[141,16] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[141,56] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[187,20] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[187,62] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[188,20] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[188,60] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[228,20] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[228,62] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[229,20] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[229,60] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[268,16] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[268,58] error: cannot find symbol
> [ERROR] class AbstractExtendedDataTable
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[269,16] error: cannot find symbol
> [ERROR] class ExtendedDataTableState
> [ERROR] /mnt/hudson_workspace/workspace/richfaces-4.5/framework/src/test/integration/org/richfaces/ui/extendedDataTable/ITTableState.java:[269,56] error: cannot find symbol
> {code}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the richfaces-issues mailing list