Sporadically a stacktrace is shown when opening a Workflow Monitor in the CA Automic Web Interface v12.1.1

Document ID : KB000097894
Last Modified Date : 29/06/2018
Show Technical Document Details
Issue:
On some occasions it is possible that a stack trace is displayed within the CA Automic Web Interface (AWI) when opening the Workflow Monitor.

The Stacktrace looks like the following:

 
java.lang.Exception: Connection could not be created: 2011504/8_to_2011504/10; source was not found! 
at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.gwe.WorkflowMonitorContentController$2.onException(WorkflowMonitorContentController.java:78) 
at com.uc4.ecc.widgets.canvas.gwe.eventhandling.EventHandler.onException(EventHandler.java:137) 
at sun.reflect.GeneratedMethodAccessor655.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) 
at java.lang.reflect.Method.invoke(Method.java:507) 
at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158) 
at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119) 
at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:437) 
at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:402) 
at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273) 
at com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:148) 
at com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:240) 
at com.vaadin.server.communication.PushHandler.onMessage(PushHandler.java:494) 
at com.vaadin.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:87) 
at com.vaadin.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77) 
at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:199) 
at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:107) 
at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:154) 
at org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.service(Tomcat7Servlet30SupportWithWebSocket.java:62) 
at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2075) 
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:571) 
at org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:333) 
at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101) 
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:328) 
at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:425) 
at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatchReader(DefaultWebSocketProcessor.java:795) 
at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:527) 
at org.atmosphere.container.TomcatWebSocketHandler.onTextData(TomcatWebSocketHandler.java:104) 
at org.apache.catalina.websocket.StreamInbound.doOnTextData(StreamInbound.java:191) 
at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:139) 
at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88) 
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:619) 
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
at java.lang.Thread.run(Thread.java:785)
As Reference to the Stacktrace please also see following screenshot:

User-added image

Checking the AWI LogFiles the following error can be seen:
 
java.util.NoSuchElementException: Object type isn't available
	at com.uc4.webui.api.UC4ObjectReference.getObjectType(UC4ObjectReference.java:195)
	at com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectLoader.addToFragment(UC4ObjectLoader.java:339)
	at com.uc4.ecc.plugins.ae.common.views.executions.ExecutionPresenter.getContentViewContext(ExecutionPresenter.java:263)
	at com.uc4.ecc.plugins.ae.common.views.executions.ExecutionView.getContentViewContext(ExecutionView.java:218)
	at com.uc4.ecc.framework.entrypoint.fragment.FragmentService.getFragment(FragmentService.java:113)
	at com.uc4.ecc.framework.entrypoint.fragment.FragmentService.updateFragmentToView(FragmentService.java:88)
	at com.uc4.ecc.framework.entrypoint.core.ContentDirector.updateFragmentOfCurrentTab(ContentDirector.java:137)
	at com.uc4.ecc.framework.entrypoint.core.ContentDirector.handleTabSwitch(ContentDirector.java:120)
	at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
	at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)
	at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)
	at com.uc4.ecc.framework.core.async.ILockUtility$1.execute(ILockUtility.java:10)
	at com.uc4.ecc.framework.core.async.ILockUtility$1.execute(ILockUtility.java:6)
	at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:30)
	at com.uc4.ecc.framework.core.async.ILockUtility.executeLocked(ILockUtility.java:6)
	at com.uc4.ecc.framework.entrypoint.core.ECCEventBusLockedExecutor.execute(ECCEventBusLockedExecutor.java:34)
	at com.google.common.eventbus.AsyncEventBus.dispatch(AsyncEventBus.java:113)
	at com.google.common.eventbus.AsyncEventBus.dispatchQueuedEvents(AsyncEventBus.java:102)
	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
	at com.uc4.ecc.framework.entrypoint.core.ECCEventBus.post(ECCEventBus.java:93)
	at com.uc4.ecc.framework.core.events.TabEvents.post(TabEvents.java:57)
	at com.uc4.ecc.framework.core.events.TabEvents.selectedTab(TabEvents.java:65)
	at com.uc4.ecc.framework.entrypoint.core.windows.TabPresenter.selectTab(TabPresenter.java:223)
	at com.uc4.ecc.framework.entrypoint.core.windows.TabPresenter.showInTab(TabPresenter.java:79)
	at com.uc4.ecc.framework.entrypoint.core.windows.PerspectiveEventHandler.onContentViewRequested(PerspectiveEventHandler.java:252)
	at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
	at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)
	at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)
	at com.uc4.ecc.framework.core.async.ILockUtility$1.execute(ILockUtility.java:10)
	at com.uc4.ecc.framework.core.async.ILockUtility$1.execute(ILockUtility.java:6)
	at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:30)
	at com.uc4.ecc.framework.core.async.ILockUtility.executeLocked(ILockUtility.java:6)
	at com.uc4.ecc.framework.entrypoint.core.ECCEventBusLockedExecutor.execute(ECCEventBusLockedExecutor.java:34)
	at com.google.common.eventbus.AsyncEventBus.dispatch(AsyncEventBus.java:113)
	at com.google.common.eventbus.AsyncEventBus.dispatchQueuedEvents(AsyncEventBus.java:102)
	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
	at com.uc4.ecc.framework.entrypoint.core.ECCEventBus.post(ECCEventBus.java:93)
	at com.uc4.ecc.framework.core.events.ContentViewEvents.openContentInSpecificTab(ContentViewEvents.java:147)
	at com.uc4.ecc.framework.core.events.ContentViewEvents.showContentInNewTab(ContentViewEvents.java:91)
	at com.uc4.ecc.framework.commons.base.BasePerspective.requestShow(BasePerspective.java:63)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.ProcessMonitoringPerspective.showStatistics(ProcessMonitoringPerspective.java:344)
	at com.uc4.ecc.plugins.ae.ProcessAutomationPluginInstance.lambda$openStatistics$224(ProcessAutomationPluginInstance.java:303)
	at com.uc4.ecc.plugins.ae.ProcessAutomationPluginInstance$$Lambda$1113.00000000259A4050.accept(Unknown Source)
	at com.uc4.ecc.plugins.ae.ProcessAutomationPluginInstance.handleEvent(ProcessAutomationPluginInstance.java:481)
	at com.uc4.ecc.plugins.ae.ProcessAutomationPluginInstance.handleProcessMonitoringEvent(ProcessAutomationPluginInstance.java:467)
	at com.uc4.ecc.plugins.ae.ProcessAutomationPluginInstance.openStatistics(ProcessAutomationPluginInstance.java:303)
	at sun.reflect.GeneratedMethodAccessor405.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
	at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34)
	at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:117)
	at com.uc4.ecc.framework.core.async.ILockUtility$1.execute(ILockUtility.java:10)
	at com.uc4.ecc.framework.core.async.ILockUtility$1.execute(ILockUtility.java:6)
	at com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:30)
	at com.uc4.ecc.framework.core.async.ILockUtility.executeLocked(ILockUtility.java:6)
	at com.uc4.ecc.framework.entrypoint.core.ECCEventBusLockedExecutor.execute(ECCEventBusLockedExecutor.java:34)
	at com.google.common.eventbus.AsyncEventBus.dispatch(AsyncEventBus.java:113)
	at com.google.common.eventbus.AsyncEventBus.dispatchQueuedEvents(AsyncEventBus.java:102)
	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
	at com.uc4.ecc.framework.entrypoint.core.ECCEventBus.post(ECCEventBus.java:93)
	at com.uc4.ecc.ae.commons.ProcessAutomationCommonEvents.post(ProcessAutomationCommonEvents.java:528)
	at com.uc4.ecc.ae.commons.ProcessAutomationCommonEvents.openStatistics(ProcessAutomationCommonEvents.java:415)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.MonitorContentViewController.requestShowObjectView(MonitorContentViewController.java:1646)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.MonitorContentViewController.onWorkflowTaskActionSelected(MonitorContentViewController.java:1294)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.MonitorContentViewController$$Lambda$999.00000000286F4950.contextMenuItemSelected(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.uc4.webui.common.observable.InternalObservable.lambda$createProxy$0(InternalObservable.java:36)
	at com.uc4.webui.common.observable.InternalObservable$$Lambda$36.00000000255222B0.invoke(Unknown Source)
	at com.sun.proxy.$Proxy63.contextMenuItemSelected(Unknown Source)
	at com.uc4.ecc.framework.commons.controls.contextmenu.ContextMenuController.onItemClicked(ContextMenuController.java:62)
	at com.uc4.ecc.framework.commons.controls.contextmenu.BaseContextMenuController$1.onEntrySelected(BaseContextMenuController.java:35)
	at com.uc4.ecc.framework.commons.controls.contextmenu.ContextMenuEntry$ISelectionListener.onEntriesSelected(ContextMenuEntry.java:29)
	at com.uc4.ecc.framework.commons.controls.contextmenu.ContextMenuEntry.onEntriesSelected(ContextMenuEntry.java:105)
	at com.uc4.ecc.framework.commons.controls.contextmenu.componentfactories.ButtonContextMenuEntryFactory.lambda$addListeners$eb96908c$1(ButtonContextMenuEntryFactory.java:35)
	at com.uc4.ecc.framework.commons.controls.contextmenu.componentfactories.ButtonContextMenuEntryFactory$$Lambda$902.0000000028C77510.buttonClick(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200)
	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163)
	at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1015)
	at com.vaadin.ui.Button.fireClick(Button.java:377)
	at com.vaadin.ui.Button$1.click(Button.java:54)
	at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:507)
	at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)
	at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119)
	at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:437)
	at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:402)
	at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)
	at com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:148)
	at com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:240)
	at com.vaadin.server.communication.PushHandler.onMessage(PushHandler.java:494)
	at com.vaadin.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:87)
	at com.vaadin.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77)
	at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:199)
	at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:107)
	at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:154)
	at org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.service(Tomcat7Servlet30SupportWithWebSocket.java:62)
	at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2075)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:571)
	at org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:333)
	at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:328)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:425)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatchReader(DefaultWebSocketProcessor.java:795)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:527)
	at org.atmosphere.container.TomcatWebSocketHandler.onTextData(TomcatWebSocketHandler.java:104)
	at org.apache.catalina.websocket.StreamInbound.doOnTextData(StreamInbound.java:191)
	at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:139)
	at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:88)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:619)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:785)

 
Cause:
The issue can happen when some connections are out of sync with the entities so they couldn't be visually created.
A bug was fixed when such a connection is now encountered it won't be visually created anymore.

 
Resolution:
Update to a fix version listed below or a newer version if available.
 
Fix versions:
CA Automic Web Interface (UI) 12.2.0 - Planned released with End of June 2018
CA Automic Web Interface (UI) 12.1.3 - Planned released with End of September 2018