[jboss-jira] [JBoss JIRA] (AS7-6525) org.jboss.as.test.integration.jca.moduledeployment.TwoRaJarTestCase.testConnection2 fails with NullPointerException
Vladimir Rastseluev (JIRA)
jira-events at lists.jboss.org
Fri Feb 15 07:27:56 EST 2013
Vladimir Rastseluev created AS7-6525:
----------------------------------------
Summary: org.jboss.as.test.integration.jca.moduledeployment.TwoRaJarTestCase.testConnection2 fails with NullPointerException
Key: AS7-6525
URL: https://issues.jboss.org/browse/AS7-6525
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.1.3.Final (EAP)
Reporter: Vladimir Rastseluev
Assignee: Vladimir Rastseluev
Description of problem:
The test fails with java.lang.NullPointerException at org.jboss.as.test.integration.jca.moduledeployment.TwoRaFlatTestCase.testConnection2(TwoRaFlatTestCase.java:193)
Analysis:
When running the child's test inherited from parent, ModuleAcDeploymentTestCaseSetup is resolved as parent's nested static class TwoRaFlatTestCase.ModuleAcDeploymentTestCaseSetup and not child's TwoRaJarTestCase.ModuleAcDeploymentTestCaseSetup.
Nested static class in child should be renamed and the test testConnection2() which uses it should be in child overridden.
--
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