Opening the Monitor within the CA Automic Web Interface of a Generated Task in a Workflow leads to an error

Document ID : KB000118027
Last Modified Date : 23/10/2018
Show Technical Document Details
Issue:
When the parameterized Login for CA Automic Web Interface (AWI) is enabled via the configuration.properties parameter "parameter_login.enabled=true" and the additional parameter "&language=DE" is added to the login information the error 
 
Object name must always be provided

is displayed while opening the Monitor of a generated Task within an active Workflow.

The complete error (which can be found as a StackTrace of within the UI or in the Logfile of AWI) is the following:

 
java.lang.NullPointerException: Object name must always be provided
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)
	at com.uc4.webui.api.UC4ObjectReference.<init>(UC4ObjectReference.java:69)
	at com.uc4.webui.api.UC4ObjectReference.<init>(UC4ObjectReference.java:62)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.ProcessMonitoringPerspective.lambda$getOrCreateMonitorView$87(ProcessMonitoringPerspective.java:325)
	at java.util.HashMap.computeIfAbsent(Unknown Source)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.ProcessMonitoringPerspective.getOrCreateMonitorView(ProcessMonitoringPerspective.java:323)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.ProcessMonitoringPerspective.showMonitor(ProcessMonitoringPerspective.java:296)
	at com.uc4.ecc.plugins.ae.ProcessAutomationPluginInstance.lambda$openMonitor$328(ProcessAutomationPluginInstance.java:356)
	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.openMonitor(ProcessAutomationPluginInstance.java:356)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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:504)
	at com.uc4.ecc.ae.commons.ProcessAutomationCommonEvents.post(ProcessAutomationCommonEvents.java:491)
	at com.uc4.ecc.ae.commons.ProcessAutomationCommonEvents.openMonitor(ProcessAutomationCommonEvents.java:377)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.MonitorContentViewController.requestShowMonitor(MonitorContentViewController.java:1651)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.MonitorContentViewController.requestShowMonitor(MonitorContentViewController.java:1659)
	at com.uc4.ecc.plugins.ae.perspectives.processmonitoring.content.monitor.MonitorContentViewController.onWorkflowTaskActionSelected(MonitorContentViewController.java:1306)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.uc4.webui.common.observable.InternalObservable.lambda$createProxy$3(InternalObservable.java:36)
	at com.sun.proxy.$Proxy124.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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90)
	at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)
	at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1422)
	at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:380)
	at com.uc4.ecc.framework.entrypoint.servlet.main.MainApplicationServlet.service(MainApplicationServlet.java:147)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
	at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
	at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
	at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
	at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
	at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
	at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
	at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)
Environment:
N/A
Cause:
The issue is caused by specifying the language in the auto login URL which threw the errors and caused a mixed language display.
Resolution:
Workaround:
Do not use the parameter &language=DE when using the option parameter_login.enabled=true and the
parameterized Login is in use

Solution:
Upgrade to the fix version below or a higher one.

Component(s):
CA Automic Web Interface

Fix Version(s):
Automic.Web.Interface 12.2.1 - estimated, planned release date End of October 2018
Automic.Web.Interface 12.1.4 - estimated, planned release date End of January 2019