java.lang.NullPointerException: null com.adobe.granite.workflow.core.job.JobHandler.process after renaming asset from workflow | Community
Skip to main content
Level 2
October 15, 2024
Question

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

  • October 15, 2024
  • 1 reply
  • 421 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

sarav_prakash
Community Advisor
Community Advisor
October 16, 2024

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.