AWA Calendar keyword error: HOUR_OF_DAY: 0 -> 1

Document ID : KB000117747
Last Modified Date : 28/01/2019
Show Technical Document Details
Issue:
A Calendar keyword cannot be saved after it has been modified due to an error in the AWI:
2018-09-25 10:09:01,263 pool-2-thread-2382 [ERROR]  NOUI 0000000001087019 +3053 [controls.messageprovider.MessageProvider] - Error message shown to user: Error during XRequest com.uc4.communication.requests.SaveObject 
com.uc4.ecc.backends.exceptions.AutomationEngineAPIException: Error during XRequest com.uc4.communication.requests.SaveObject 
at com.uc4.ecc.backends.util.APICallHelper.sendRequestAndWait(APICallHelper.java:57) 
at com.uc4.ecc.backends.impl.dataservice.request.RequestService.lambda$sendAndWait$46(RequestService.java:65) 
at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.reportLock(VaadinSessionLockUtil.java:89) 
at com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:65) 
at com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:85) 
at com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) 
at com.uc4.ecc.backends.impl.dataservice.object.save.Save.saveObject(Save.java:18) 
at com.uc4.ecc.backends.impl.dataservice.object.save.Save.trySaveObject(Save.java:31) 
at com.uc4.ecc.backends.impl.dataservice.object.ObjectService.trySaveObject(ObjectService.java:705) 
at com.uc4.ecc.backends.dataservice.object.IObjectService$pbryglu.trySaveObject(Unknown Source) 
at com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.save(UC4ObjectPresenter.java:687) 
at com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.lambda$initSavingRequestCoordinator$94(UC4ObjectPresenter.java:763) 
at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:223) 
at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) 
at java.util.concurrent.FutureTask.run(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
at java.lang.Thread.run(Unknown Source) 
Caused by: java.lang.IllegalArgumentException: HOUR_OF_DAY: 0 -> 1
Environment:
Automic Web Interface v12.1.1 HF3 
Automic Web Interface v12.1.2 HF3
Cause:
The issue only occurs when using the AWI. No error when using the Java UI.
Resolution:
Upgrade the Automic Web Interface to one of the fixed versions:

Automation.Engine 12.3.0 - planned release ~2019-06-18
Automation.Engine 12.2.2 - planned release ~2019-02-28
Automation.Engine 12.1.4 - Available

Workaround:
Use Java UI.