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
If we perform any message lookups in the DefaultExceptionHandler we make take a NPE expecting the invocationStore.getCurrent() to return a non null value for the ActionInvocation.
We could be more defensive if there are edge cases where we will not have an action invocation.
2024-11-26 04:06:24.566 AM ERROR org.primeframework.mvc.PrimeMVCRequestHandler - Error encountered
java.lang.NullPointerException: Cannot read field "actionURI" because "actionInvocation" is null
at org.primeframework.mvc.message.l10n.ResourceBundleMessageProvider.findMessage(ResourceBundleMessageProvider.java:129)
at org.primeframework.mvc.message.l10n.ResourceBundleMessageProvider.getOptionalMessage(ResourceBundleMessageProvider.java:88)
at org.primeframework.mvc.message.l10n.ResourceBundleMessageProvider.getMessage(ResourceBundleMessageProvider.java:76)
at io.fusionauth.app.primeframework.error.ExceptionExceptionHandler.handle(ExceptionExceptionHandler.java:48)
at io.fusionauth.app.primeframework.error.ExceptionExceptionHandler.handle(ExceptionExceptionHandler.java:22)
at org.primeframework.mvc.workflow.DefaultExceptionHandler.handle(DefaultExceptionHandler.java:64)
at org.primeframework.mvc.workflow.DefaultMVCWorkflow.perform(DefaultMVCWorkflow.java:116)
at org.primeframework.mvc.PrimeMVCRequestHandler.handle(PrimeMVCRequestHandler.java:73)
at io.fusionauth.http.server.HTTPWorker.run(HTTPWorker.java:50)
The text was updated successfully, but these errors were encountered:
If we perform any message lookups in the
DefaultExceptionHandler
we make take aNPE
expecting theinvocationStore.getCurrent()
to return a nonnull
value for theActionInvocation
.We could be more defensive if there are edge cases where we will not have an action invocation.
The text was updated successfully, but these errors were encountered: