Hi,
I have a very basic process model where I'm setting a new value for a users first name and last name, then setting a new value for the username and finally deactivating the user.
The process has been working as expected for approx. 1 month but is now showing this error on the Rename Users Smart Service:
The amount of time allocated for the completion of an unattended activity was insufficient to allow the activity to complete.
It also sporadically shows the following error, again on the same Rename Users Smart Service node:
An error occurred in executing an Activity Class.
Error in the tomcat.stdOut log:
2022-03-23 09:46:44,983 [ajp-nio-0.0.0.0-8009-exec-836] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536877698, classname=com.appiancorp.process.runtime.activities.StartProcessSmartService2 com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.initiateProcess.userMsg=Failed to start process. Process Model ID: 847.] alertMsg[error.initiateProcess.alertMsg=Failed to start process. Process Model ID: 847.]
...
Caused by: java.lang.NullPointerException...
2022-03-23 09:46:44,985 [ajp-nio-0.0.0.0-8009-exec-836] ERROR com.appiancorp.rest.shared.FallbackExceptionMapper - Internal Server Error on REST API invocation. java.lang.NullPointerExceptionThis process has not been recently changed, however, our environment was just upgraded to 22.1, in case that informs anything.
Does anyone have any advice?
Thanks in advance!
Discussion posts and replies are publicly visible
I have several follow up questions:
Hi Peter,
Thanks,
Jess
Thanks Jess, if this is happening every time (and it didn't before) and there's no obvious culprit like security or a large number of users, I think it's worth opening a ticket with Appian Support to have them investigate this further.
Anything new here? We faced that issue as well in one of our projects and this is a very odd one.