You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2026. It is now read-only.
Describe the bug
When trying to call extractAuthorizationResponseFromQuery with a query string that does not actually contain a signature, the call fails.
Exception in thread "main" java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.dke.data.agrirouter.api.dto.registrationrequest.secured.AuthorizationResponse.setSignature, parameter <set-?>
at com.dke.data.agrirouter.api.dto.registrationrequest.secured.AuthorizationResponse.setSignature(AuthorizationResponse.kt)
at com.dke.data.agrirouter.impl.onboard.secured.AuthorizationRequestServiceImpl.extractAuthorizationResponseFromQuery(AuthorizationRequestServiceImpl.java:88)
at com.myagrirouter.example.App.main(App.java:150)
To Reproduce
AuthorizationRequestService authorizationRequestService = new AuthorizationRequestServiceImpl(environment);
var authorizationResult = extractAuthorizationResponseFromQuery("state=b02b4093-61c3-4eaa-b10b-cbc14cac2dad&error=request_declined")
Describe the bug
When trying to call
extractAuthorizationResponseFromQuerywith a query string that does not actually contain a signature, the call fails.To Reproduce
Expected behavior