java.lang.RuntimeException: Request for non-existent bean. Unable to find in local context or on the GRL: org.kuali.rice.kew.mail.service.ActionListEmailService

Kuali JIRA | James Smith | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    We've had a report from Iowa State (which Bryan was able to reproduce in a foundation environment) that the WeeklyEmailJob (org.kuali.kfs.sys.batch.WeeklyEmailJob and config) and DailyEmailStep (org.kuali.kfs.sys.batch.DailyEmailStep and config) could not be run because of the error below. After investigating, the service that access is being attempted on lives in an "impl" portion of KEW - we should not be trying to access it. Furthermore, it looks as if Rice 2.1.7 at least has its own versions of the WeeklyEmailJob and the DailyEmailJob which call that service and do exactly the same thing that the KFS jobs are doing. Therefore, it seems appropriate to remove our versions of the jobs and tell implementing institutions to use the Rice versions. {noformat} 2013-07-09 11:07:19,954 [scheduler_Worker-4] u:/d: INFO org.kuali.kfs.sys.batch.Job :: Executing step: weeklyEmailStep=class org.kuali.kfs.sys.batch.WeeklyEmailStep 2013-07-09 11:07:19,954 [scheduler_Worker-4] u:/d: ERROR org.kuali.kfs.sys.batch.Job :: Exception occured executing step java.lang.RuntimeException: Request for non-existent bean. Unable to find in local context or on the GRL: org.kuali.rice.kew.mail.service.ActionListEmailService at org.kuali.kfs.sys.context.SpringContext.getBean(SpringContext.java:137) at org.kuali.kfs.sys.batch.WeeklyEmailStep.execute(WeeklyEmailStep.java:32) at org.kuali.kfs.sys.batch.Job.runStep(Job.java:175) at org.kuali.kfs.sys.batch.Job.execute(Job.java:121) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) {noformat} We should also remove enActionListEmailService from spring-kfs-imported-rice-beans.xml; again, KFS, as a client application, should not be attempting to access that service.

    Kuali JIRA | 4 years ago | James Smith
    java.lang.RuntimeException: Request for non-existent bean. Unable to find in local context or on the GRL: org.kuali.rice.kew.mail.service.ActionListEmailService

    Root Cause Analysis

    1. java.lang.RuntimeException

      Request for non-existent bean. Unable to find in local context or on the GRL: org.kuali.rice.kew.mail.service.ActionListEmailService

      at org.kuali.kfs.sys.context.SpringContext.getBean()
    2. org.kuali.kfs
      Job.execute
      1. org.kuali.kfs.sys.context.SpringContext.getBean(SpringContext.java:137)
      2. org.kuali.kfs.sys.batch.WeeklyEmailStep.execute(WeeklyEmailStep.java:32)
      3. org.kuali.kfs.sys.batch.Job.runStep(Job.java:175)
      4. org.kuali.kfs.sys.batch.Job.execute(Job.java:121)
      4 frames
    3. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:216)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      2 frames