Unable to sync duplicated LDAP users

book

Article ID: 109845

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

When trying to sync LDAP user after duplicating it in Process Assembly Perspective, the following error message appears in the AWI:

Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpccom.vaadin.server.ServerRpcManager$RpcInvocationException 
(No Message)java.lang.reflect.InvocationTargetException 
Invocation of method buttonClick in com.automic.ecc.plugins.usermanagement.extensions.content.wizard.user.tabs.general.general.GeneralUserPropertiesController$$Lambda$1449/2114244683 failed.com.vaadin.event.ListenerMethod$MethodException 
No value presentjava.util.NoSuchElementException 
java.util.Optional.get(Unknown Source) 
com.automic.ecc.plugins.usermanagement.extensions.content.wizard.user.tabs.general.general.GeneralUserPropertiesController.onLdapConnectionSynchronizationClicked(GeneralUserPropertiesController.java:303) 
com.automic.ecc.plugins.usermanagement.extensions.content.wizard.user.tabs.general.general.GeneralUserPropertiesController.lambda$new$5bc18da8$1(GeneralUserPropertiesController.java:103) 
sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
java.lang.reflect.Method.invoke(Unknown Source) 
com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) 
com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200) 
com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163) 
com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1015) 
com.vaadin.ui.Button.fireClick(Button.java:377) 
com.vaadin.ui.Button$1.click(Button.java:54) 
sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
java.lang.reflect.Method.invoke(Unknown Source) 
com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158) 
com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119) 
com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:437) 
com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:402) 
com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273) 
com.vaadin.server.communication.PushHandler$2.run(PushHandler.java:148) 
com.vaadin.server.communication.PushHandler.callWithUi(PushHandler.java:240) 
com.vaadin.server.communication.PushHandler.onMessage(PushHandler.java:494) 
com.vaadin.server.communication.PushAtmosphereHandler.onMessage(PushAtmosphereHandler.java:87) 
com.vaadin.server.communication.PushAtmosphereHandler.onRequest(PushAtmosphereHandler.java:77) 
org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:199) 
org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:107) 
org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:154) 
org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket.service(Tomcat7Servlet30SupportWithWebSocket.java:62) 
org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2075) 
org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:571) 
org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:333) 
org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101) 
org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:328) 
org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:425) 
org.atmosphere.websocket.DefaultWebSocketProcessor.dispatchReader(DefaultWebSocketProcessor.java:795) 
org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:527) 
org.atmosphere.container.TomcatWebSocketHandler.onTextData(TomcatWebSocketHandler.java:104) 
org.apache.catalina.websocket.StreamInbound.doOnTextData(StreamInbound.java:191)

In AWI logs (Tomcat logs), you see the following error:

http-bio-8080-exec-13 [ERROR] AUTOMIC:100/USER/DOMAIN NOUI 0000000001012012 [controls.messageprovider.MessageProvider] - Error message shown to user: An unexpected error occurred. Further details are available in the logfiles. 
com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc

Cause

Bug

Environment

Release: AUTWAB99000-12.2-Automic Workload Automation-Base Edition
Component:

Resolution

Please update to a fix version:

Automic.Web.Interface 12.2.2 - Available 
Automic.Web.Interface 12.3.0 - planned release on 2019-03-26

Workaround: 
Duplicate the user from the Administration Perspective and “Synchronize” it for LDAP connection afterwards.