java.lang.IllegalArgumentException: Must pass in type Recipient or Person

Kuali JIRA | Bryan Hutchinson | 4 years ago
  1. 0

    If a user is a delegate for a group, and gets an action request as a result of that delegation, their action list doesn't show any action requests. It appears like the root case is the fact that the WebFriendlyRecipient constructor (called by ActionListUtil, which is called by ActionListAction) only handles recipients that are of type WebFriendlyRecipient or Person, but in this case KimGroupRecipient is passed in. stacktrace: [java] RICE: 2012-07-05 14:57:05,394 [http-8080-3] ERROR org.kuali.rice.kew.actionlist.web.ActionListAction :: Error loading action list. [java] java.lang.IllegalArgumentException: Must pass in type Recipient or Person [java] at org.kuali.rice.kew.util.WebFriendlyRecipient.<init>(WebFriendlyRecipient.java:49) [java] at org.kuali.rice.kew.actionlist.web.ActionListUtil.getWebFriendlyRecipients(ActionListUtil.java:43) [java] at org.kuali.rice.kew.actionlist.web.ActionListAction.start(ActionListAction.java:297) [java] at org.kuali.rice.kew.actionlist.web.ActionListAction.defaultDispatch(ActionListAction.java:133) [java] at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:132) [java] at org.kuali.rice.kew.actionlist.web.ActionListAction.execute(ActionListAction.java:102) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:486) [java] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:482) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:215) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89) [java] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [java] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) [java] at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) [java] at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) [java] at org.kuali.rice.krad.web.filter.AutoLoginFilter.doFilter(AutoLoginFilter.java:57) [java] at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) [java] at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) [java] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [java] at java.lang.Thread.run(Thread.java:662)

    Kuali JIRA | 4 years ago | Bryan Hutchinson
    java.lang.IllegalArgumentException: Must pass in type Recipient or Person
  2. 0

    If a user is a delegate for a group, and gets an action request as a result of that delegation, their action list doesn't show any action requests. It appears like the root case is the fact that the WebFriendlyRecipient constructor (called by ActionListUtil, which is called by ActionListAction) only handles recipients that are of type WebFriendlyRecipient or Person, but in this case KimGroupRecipient is passed in. stacktrace: [java] RICE: 2012-07-05 14:57:05,394 [http-8080-3] ERROR org.kuali.rice.kew.actionlist.web.ActionListAction :: Error loading action list. [java] java.lang.IllegalArgumentException: Must pass in type Recipient or Person [java] at org.kuali.rice.kew.util.WebFriendlyRecipient.<init>(WebFriendlyRecipient.java:49) [java] at org.kuali.rice.kew.actionlist.web.ActionListUtil.getWebFriendlyRecipients(ActionListUtil.java:43) [java] at org.kuali.rice.kew.actionlist.web.ActionListAction.start(ActionListAction.java:297) [java] at org.kuali.rice.kew.actionlist.web.ActionListAction.defaultDispatch(ActionListAction.java:133) [java] at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:132) [java] at org.kuali.rice.kew.actionlist.web.ActionListAction.execute(ActionListAction.java:102) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:486) [java] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:482) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:215) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202) [java] at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89) [java] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [java] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) [java] at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) [java] at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) [java] at org.kuali.rice.krad.web.filter.AutoLoginFilter.doFilter(AutoLoginFilter.java:57) [java] at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) [java] at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) [java] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [java] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [java] at java.lang.Thread.run(Thread.java:662)

    Kuali JIRA | 4 years ago | Bryan Hutchinson
    java.lang.IllegalArgumentException: Must pass in type Recipient or Person
  3. 0

    spark kafka security kerberos

    Stack Overflow | 4 months ago | A.GARMES
    java.lang.IllegalArgumentException: You must pass java.security.auth.login.config in secure mode.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Strange program behaviour

    Stack Overflow | 3 years ago | user2963044
    java.lang.IllegalArgumentException: The person must be 18 or older!
  6. 0

    PushSampleDataToKafka_XXXXXXX script is not working fine

    GitHub | 5 months ago | ligadata-saleh
    org.apache.kafka.common.KafkaException: Failed to construct kafka producer

    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

      Must pass in type Recipient or Person

      at org.kuali.rice.kew.util.WebFriendlyRecipient.<init>()
    2. org.kuali.rice
      KualiRequestProcessor$1.doInTransaction
      1. org.kuali.rice.kew.util.WebFriendlyRecipient.<init>(WebFriendlyRecipient.java:49)
      2. org.kuali.rice.kew.actionlist.web.ActionListUtil.getWebFriendlyRecipients(ActionListUtil.java:43)
      3. org.kuali.rice.kew.actionlist.web.ActionListAction.start(ActionListAction.java:297)
      4. org.kuali.rice.kew.actionlist.web.ActionListAction.defaultDispatch(ActionListAction.java:133)
      5. org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:132)
      6. org.kuali.rice.kew.actionlist.web.ActionListAction.execute(ActionListAction.java:102)
      7. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:486)
      7 frames
    3. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      1 frame
    4. org.kuali.rice
      KualiRequestProcessor.process
      1. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:482)
      2. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:215)
      3. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:202)
      4. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:89)
      4 frames
    5. struts
      ActionServlet.doGet
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
      2 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    8. org.kuali.rice
      UserPreferencesFilter.doFilter
      1. org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78)
      2. org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62)
      2 frames
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    10. org.kuali.rice
      UserLoginFilter.doFilter
      1. org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89)
      2. org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77)
      2 frames
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    12. org.kuali.rice
      BootstrapFilter.doFilter
      1. org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271)
      2. org.kuali.rice.krad.web.filter.AutoLoginFilter.doFilter(AutoLoginFilter.java:57)
      3. org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264)
      4. org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162)
      4 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    14. org.kuali.rice
      Log4JContextClearingFilter.doFilterInternal
      1. org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37)
      1 frame
    15. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    17. Display tag library
      ResponseOverrideFilter.doFilter
      1. org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    19. org.kuali.rice
      HideWebInfFilter.doFilter
      1. org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69)
      1 frame
    20. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      8 frames
    21. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame