java.lang.IllegalArgumentException: 'resourceOperatedUpon' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public synchronized org.jasig.cas.services.RegisteredService org.jasig.cas.services.DefaultServicesManagerImpl.delete(long))

GitHub | lsenecaux | 5 months ago
  1. 0

    Management Webapp: Deleting a service from JPA Service Registry causes an 'java.lang.IllegalArgumentException: resourceOperatedUpon cannot be null' error

    GitHub | 5 months ago | lsenecaux
    java.lang.IllegalArgumentException: 'resourceOperatedUpon' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public synchronized org.jasig.cas.services.RegisteredService org.jasig.cas.services.DefaultServicesManagerImpl.delete(long))
  2. 0

    JpaTicketRegistry addTicket(): IllegalArgumentException: 'principal' cannot be null.

    GitHub | 12 months ago | yahuvi
    java.lang.IllegalArgumentException: 'principal' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public abstract transient org.jasig.cas.ticket.TicketGrantingTicket org.jasig.cas.CentralAuthenticationService.createTicketGrantingTicket(org.jasig.cas.authentication.Credential[]))
  3. 0

    CAS Management crash

    GitHub | 10 months ago | frett
    java.lang.RuntimeException: java.lang.IllegalArgumentException: 'principal' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public abstract org.jasig.cas.services.RegisteredService org.jasig.cas.services.ServicesManager.save(org.jasig.cas.services.RegisteredService))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [cas-user] 4.1.8 snapshot error, but works in 4.1.5 release

    Google Groups | 8 months ago | Yan Zhou
    java.lang.IllegalArgumentException: 'principal' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public abstract transient org.jasig.cas.authentication.Authentication org.jasig.cas.authenticatio n.AuthenticationManager.authenticate(org.jasig.cas.authentication.Credential[]))
  6. 0

    After a month, no tickets created in 4.2.2?

    Google Groups | 5 months ago | Jeffrey Wong
    java.lang.IllegalArgumentException: 'principal' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public abstract org.jasig.cas.authentication.Authenticatio n org.jasig.cas.authentication.AuthenticationManager.authenticate(org.jasig.cas.authentication.AuthenticationTransaction))

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      'resourceOperatedUpon' cannot be null. Check the correctness of @Audit annotation at the following audit point: execution(public synchronized org.jasig.cas.services.RegisteredService org.jasig.cas.services.DefaultServicesManagerImpl.delete(long))

      at org.jasig.inspektr.audit.AuditActionContext.assertNotNull()
    2. org.jasig.inspektr
      AuditTrailManagementAspect.handleAuditTrail
      1. org.jasig.inspektr.audit.AuditActionContext.assertNotNull(AuditActionContext.java:80)
      2. org.jasig.inspektr.audit.AuditActionContext.<init>(AuditActionContext.java:63)
      3. org.jasig.inspektr.audit.AuditTrailManagementAspect.executeAuditCode(AuditTrailManagementAspect.java:153)
      4. org.jasig.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:141)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
      2. org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
      3. org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
      5. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
      6. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      7. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:654)
      7 frames
    5. Jasig CAS Core
      ManageRegisteredServicesMultiActionController.deleteRegisteredService
      1. org.jasig.cas.services.DefaultServicesManagerImpl$$EnhancerBySpringCGLIB$$5b016f0b.delete(<generated>)
      2. org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.deleteRegisteredService(ManageRegisteredServicesMultiActionController.java:125)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222)
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
      2 frames
    8. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737)
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
      8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
      8 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
      1 frame
    10. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
      1 frame
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    13. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    15. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      3. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      4. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
      4 frames
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    17. org.jasig.inspektr
      ClientInfoThreadLocalFilter.doFilter
      1. org.jasig.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:62)
      1 frame
    18. Glassfish Core
      StandardHostValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      6 frames
    19. org.apache.catalina
      ReplicationValve.invoke
      1. org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:218)
      2. org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:333)
      2 frames
    20. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      4 frames
    21. org.apache.coyote
      AjpAprProcessor.process
      1. org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:190)
      1 frame
    22. Grizzly HTTP
      AprEndpoint$SocketWithOptionsProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      2. org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2379)
      2 frames
    23. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    24. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame