Skip to content

Cannot read property 'split' of undefined #137

@LaPeste

Description

@LaPeste

I get ##[error]Cannot read property 'split' of undefined when parsing test results with the java-junit reporter.
I looked at the code of the action and I understand that the error comes from parsing the content of the file. Unfortunately, it's hard for me to pinpoint exactly where that's happening as there's no stacktrace and there's a huge try/catch in main.
I looked at the split calls used in the code, and I'd be tempted to say that the issue could be around parsing the stacktrace of the failing tests. However, the same test failures are happening in other platforms and there the action works just fine. I have this failure only in tests run on UWP.
This is the test run where the issue appears.
I'm using version 1.5.0 because of the nice addition of path-replace-backslashes. If you believe that this error could have been introduced by this latest version, I can try to convert the backslashes myself and try 1.4.x .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions