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 .
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 .