Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-66

org.jboss.as.test.integration.jca.moduledeployment.TwoRaJarTestCase.testConnection2 fails with NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Alpha1
    • None
    • Test Suite
    • None

      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.

              jaikiran Jaikiran Pai (Inactive)
              vrastsel_jira Vladimir Rastseluev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: