Skip to content

UnifiedGenerationalParser does not create ForwardReference for Parallel file #457

@jlittle-ptc

Description

@jlittle-ptc

Describe the bug
When loading the provided file, the UnifiedGenerationalParser is selected. All events trigger either the youngDetails() or fullGCSummary rules in this file.

Unfortunately, the pauseEvent instance variable is not initialized at this time as youngHeader() is not called which initializes this variable. As a result, an NPE is thrown when trying to call pauseEvent.setDuration().

The NPE is caught and ignored by the catch block in applyRule.

To Reproduce
Steps to reproduce the behavior:
Load attached GC file.

Expected behavior
GCToolkit is able to identify and parse the attached file.

gc-unified-parallel.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions