Expand my Community achievements bar.

java.lang.NullPointerException: null com.adobe.granite.workflow.core.job.JobHandler.process after renaming asset from workflow

Avatar

Level 2

we have workflow which triggers to rename an asset but my workflow is getting triggered multiple times with following exception

com.adobe.granite.workflow.core.job.JobHandler Error executing workflow step
java.lang.NullPointerException: null
at com.adobe.granite.workflow.core.job.JobHandler.process

1 Reply

Avatar

Level 6

Has this workflow ever run before successfully and suddenly started failing? Is this cloud or onprem? Happens in local or higher environments?Is it a custom workflow? Please add more context. Add the whole stacktrace in attachment to review. There maybe permission / repository errors blocking. Now rename asset is indeed expensive operation. One recommended way is to use Assets API. Adobe has already deprecated AssetManager API.  If this is custom workflow, running java assetmanager api, not surprised if it fails. You should move to Assets API.