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

Test java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpStatefulTest.java failed with RuntimeException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 23
    • core-libs

        A very unhelpful exception:

        ----------System.out:(77/6065)----------
        config java.util.stream.LoggingTestCase.before(): success
        test org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountDropWithCount(): success
        config java.util.stream.LoggingTestCase.after(org.testng.internal.TestResult@65887f99): success
        config java.util.stream.LoggingTestCase.before(): success
        test org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountDropWithToArray(): success
        config java.util.stream.LoggingTestCase.after(org.testng.internal.TestResult@4b4d280): success
        config java.util.stream.LoggingTestCase.before(): success
        test org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountTakeWithCount(): success
        config java.util.stream.LoggingTestCase.after(org.testng.internal.TestResult@735edf02): success
        config java.util.stream.LoggingTestCase.before(): success
        test org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountTakeWithToArray(): success
        config java.util.stream.LoggingTestCase.after(org.testng.internal.TestResult@2c5ec211): success
        config java.util.stream.LoggingTestCase.before(): success
        test org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testTimedTakeWithCount(): failure
        java.lang.RuntimeException
        at org.openjdk.tests.java.util.stream.WhileOpStatefulTest.lambda$testWhileMulti$64(WhileOpStatefulTest.java:269)
        at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:555)
        at java.base/java.util.stream.StreamSpliterators$InfiniteSupplyingSpliterator$OfRef.tryAdvance(StreamSpliterators.java:1367)
        at java.base/java.util.stream.StreamSpliterators$DoubleWrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:461)
        at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
        at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:169)
        at java.base/java.util.stream.StreamSpliterators$DoubleWrappingSpliterator.tryAdvance(StreamSpliterators.java:472)
        at java.base/java.util.stream.WhileOps$UnorderedWhileSpliterator$OfDouble$Taking.tryAdvance(WhileOps.java:1063)
        at java.base/java.util.Spliterator$OfDouble.forEachRemaining(Spliterator.java:803)
        at java.base/java.util.Spliterator$OfDouble.forEachRemaining(Spliterator.java:843)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)
        at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:960)
        at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:934)
        at java.base/java.util.stream.AbstractTask.compute(AbstractTask.java:327)
        at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:759)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
        at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:676)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:927)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:264)
        at java.base/java.util.stream.LongPipeline.reduce(LongPipeline.java:498)
        at org.openjdk.tests.java.util.stream.WhileOpStatefulTest.lambda$testTimedTakeWithCount$11(WhileOpStatefulTest.java:86)
        at org.openjdk.tests.java.util.stream.WhileOpStatefulTest.lambda$testWhileMulti$78(WhileOpStatefulTest.java:282)
        at org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testWhileMulti(WhileOpStatefulTest.java:295)
        at org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testTakeWhileMulti(WhileOpStatefulTest.java:224)
        at org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testTimedTakeWithCount(WhileOpStatefulTest.java:63)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
        at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
        at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
        at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
        at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
        at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
        at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
        at org.testng.TestRunner.privateRun(TestRunner.java:764)
        at org.testng.TestRunner.run(TestRunner.java:585)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
        at org.testng.SuiteRunner.run(SuiteRunner.java:286)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
        at org.testng.TestNG.runSuites(TestNG.java:1069)
        at org.testng.TestNG.run(TestNG.java:1037)
        at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102)
        at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1575)
        config java.util.stream.LoggingTestCase.after(org.testng.internal.TestResult@46d2da4c): success

              vklang Viktor Klang
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: