java.lang.RuntimeException: Test failed!

JDK Bug System | Amy Lu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java/nio/file/Files/probeContentType/Basic.java fails on windows for Content type: audio/vnd.dlna.adts: #section:main ----------messages:(4/144)---------- command: main Basic reason: User specified action: run main/othervm Basic Mode: othervm [/othervm specified] elapsed time (seconds): 0.588 ----------configuration:(0/0)---------- ----------System.out:(10/544)*---------- probe C:\\cygwin\\tmp\\foo765365758227173654.html... probe C:\\cygwin\\tmp\\red8931572714916015925.grape... probe C:\\cygwin\\tmp\\foo7393460305165847178.aac... probe C:\\cygwin\\tmp\\foo4024699164852327331.flac... probe C:\\cygwin\\tmp\\foo4693128231948976275.jpg... probe C:\\cygwin\\tmp\\foo6405370087536577244.mp3... probe C:\\cygwin\\tmp\\foo8088966791287580938.mp4... probe C:\\cygwin\\tmp\\foo6755866228138505202.pdf... probe C:\\cygwin\\tmp\\foo7249113451905389639.png... probe C:\\cygwin\\tmp\\foo5347338918282529672.webm... ----------System.err:(14/873)---------- Content type: audio/vnd.dlna.adts; expected: audio/aac, or audio/x-aac java.lang.RuntimeException: Test failed! at Basic.main(Basic.java:199) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed!

    JDK Bug System | 8 months ago | Amy Lu
    java.lang.RuntimeException: Test failed!
  2. 0

    java/nio/channels/AsynchronousSocketChannel/Basic.java There are existing bugs reported that this test fail (JDK-8078590) or timed out ( JDK-8067656). This failure seems a different one. ----------System.out:(13/268)---------- -- bind -- -- socket options -- -- connect -- -- asynchronous close when connecting -- -- asynchronous close when reading -- -- asynchronous close when writing -- -- cancel -- -- read (1) -- -- read (2) -- -- read (3) -- -- write (1) -- -- write (2) -- -- timeouts -- ----------System.err:(14/810)---------- java.lang.RuntimeException: InterruptedByTimeoutException expected at Basic.testTimeout(Basic.java:779) at Basic.testTimeout(Basic.java:752) at Basic.main(Basic.java:70) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:804) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: InterruptedByTimeoutException expected

    JDK Bug System | 12 months ago | Amy Lu
    java.lang.RuntimeException: InterruptedByTimeoutException expected
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Test failed!

      at Basic.main()
    2. Unknown
      Basic.main
      1. Basic.main(Basic.java:199)
      1 frame