IBM Support

Unresolved resource path passed to generic process results in java exception "java.lang.NullPointerException"

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)

[{"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"6.1;6.1.1;6.1.2;6.1.3;6.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
17 June 2018

UID

swg2C1000051