Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16050

Tracing: NullPointerException checking for permission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.0.3.Final
    • None
    • Tracing
    • 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)
      

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: