Troubleshooting
Problem
Attempts to specify the resource path of an IBM UrbanCode Deploy agent resource results in the exception "java.lang.NullPointerException" if the resource path cannot be resolved by the agent.
Symptom
In IBM UrbanCode Deploy, when you are adding a Run Generic Process Step in a For Every Agent Step in an application process, you are asked to specify the resource path of the agent resource. If the resource path cannot be resolved to an agent resource, you will receive the following exception:
java.lang.NullPointerException
at com.urbancode.ds.subsys.process.activity.RunProcessActivity.execute(RunProcessActivity.java:310)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:607)
at com.urbancode.air.workflow.ExecutionContext.executeActivityMethod(ExecutionContext.java:658)
at com.urbancode.air.workflow.ExecutionContext.executeActivityMethodByName(ExecutionContext.java:551)
at com.urbancode.air.workflow.DispatchedTask.execute(DispatchedTask.java:243)
at com.urbancode.air.workflow.WorkflowRuntime$6.run(WorkflowRuntime.java:268)
at com.urbancode.air.workflow.WorkflowRuntime$WorkflowTaskAction.call(WorkflowRuntime.java:353)
at com.urbancode.air.workflow.WorkflowRuntime$WorkflowTaskAction.call(WorkflowRuntime.java:326)
at com.urbancode.air.workflow.WorkflowRuntime$TxWrapper.call(WorkflowRuntime.java:501)
at com.urbancode.air.workflow.ExceptionLogWrapper.call(ExceptionLogWrapper.java:41)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at com.urbancode.air.workflow.Scheduler$Runner.run(Scheduler.java:84)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:781)
at com.urbancode.commons.util.concurrent.NamedThreadFactory$NamedThread.run(NamedThreadFactory.java:40)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg2C1000051