java.lang.IllegalStateException: Problem running report: Error running simulation for document id 4120

Kuali JIRA | Gayathri Athreya | 4 years ago
  1. 0

    Documents that use PeopleFlows throw the following stack trace on submission. This happens only in embedded and not in bundled mode. java.lang.IllegalStateException: Problem running report: Error running simulation for document id 4120 at org.kuali.rice.kew.routemodule.service.impl.RoutingReportServiceImpl.report(RoutingReportServiceImpl.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) In the logs I see the following trace: Caused by: java.lang.NullPointerException at org.kuali.kra.proposaldevelopment.service.impl.ProposalDevelopmentRulesEngineExecutorImpl.execute(ProposalDevelopmentRulesEngineExecutorImpl.java:58) at org.kuali.rice.kew.impl.support.krms.RulesEngineRouteModule.executeRulesEngine(RulesEngineRouteModule.java:86) at org.kuali.rice.kew.impl.support.krms.RulesEngineRouteModule.findActionRequests(RulesEngineRouteModule.java:69) On inspecting the RulesEngineRouteModule class, I noticed that in bundled mode, the engine used is ProviderBasedEngine. However in embedded mode, the line 138 KrmsApiServiceLocator.getEngine() returns null.

    Kuali JIRA | 4 years ago | Gayathri Athreya
    java.lang.IllegalStateException: Problem running report: Error running simulation for document id 4120
  2. 0

    Documents that use PeopleFlows throw the following stack trace on submission. This happens only in embedded and not in bundled mode. java.lang.IllegalStateException: Problem running report: Error running simulation for document id 4120 at org.kuali.rice.kew.routemodule.service.impl.RoutingReportServiceImpl.report(RoutingReportServiceImpl.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) In the logs I see the following trace: Caused by: java.lang.NullPointerException at org.kuali.kra.proposaldevelopment.service.impl.ProposalDevelopmentRulesEngineExecutorImpl.execute(ProposalDevelopmentRulesEngineExecutorImpl.java:58) at org.kuali.rice.kew.impl.support.krms.RulesEngineRouteModule.executeRulesEngine(RulesEngineRouteModule.java:86) at org.kuali.rice.kew.impl.support.krms.RulesEngineRouteModule.findActionRequests(RulesEngineRouteModule.java:69) On inspecting the RulesEngineRouteModule class, I noticed that in bundled mode, the engine used is ProviderBasedEngine. However in embedded mode, the line 138 KrmsApiServiceLocator.getEngine() returns null.

    Kuali JIRA | 4 years ago | Gayathri Athreya
    java.lang.IllegalStateException: Problem running report: Error running simulation for document id 4120
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    A customer reported that the backup service ran twice on startup. It seems harmless but intriuging. We should investigate how this could happen and ensure worse things cant happen. {quote} It looks like backup service starts twice on startup (see attached log). Jira data was restored from backup of Jira 3.13. I can see only one instance of service in Administration section or in serviceconfig database table. {quote} {code} 2009-10-26 15:33:27,478 main INFO [atlassian.jira.startup.JiraStartupLogger] ****************************************************************************** JIRA 4.0 build: 466 started. You can now access JIRA through your web browser. ****************************************************************************** 2009-10-26 15:33:27,490 main INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler.... 2009-10-26 15:33:27,576 main INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler started. 2009-10-26 15:33:28,522 JiraQuartzScheduler_Worker-0 INFO ServiceRunner Backup Service [jira.action.admin.DataExport] Starting data export to file '/opt/jira/backup/2009-10-26-15-33.zip'. 2009-10-26 15:34:27,512 JiraQuartzScheduler_Worker-2 ERROR ServiceRunner Backup Service [atlassian.jira.service.ServiceRunner] An error occured while trying to run service 'Backup Service'. Service: Backup Service id: 10010 is already running! java.lang.IllegalStateException: Service: Backup Service id: 10010 is already running! at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2009-10-26 15:37:16,049 JiraQuartzScheduler_Worker-0 INFO ServiceRunner Backup Service [jira.action.admin.DataExport] Data export completed in 227527ms. Wrote 1140694 entities to export file '/opt/jira/backup/2009-10-26-15-33.zip'. {code}

    Atlassian JIRA | 7 years ago | Brad Baker [Atlassian]
    java.lang.IllegalStateException: Service: Backup Service id: 10010 is already running!

    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.IllegalStateException

      Problem running report: Error running simulation for document id 4120

      at org.kuali.rice.kew.routemodule.service.impl.RoutingReportServiceImpl.report()
    2. org.kuali.rice
      RoutingReportServiceImpl.report
      1. org.kuali.rice.kew.routemodule.service.impl.RoutingReportServiceImpl.report(RoutingReportServiceImpl.java:37)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      1 frame