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: Resolved
    • Priority: P4
    • Resolution: Fixed
    • 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, JMC 8.1 RDS 1, JMC 8.1 RDS 2, JMC 8.1 RDP2 1, JMC 8.1 RDP2 Final

      Backports

        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

            Issue Links

              Activity

                People

                Assignee:
                hirt Marcus Hirt
                Reporter:
                bbanathur Bipin Banathur
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: