Question
SSA
US
Last activity: 2 Sep 2024 8:40 EDT
Bulk Actions is not working. Fails with error.
Hello.
I was able to trace the error to this activity: pyGetRelevantActions. Specifically, it is failing in step 9, which is a snippet of Java, and I was able to trace it further to this section of code:
HashStringMap tkeys = new HashStringMap(); tkeys.put("pxObjClass","Rule-Obj-FlowAction"); tkeys.put("pyClassName","Work-"); tkeys.put("pyActionName",transferFlowAction);
// First open the Transfer Flow Action
ClipboardPage transferFA = tools.getDatabase().open(tkeys, false); // THIS RETURNS NULL
tempAction.putString("pyActionHTML", transferFA.getProperty("pyActionHTML").getStringValue()); // BECAUSE transferFA IS NULL, THIS CAUSES A NullPointerException.
Has anyone seen this before and can you tell me what steps I could take to resolve this issue? The call to open() should not result in a NULL in this scenario and yet it does. Any help is greatly appreciated.
Thank you.