Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6817

AutoBoxing rule can crash due to null dereference

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 7.1.2, 8.1.0, 7.1.3
    • Fix Version/s: 8.1.0
    • Component/s: Mission Control Core
    • Labels:
    • Subcomponent:
    • Sprint:
      JMC 8.1 Sprint 1

      Description

      The method getResult() in AutoBoxingRule.java can crash the program by dereferencing a null-pointer on line 166.

      core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/java/org/openjdk/jmc/flightrecorder/rules/jdk/memory/AutoBoxingRule.java

      secondFrameFromMostAllocated = StacktraceFormatToolkit.formatFrame(secondFrame.getFrame(), sep, false, false, true, true, true, false);

        Attachments

          Activity

            People

            Assignee:
            hdafgard Henrik Dafgård
            Reporter:
            bbanathur Bipin Banathur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: