-
Notifications
You must be signed in to change notification settings - Fork 252
Description
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 .