membrane / api-gateway

API gateway for REST, OpenAPI, GraphQL and SOAP written in Java.
https://membrane-api.io
Apache License 2.0
449 stars 138 forks source link

NullPointer in oauth2 #865

Open russelmrcl opened 5 months ago

russelmrcl commented 5 months ago
java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "com.predic8.membrane.core.interceptor.session.Session.get(String)" is null
    at com.predic8.membrane.core.interceptor.oauth2client.SessionOriginalExchangeStore.reconstruct(SessionOriginalExchangeStore.java:50)
    at com.predic8.membrane.core.interceptor.oauth2client.rf.OAuth2CallbackRequestHandler.handleRequest(OAuth2CallbackRequestHandler.java:97)
    at com.predic8.membrane.core.interceptor.oauth2client.OAuth2Resource2Interceptor.handleRequest(OAuth2Resource2Interceptor.java:281)
predic8 commented 2 months ago

@russelmrcl can you provide some context or background info to the error message?