Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211179

[Graal] org.graalvm.compiler.core.test.CountedLoopTest fails with NullPointerException

    XMLWordPrintable

Details

    Description

      After fixing JDK-8199885 org.graalvm.compiler.core.test.CountedLoopTest still continues to fail but with java.lang.NullPointerException.

      Here is example of failed log:
      There was 1 failure:
      1) increment7(org.graalvm.compiler.core.test.CountedLoopTest)
      java.lang.NullPointerException
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.loop.BasicInductionVariable.isConstantExtremum(BasicInductionVariable.java:174)
              at org.graalvm.compiler.core.test.CountedLoopTest$IVPropertyNode.rewrite(CountedLoopTest.java:417)
              at org.graalvm.compiler.core.test.CountedLoopTest.checkHighTierGraph(CountedLoopTest.java:487)
              at org.graalvm.compiler.core.test.GraalCompilerTest$2.run(GraalCompilerTest.java:287)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:212)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:256)
              at jdk.internal.vm.compiler@12-internal/org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:180)
              at org.graalvm.compiler.core.test.GraalCompilerTest.compile(GraalCompilerTest.java:1060)
              at org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:957)
              at org.graalvm.compiler.core.test.GraalCompilerTest.getCode(GraalCompilerTest.java:898)
              at org.graalvm.compiler.core.test.GraalCompilerTest.executeActual(GraalCompilerTest.java:734)
              at org.graalvm.compiler.core.test.GraalCompilerTest.executeActualCheckDeopt(GraalCompilerTest.java:866)
              at org.graalvm.compiler.core.test.GraalCompilerTest.testAgainstExpected(GraalCompilerTest.java:856)
              at org.graalvm.compiler.core.test.GraalCompilerTest.testAgainstExpected(GraalCompilerTest.java:852)
              at org.graalvm.compiler.core.test.GraalCompilerTest.test(GraalCompilerTest.java:821)
              at org.graalvm.compiler.core.test.GraalCompilerTest.test(GraalCompilerTest.java:790)
              at org.graalvm.compiler.core.test.GraalCompilerTest.test(GraalCompilerTest.java:783)
              at org.graalvm.compiler.core.test.CountedLoopTest.testCounted(CountedLoopTest.java:503)
              at org.graalvm.compiler.core.test.CountedLoopTest.increment7(CountedLoopTest.java:161)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)

      Attachments

        Issue Links

          Activity

            People

              never Tom Rodriguez
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: