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. java.lang.NullPointerException at com.nolio.platform.server.dataservices.services.model.ProcessesDaoImpl.checkIfProcessIsInEditMode(ProcessesDaoImpl.java:394)
However, other processes can be published at that time.
Release Automation - version 6.x
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.
In this case, following steps could resolve this problem.