[jboss-jira] [JBoss JIRA] (WFLY-1331) JBossWebParsingDeploymentProcessorTest fails if ran after any WebSubsystemTestCase

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Mon May 13 08:53:06 EDT 2013


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

Remy Maucherat commented on WFLY-1331:
--------------------------------------

Can you assign this to look at the classloader issue ? This doesn't really look like web specific to me, just casual stax usage.
                
> JBossWebParsingDeploymentProcessorTest fails if ran after any WebSubsystemTestCase
> ----------------------------------------------------------------------------------
>
>                 Key: WFLY-1331
>                 URL: https://issues.jboss.org/browse/WFLY-1331
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (JBoss Web)
>            Reporter: James Perkins
>            Assignee: Remy Maucherat
>            Priority: Minor
>         Attachments: org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessorTest.txt
>
>
> The order in which the tests run seem to be an issue. My assumption is it has something to do with powermock, but I didn't dig in all that much.
> {code}
> Caused by: java.lang.ClassCastException: __redirected.__XMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
> 	at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:153)
> 	at __redirected.__XMLInputFactory.<clinit>(__XMLInputFactory.java:67)
> {code}
> The tests for me on Fedora 18 run in the following order:
> {code}
> Running org.jboss.as.web.test.WebSubsystemTestCase
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.42 sec
> Running org.jboss.as.web.test.WebSubsystemBareTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 sec
> Running org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessorTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.423 sec <<< FAILURE!
> Running org.jboss.as.web.deployment.WarDeploymentProcessorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.932 sec
> {code}

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