search cancel

Cannot publish process with NullPointerException


Article ID: 77055


Updated On:


CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)


Updated an action as shared component and tried to publish a process with the updated action. And then, following error was shown.
Unexpected error on server [null]. Please refer to server logs with timestamp [YYYY-MM-DD hh:mm:ss]
In nolio_dm_all.log on Management Server, NullPointerException was recorded in checkIfProcessIsInEditMode function.
YYYY-MM-DD hh:mm:ss,sss [http-nio-8080-exec-242] ERROR (com.nolio.releasecenter.designer.controllers.EditController:122) - Controller method error occurred.

However, other processes can be published at that time.


checkIfProcessIsInEditMode function checks if the process is Edit Mode or not. If Edit Mode, the function determines the user to edit the process.
So, the function needs Process ID and User ID. When one or both of IDs are not determined, it is possible that NullPointerException is occurred.


This problem was reported on Release Automation 6.5.


In this case, following steps could resolve this problem.
  1. Check if any deployments are not running.
  2. Stop RA service / daemon on Management Server (NAC).
  3. Remove LevelDB folder under <RA Installation>/activemq-data/nac.
  4. Start RA service / daemon on NAC.
  5. Check if problematic process can be published.