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

Rules dependant on GarbageCollectionInfoRule throw NPE if there is no gcInfo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9.0.0
    • None
    • Mission Control Core
    • None

      This is a pretty specific case, but could happen on shorter recordings nonetheless. If there are no gcs and no gcInfo as a result, the GarbageCollectionInfoRule bails because it looks for EventAvailability.AVAILABLE, but the rules that depend on it will throw an NPE because they look for EventAvailability.ENABLED and the GarbageCollectionsInfo aggregate is null.

      The four rules this applies to is:
      GcLockerRule
      GcStallRule
      HeapInspectionRule
      SystemGcRule

            aptmac Alex Macdonald
            aptmac Alex Macdonald
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: