eroshenkoam / xcresults

57 stars 30 forks source link

java.lang.NullPointerException while exporting Xcode 13.2.1 xcresult file #33

Open TsoyTim opened 2 years ago

TsoyTim commented 2 years ago

"xcresults export" command fails with: java.lang.NullPointerException at io.eroshenkoam.xcresults.export.ExportCommand.runUnsafe(ExportCommand.java:101) at io.eroshenkoam.xcresults.export.ExportCommand.run(ExportCommand.java:86) at picocli.CommandLine.executeUserObject(CommandLine.java:1769) at picocli.CommandLine.access$900(CommandLine.java:145) at picocli.CommandLine$RunLast.handle(CommandLine.java:2141) at picocli.CommandLine$RunLast.handle(CommandLine.java:2108) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1975) at picocli.CommandLine.execute(CommandLine.java:1904) at io.eroshenkoam.xcresults.XCResults.main(XCResults.java:13)

Xcode v 13.2.1

NastyAlloys commented 2 years ago

did you find solution?

dmzhakov commented 2 years ago

check if you have the xcresulttool plugin installed? I got this error because export work on read output this tools

stanmb commented 2 years ago

Same issue with xcode 13.3.1. Did anyone find the solution?

stanmb commented 2 years ago

this solved the problem for me sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer