-
Bug
-
Resolution: Done
-
Major
-
None
-
None
A NullPointerException is thrown when checking the permission with a null context.
2024-05-07 08:55:59,628 ERROR (non-blocking-thread-A-p2-t12) [org.infinispan.rest.RestRequestHandler] ISPN012005: An error occurred while responding to the client java.lang.NullPointerException: Cannot invoke "org.infinispan.security.AuditContext.toString()" because "context" is null at org.infinispan.security.audit.LoggingAuditLogger.audit(LoggingAuditLogger.java:39) at org.infinispan.security.impl.Authorizer.checkPermission(Authorizer.java:101) at org.infinispan.security.impl.Authorizer.checkPermission(Authorizer.java:93) at org.infinispan.rest.framework.impl.RestDispatcherImpl.dispatch(RestDispatcherImpl.java:80) at org.infinispan.rest.RestRequestHandler.handleRestRequest(RestRequestHandler.java:208) at org.infinispan.rest.RestRequestHandler.lambda$channelRead0$1(RestRequestHandler.java:187)