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

Kuali JIRA | Gayathri Athreya | 5 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 | 5 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 | 5 years ago | Gayathri Athreya
    java.lang.IllegalStateException: Problem running report: Error running simulation for document id 4120
  3. 0
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    JHipster only supports java 7 and 8.
    via GitHub by atomfrede
  6. 0
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher

    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