Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903072

ForkedMain.nakedErr is not initialized on some paths

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Fixed
    • None
    • None
    • tools
    • None
    • jmh

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: