Opening Schedule Object (JSCH) in AWI results in error Object view can not be loaded.

Document ID : KB000084602
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
"Objekt-Ansicht kann nicht geladen werden!" ("Object view can not be loaded!")

com.vaadin.ui.Table$CacheUpdateException: Error during Table cache update. Additional causes not shown.

When opening a Schedule Object (JSCH) in the Automic Web Interface (AWI) occasionally an error message pops up.

"Objekt-Ansicht kann nicht geladen werden!" ("Object view can not be loaded!")
 
Caused by: java.lang.NullPointerExceptionat com.uc4.ecc.ae.sheet.attributes.agentpanel.AgentPresenter.getPeriodDuration(AgentPresenter.java:106)at com.uc4.ecc.ae.sheet.attributes.agentpanel.AgentView.getPeriodDurationFromModel(AgentView.java:76)at com.uc4.ecc.ae.sheet.attributes.AttributeSheet.getPeriodDuration(AttributeSheet.java:179)at com.uc4.ecc.ae.sheet.jsch.ScheduleSheetPresenter.getStartOffsetError(ScheduleSheetPresenter.java:142)at com.uc4.ecc.ae.sheet.jsch.ScheduleTableColumnGenerators$4.getConverter(ScheduleTableColumnGenerators.java:185)at com.uc4.ecc.ae.sheet.jsch.ScheduleTableColumnGenerators$4.getConverter(ScheduleTableColumnGenerators.java:164)at com.uc4.ecc.framework.commons.controls.editabletable.EditableTable.getPropertyValue(EditableTable.java:373)at com.vaadin.ui.Table.parseItemIdToCells(Table.java:2394)at com.vaadin.ui.Table.getVisibleCellsNoCache(Table.java:2232)at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1747)
When checking the log files the following is found:
com.vaadin.ui.Table$CacheUpdateException: Error during Table cache update. Additional causes not shown.at com.vaadin.ui.Table.maybeThrowCacheUpdateExceptions(Table.java:1769)at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1758)at com.vaadin.ui.Table.attach(Table.java:4286)at com.uc4.ecc.framework.commons.controls.editabletable.EditableTable.attach(EditableTable.java:447)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.server.AbstractClientConnector.attach(AbstractClientConnector.java:624)at com.vaadin.ui.AbstractComponent.attach(AbstractComponent.java:684)at com.vaadin.ui.AbstractComponent.setParent(AbstractComponent.java:587)at com.vaadin.ui.CustomComponent.setCompositionRoot(CustomComponent.java:122)at com.uc4.ecc.framework.commons.controls.asyncwidget.AsyncLoadingContainer.switchToRegularView(AsyncLoadingContainer.java:192)at com.uc4.ecc.framework.commons.controls.async.AsyncContainerRenderer.render(AsyncContainerRenderer.java:57)at com.uc4.ecc.framework.commons.controls.async.AsyncContainerRenderer.render(AsyncContainerRenderer.java:14)at com.uc4.ecc.framework.core.async.MementoSafeRenderer.render(MementoSafeRenderer.java:28)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4$1.run(BaseRequestCoordinator.java:443)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$RenderingStep.execute(BaseRequestCoordinator.java:615)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.renderInGuiThread(BaseRequestCoordinator.java:353)at com.uc4.ecc.framework.core.async.push.PushAsyncService$1.execute(PushAsyncService.java:205)at com.uc4.ecc.framework.core.async.push.PushAsyncService$1.execute(PushAsyncService.java:200)at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:30)at com.uc4.ecc.framework.core.async.push.PushAsyncService.readyForRendering(PushAsyncService.java:200)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.fireReadyForRendering(BaseRequestCoordinator.java:635)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.setRenderingStep(BaseRequestCoordinator.java:582)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.access$1800(BaseRequestCoordinator.java:34)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4.execute(BaseRequestCoordinator.java:435)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4.execute(BaseRequestCoordinator.java:427)at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:38)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.onResult(BaseRequestCoordinator.java:427)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator.access$900(BaseRequestCoordinator.java:34)at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$2.onSuccess(BaseRequestCoordinator.java:235)at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$TimeoutListenerRunnerImplementation.run(ContextAwareExecutorService.java:113)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)at java.util.concurrent.FutureTask.run(FutureTask.java:266)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:748)Caused by: java.lang.NullPointerExceptionat com.uc4.ecc.ae.sheet.attributes.agentpanel.AgentPresenter.getPeriodDuration(AgentPresenter.java:106)at com.uc4.ecc.ae.sheet.attributes.agentpanel.AgentView.getPeriodDurationFromModel(AgentView.java:76)at com.uc4.ecc.ae.sheet.attributes.AttributeSheet.getPeriodDuration(AttributeSheet.java:179)at com.uc4.ecc.ae.sheet.jsch.ScheduleSheetPresenter.getStartOffsetError(ScheduleSheetPresenter.java:142)at com.uc4.ecc.ae.sheet.jsch.ScheduleTableColumnGenerators$4.getConverter(ScheduleTableColumnGenerators.java:185)at com.uc4.ecc.ae.sheet.jsch.ScheduleTableColumnGenerators$4.getConverter(ScheduleTableColumnGenerators.java:164)at com.uc4.ecc.framework.commons.controls.editabletable.EditableTable.getPropertyValue(EditableTable.java:373)at com.vaadin.ui.Table.parseItemIdToCells(Table.java:2394)at com.vaadin.ui.Table.getVisibleCellsNoCache(Table.java:2232)at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1747)


 
Cause:
Cause type:
Defect
Root Cause: Saving a Schedule object causes a Java exception.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: In Progress

Fix Version(s):
Automic Web Interface 12.1.2 - Planned release date: 2018-05-23
Automic Web Interface 12.1.1 HF3 - Available
Additional Information:
Workaround :
Recycling AWI / TOMCAT the error message no longer appears, but after a while the message will reoccur.