Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NullPointerException while export xcresult report #48

Open
EgorovDmitry opened this issue Mar 17, 2023 · 3 comments
Open

java.lang.NullPointerException while export xcresult report #48

EgorovDmitry opened this issue Mar 17, 2023 · 3 comments

Comments

@EgorovDmitry
Copy link

EgorovDmitry commented Mar 17, 2023

I faced this exception during the export xcresult report
The issue is reproduced on all versions after 1.12.0, on 1.12.0 there is no error

java.lang.NullPointerException
	at io.eroshenkoam.xcresults.export.Allure2ExportFormatter.getPosition(Allure2ExportFormatter.java:261)
	at io.eroshenkoam.xcresults.export.Allure2ExportFormatter.format(Allure2ExportFormatter.java:102)
	at io.eroshenkoam.xcresults.export.ExportCommand.runUnsafe(ExportCommand.java:141)
	at io.eroshenkoam.xcresults.export.ExportCommand.run(ExportCommand.java:88)
	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)
@EgorovDmitry EgorovDmitry changed the title java.lang.NullPointerException while export merged xcresult report via xcrun xcresulttool merge java.lang.NullPointerException while export xcresult report Mar 28, 2023
@alexnot95
Copy link

See the same issue on the 1.15.0 version

@gulyayko
Copy link

gulyayko commented Jun 28, 2023

same issue, 1.15.0 - 1.10.1

@mbeysulen
Copy link

The same issue exists in the latest version and older versions. I think it is from a file while exporting xcresult. I hope it will be resolved soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants