edu.iu.uis.eden.exception.DocumentSimulatedRouteException: Error running simulation for document id 2296

Kuali JIRA | Jaffrin Salam | 9 years ago
  1. 0

    When I have two or more recipients in the role then PrioritySorter is failing. Its trying to get the actionrequestId for the child request,which will be null for the child request,so I am getting a null pointer exception. Here is the stack trace 2008-03-20 10:30:05,104 [btpool0-2] D:2296 U:quickstart INFO edu.iu.uis.eden.util.PerformanceLogger :: Time: 458729 ms, docId=2296, Time to run simulation. 2008-03-20 10:30:05,104 [btpool0-2] D: U:quickstart INFO edu.iu.uis.eden.routelog.web.RouteLogAction :: Found Error while getting Future Action Requests: Error running simulation for document id 2296 edu.iu.uis.eden.exception.DocumentSimulatedRouteException: Error running simulation for document id 2296 at edu.iu.uis.eden.engine.simulation.SimulationEngine.process(SimulationEngine.java:139) at edu.iu.uis.eden.engine.simulation.SimulationEngine.runSimulation(SimulationEngine.java:78) at edu.iu.uis.eden.routelog.web.RouteLogAction.populateRouteLogFutureRequests(RouteLogAction.java:124) at edu.iu.uis.eden.routelog.web.RouteLogAction.start(RouteLogAction.java:86) at edu.iu.uis.eden.web.WorkflowAction.execute(WorkflowAction.java:107) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at edu.iu.uis.eden.web.StrutsRequestProcessor.process(StrutsRequestProcessor.java:53) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074) at edu.iu.uis.eden.web.UserLoginFilter.doFilter(UserLoginFilter.java:116) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at edu.iu.uis.eden.core.BootstrapFilterChain.doFilter(BootstrapFilter.java:306) at org.kuali.core.web.filter.KualiCasFilter.doFilter(KualiCasFilter.java:97) at edu.iu.uis.eden.core.BootstrapFilterChain.doFilter(BootstrapFilter.java:299) at edu.iu.uis.eden.core.BootstrapFilter.doFilter(BootstrapFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.kuali.core.web.filter.SessionFilter.doFilter(SessionFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Caused by: java.lang.NullPointerException at edu.iu.uis.eden.util.Utilities$PrioritySorter.compare(Utilities.java:174) at edu.iu.uis.eden.util.Utilities$RouteLogActionRequestSorter.compare(Utilities.java:208) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at edu.iu.uis.eden.util.Utilities$RouteLogActionRequestSorter.compare(Utilities.java:191) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at edu.iu.uis.eden.engine.simulation.SimulationEngine.process(SimulationEngine.java:129)

    Kuali JIRA | 9 years ago | Jaffrin Salam
    edu.iu.uis.eden.exception.DocumentSimulatedRouteException: Error running simulation for document id 2296
  2. 0

    When I have two or more recipients in the role then PrioritySorter is failing. Its trying to get the actionrequestId for the child request,which will be null for the child request,so I am getting a null pointer exception. Here is the stack trace 2008-03-20 10:30:05,104 [btpool0-2] D:2296 U:quickstart INFO edu.iu.uis.eden.util.PerformanceLogger :: Time: 458729 ms, docId=2296, Time to run simulation. 2008-03-20 10:30:05,104 [btpool0-2] D: U:quickstart INFO edu.iu.uis.eden.routelog.web.RouteLogAction :: Found Error while getting Future Action Requests: Error running simulation for document id 2296 edu.iu.uis.eden.exception.DocumentSimulatedRouteException: Error running simulation for document id 2296 at edu.iu.uis.eden.engine.simulation.SimulationEngine.process(SimulationEngine.java:139) at edu.iu.uis.eden.engine.simulation.SimulationEngine.runSimulation(SimulationEngine.java:78) at edu.iu.uis.eden.routelog.web.RouteLogAction.populateRouteLogFutureRequests(RouteLogAction.java:124) at edu.iu.uis.eden.routelog.web.RouteLogAction.start(RouteLogAction.java:86) at edu.iu.uis.eden.web.WorkflowAction.execute(WorkflowAction.java:107) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at edu.iu.uis.eden.web.StrutsRequestProcessor.process(StrutsRequestProcessor.java:53) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074) at edu.iu.uis.eden.web.UserLoginFilter.doFilter(UserLoginFilter.java:116) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at edu.iu.uis.eden.core.BootstrapFilterChain.doFilter(BootstrapFilter.java:306) at org.kuali.core.web.filter.KualiCasFilter.doFilter(KualiCasFilter.java:97) at edu.iu.uis.eden.core.BootstrapFilterChain.doFilter(BootstrapFilter.java:299) at edu.iu.uis.eden.core.BootstrapFilter.doFilter(BootstrapFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.kuali.core.web.filter.SessionFilter.doFilter(SessionFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Caused by: java.lang.NullPointerException at edu.iu.uis.eden.util.Utilities$PrioritySorter.compare(Utilities.java:174) at edu.iu.uis.eden.util.Utilities$RouteLogActionRequestSorter.compare(Utilities.java:208) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at edu.iu.uis.eden.util.Utilities$RouteLogActionRequestSorter.compare(Utilities.java:191) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at edu.iu.uis.eden.engine.simulation.SimulationEngine.process(SimulationEngine.java:129)

    Kuali JIRA | 9 years ago | Jaffrin Salam
    edu.iu.uis.eden.exception.DocumentSimulatedRouteException: Error running simulation for document id 2296
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

      No message provided

      at edu.iu.uis.eden.util.Utilities$PrioritySorter.compare()
    2. edu.iu.uis
      Utilities$RouteLogActionRequestSorter.compare
      1. edu.iu.uis.eden.util.Utilities$PrioritySorter.compare(Utilities.java:174)
      2. edu.iu.uis.eden.util.Utilities$RouteLogActionRequestSorter.compare(Utilities.java:208)
      2 frames
    3. Java RT
      Collections.sort
      1. java.util.Arrays.mergeSort(Unknown Source)
      2. java.util.Arrays.sort(Unknown Source)
      3. java.util.Collections.sort(Unknown Source)
      3 frames
    4. edu.iu.uis
      Utilities$RouteLogActionRequestSorter.compare
      1. edu.iu.uis.eden.util.Utilities$RouteLogActionRequestSorter.compare(Utilities.java:191)
      1 frame
    5. Java RT
      Collections.sort
      1. java.util.Arrays.mergeSort(Unknown Source)
      2. java.util.Arrays.sort(Unknown Source)
      3. java.util.Collections.sort(Unknown Source)
      3 frames
    6. edu.iu.uis
      SimulationEngine.process
      1. edu.iu.uis.eden.engine.simulation.SimulationEngine.process(SimulationEngine.java:129)
      1 frame