ForkedMain.nakedErr is not initialized on some paths

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • jmh

      Sometimes jmh fails with
      [jmh] Exception in thread "Thread-0" java.lang.NullPointerException: Cannot enter synchronized block because the return value of "java.lang.Throwable$PrintStreamOrWriter.lock()" is null
      [jmh] at java.base/java.lang.Throwable.printStackTrace(Throwable.java:668)
      [jmh] at java.base/java.lang.Throwable.printStackTrace(Throwable.java:659)
      [jmh] at org.openjdk.jmh.runner.ForkedMain.hangup(ForkedMain.java:129)
      [jmh] at org.openjdk.jmh.runner.ForkedMain$HangupThread.run(ForkedMain.java:157)

            Assignee:
            Aleksey Shipilev
            Reporter:
            Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: