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

Test sun/rmi/runtime/Log/6409194/NoConsoleOutput.java sometimes fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 26
    • core-libs
    • None
    • generic
    • linux

      Sometimes we see test sun/rmi/runtime/Log/6409194/NoConsoleOutput.java failing.
      error output is like this :

      -------- subprocess standard output: --------
      -------- subprocess standard error: --------
      java.util.logging.ErrorManager: 1
      java.lang.NullPointerException: Cannot invoke "java.io.Writer.write(String)" because "writer" is null
      ---------------------------------------------
      java.lang.Error: TEST FAILED: unexpected subprocess output
      at NoConsoleOutput.main(NoConsoleOutput.java:94)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1474)

      JavaTest Message: Test threw exception: java.lang.Error: TEST FAILED: unexpected subprocess output
      JavaTest Message: shutting down test


      Not sure where the NullPointerException is coming from, there seems to be no stacktrace unfortunately .

            smarks Stuart Marks
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: