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

sendScanResults fails with NullPointerException in v22.4.1 #34

Open
LynAutumn opened this issue May 2, 2022 · 1 comment
Open

sendScanResults fails with NullPointerException in v22.4.1 #34

LynAutumn opened this issue May 2, 2022 · 1 comment

Comments

@LynAutumn
Copy link

Our pipeline worked fine with the previous versions, with the latest upgrade to v22.4.1 happening yesterday, all scan-pipelines fail with a NullPointerException. When checking the provided jar there's also an "internal error" when trying to open the file "WssServiceClientImpl".
Will there be a fixed version or did this include a breaking change that must be adapted on our side?

Stacktrace:

[DEBUG] [2022-05-01 14:43:41,294 +0200[ - Failed to send request to WhiteSource server: Server error: java.lang.NullPointerException
org.whitesource.agent.client.WssServiceException: Server error: java.lang.NullPointerException
	at org.whitesource.agent.client.WssServiceClientImpl.extractResultData(WssServiceClientImpl.java:492)
	at org.whitesource.agent.client.WssServiceClientImpl.service(WssServiceClientImpl.java:339)
	at org.whitesource.agent.client.WssServiceClientImpl.checkPolicyCompliance(WssServiceClientImpl.java:209)
	at org.whitesource.agent.client.WhitesourceService.checkPolicyCompliance(WhitesourceService.java:623)
	at org.whitesource.request.ProjectsSender.checkPolicies(ProjectsSender.java:730)
	at org.whitesource.request.ProjectsSender.sendRequest(ProjectsSender.java:270)
	at org.whitesource.request.ProjectsSender.sendProjects(ProjectsSender.java:165)
	at org.whitesource.fs.Main.sendScanResults(Main.java:209)
	at org.whitesource.fs.Main.main(Main.java:95)
[INFO] [2022-05-01 14:43:41,296 +0200[ - Process finished with exit code SERVER_FAILURE (Failed to send request to WhiteSource server: Server error: java.lang.NullPointerException
@LenaKleyner
Copy link

Hi @LynAutumn ,

Could you please open a ticket in our support portal with all the relevant information (the Unified Agent execution command, its settings, and the output log)?

Thanks!

Lena

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

2 participants