-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
By using bsi token produces a NullPointerException because the lack of value for the releaseId attribute.
$ java -jar FodUpload-530.jar -ac <apikey> <apisecret> -z <package>.zip -bsi <bsitoken> -ep 1 -rp 0 -pp 0 -n "Packaged using ScanCentral tool"
Authenticating
Authenticated
java.io.IOException: Unexpected code: Response{protocol=http/1.1, code=404, message=Not Found, url=https://api.emea.fortify.com/api/v3/releases/0/static-scans/scan-setup}
at com.fortify.fod.fodapi.controllers.ReleaseController.getReleaseScanSettings(ReleaseController.java:128)
at com.fortify.fod.Main.main(Main.java:113)
java.lang.NullPointerException
at com.fortify.fod.fodapi.controllers.ReleaseController.UpdateScanSettings(ReleaseController.java:196)
at com.fortify.fod.Main.main(Main.java:113)The resulting url is https://api.emea.fortify.com/api/v3/releases/0/static-scans/scan-setup where 0 should be the releaseId. In this case I guess 0 stands for null.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels