Clarity

  • 1.  Error in NSA Log file bg-niku.log

    Posted Mar 01, 2010 08:15 PM
     Hi,  I am getting the following error in Niku log file, bg-niku.log, in Niku System AdministratorErrors are marked in RED below  This error is getting repeated every 5 minutes.  Could you please let me know if any body experienced / Reason  this error.      dbResults size: 1
      DBResultSet: 0 No of rows: 3
          Row: 0 No of columns: 3
              Column Name: status_code Value: BPM_AIS_RUNNING
              Column Name: step_action_id Value: 5031837
              Column Name: id Value: 5395947
          Row: 1 No of columns: 3
              Column Name: status_code Value: BPM_AIS_RUNNING
              Column Name: step_action_id Value: 5031837
              Column Name: id Value: 5406038
          Row: 2 No of columns: 3
              Column Name: status_code Value: BPM_AIS_RUNNING
              Column Name: step_action_id Value: 5031837
              Column Name: id Value: 5499144   at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:106)
     at com.niku.bpm.engine.rules.Pipeline.run(Pipeline.java:221)
    Caused by: com.niku.bpm.BpmException: getSynchronouslyRunningAction - Cannot get synchronously running action Did not get exactly one rowset with 0 or 1 row back.
    dbResults size: 1
      DBResultSet: 0 No of rows: 3
          Row: 0 No of columns: 3
              Column Name: status_code Value: BPM_AIS_RUNNING
              Column Name: step_action_id Value: 5031837
              Column Name: id Value: 5395947
          Row: 1 No of columns: 3
              Column Name: status_code Value: BPM_AIS_RUNNING
              Column Name: step_action_id Value: 5031837
              Column Name: id Value: 5406038
          Row: 2 No of columns: 3
              Column Name: status_code Value: BPM_AIS_RUNNING
              Column Name: step_action_id Value: 5031837
              Column Name: id Value: 5499144   at com.niku.bpm.engine.persistence.EnginePersistenceUtils.getSynchronouslyRunningActionResult(EnginePersistenceUtils.java:1203)
     at com.niku.bpm.engine.objects.StepInstance.processSynchronousStepAction(StepInstance.java:830)
     at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:63)
     ... 1 more
    ERROR 2010-03-02 00:05:21,890 [Action Execution Pipeline 0] bpm.engine (process_admin:9540210__6b3905b4:none) Error (will retry) caused by Step Instance: com.niku.bpm.engine.objects.StepInstance@17d56b [Id: 5376120 Process Instance Id: 5519038 Step Id: 5003923 State: BPM_SIS_EXEC_ACTION Step Name: null Start Date: 2008-11-13 17:59:24.0 Expected End Date: null Percent Complete: 0.666667 Warned: false Retry Count: 4441 No of Pre Conditions: -1 No of Post Conditions: -1 Last Condition Eval Time: 0 Pre Condition Wait Events: null Post Condition Wait Events: null Pass Conditions: [] Error Id: -1
     Process Thread: com.niku.bpm.engine.objects.ProcessThread@bc9f58 [Id: 5519038 Parent Step Instance Id: -1 Join Step Instance Id: -1]
     Split Threads: null
     Join Threads:null]
    com.niku.bpm.BpmException: com.niku.bpm.BpmException: getSynchronouslyRunningAction - Cannot get synchronously running action


  • 2.  Re: Error in NSA Log file bg-niku.log

    Posted Mar 01, 2010 08:47 PM
    My first simple suggestion, is to take this part of the error message:   Process Instance Id: 5519038   and use that id to replace in this URL (if you are using v12 or v8 clarity)  https:// >/niku/app?action=bpm.stepHistory&process_instance_id= 5519038 &object_type=admin&ui.page.space=bpm.processDefinitions&ui.page.template=union.adminPage&bpm.returnModuleAction=bpm.processInstancesReturn  and see what process it is.  This would be the first step in your investigation I'd say.  Otherwise, navigate to Clarity > Admin > Processes > Initiated > [filter by Error status] Message Edited by samos on 02-03-2010 05:48 PM [left]


  • 3.  RE: Re: Error in NSA Log file bg-niku.log

    Posted Jul 17, 2013 10:19 AM
    We are on 12.1.1 and getting all our process stuck. ONce BG is restarted a few go through, but then they get stuck again. Processes can be seen under Initiated Processes, but under process engines, the number of processes does not increase. So it looks like it is not sending the proceses to the engines. In the BG logs we get the following error:


    ERROR 2013-07-17 06:59:42,203 [Process Loader] bpm.engine (PROCESS_ADMIN:11123918__4D8AE568-1D89-40A3-AF29-1C5108DF7A73:none)
    com.niku.bpm.BpmException: loadProcessInstances - Missmatched Process Threads. threadIndex: 0 threadRows.length: 10

    Next it lists all the 9 process IDs it has. We found the 10th one that it is trying to find. We do not see that ID in the system or bpm_run_processes table. Any idea where it mught be coming from?

    Also that process instance id is same as the thread id also.