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

AutoBoxing rule can crash due to null dereference

XMLWordPrintable

    • 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

        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);

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

                Created:
                Updated:
                Resolved: