Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. Corrupted STDOUT by directly writing to native stream in forked JVM 4. See FAQ web page and the dump file C:(...)targetsurefire-reports2019-03-20T18-57-17_082-jvmRun4.dumpstream
  2.  
  3. Corrupted STDOUT by directly writing to native stream in forked JVM
  4.  
  5. If your tests use native library which prints to STDOUT this warning message appears because the library corrupted the channel used by the plugin in order to transmit events with test status back to Maven process. It would be even worse if you override the Java stream by System.setOut because the stream is also supposed to be corrupted but the Maven will never see the tests finished and build may hang.
  6.  
  7. This warning message appears if you use FileDescriptor.out or JVM prints GC summary.
  8.  
  9. In that case the warning is printed "Corrupted STDOUT by directly writing to native stream in forked JVM", and a dump file can be found in Reports directory.
  10.  
  11. If debug level is enabled then messages of corrupted stream appear in the console.
  12.  
  13. # Created on 2019-03-20T18:42:58.323
  14. Corrupted STDOUT by directly writing to native stream in forked JVM 2. Stream 'FATAL ERROR in native method: processing of -javaagent failed'.
  15. java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'FATAL ERROR in native method: processing of -javaagent failed'.
  16. at org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:511)
  17. at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:209)
  18. at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:176)
  19. at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:88)
  20. at java.base/java.lang.Thread.run(Thread.java:834)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement