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

          1. image-2021-02-17-22-37-28-311.png
            302 kB
            Bipin Banathur
          2. image-2021-02-17-23-55-58-224.png
            498 kB
            Bipin Banathur

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

                Created:
                Updated:
                Resolved: