Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-27656

(8.0.z) WFCORE-6962 - OverallInterfaceCriteriaUnitTestCase.testMultipleMatches* test cases fail on Win JDK21

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0 Update 5
    • 8.0 Update 3
    • None

      AS-TS tests OverallInterfaceCriteriaUnitTestCase.testMultipleMatches and OverallInterfaceCriteriaUnitTestCase.testMultipleMatchesNoIPVPreference fail on Windows on all the JDK21 vendors

      with the stacktrace

      java.lang.NullPointerException: Cannot invoke "java.util.Set.iterator()" because "all" is null
      	at org.jboss.as.controller.interfaces.InterfaceCriteriaTestUtil.getRightTypeAddresses(InterfaceCriteriaTestUtil.java:121)
      	at org.jboss.as.controller.interfaces.OverallInterfaceCriteriaUnitTestCase.testMultipleMatches(OverallInterfaceCriteriaUnitTestCase.java:114)
      	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.junit.runners.model.FrameworkMethod.runReflectiveCall(FrameworkMethod.java:59)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.runners.ParentRunner.evaluate(ParentRunner.java:306)
      	at org.junit.runners.BlockJUnit4ClassRunner.evaluate(BlockJUnit4ClassRunner.java:100)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      ...
      

      Similar issue (set collection appears to be null) is present in the LastNodeToLeaveRemoteEJBTestCase#testDNRContentsAfterLastNodeToLeave AS-TS clustering test using byteman. This test fails on both RHEL and Win.

      This might be a byteman related issue as CriticalAnalyzerTestCase#testCriticalAnalyzer using a byteman script also fails with JDK21.

            bstansbe@redhat.com Brian Stansberry
            dcihak@redhat.com Daniel Cihak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: