Unable to edit or delete objects | XRequest ... GetRestEndpoints ... error

book

Article ID: 201011

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Receiving an error when trying to edit or delete objects.

 

Error

Error during XRequest com.uc4.communication.requests.GetRestEndpoints
com.uc4.ecc.backends.exceptions.AutomationEngineAPIException
com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:74) com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) com.uc4.ecc.backends.impl.dataservice.object.ObjectService.getObjectUsages(ObjectService.java:1574) com.uc4.ecc.backends.dataservice.object.IObjectService$pbryglu.getObjectUsages(Unknown Source) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.SingleItemDeleteDialog$ObjectReferenceCheck.lambda$test$198(SingleItemDeleteDialog.java:56) java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.SingleItemDeleteDialog$ObjectReferenceCheck.test(SingleItemDeleteDialog.java:57) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.DeleteDialogPresenter.lambda$dialogOpened$142(DeleteDialogPresenter.java:40) com.uc4.ecc.framework.commons.controls.asyncwidget.AsyncLoadingContainer.lambda$createRequestCoordinator$28(AsyncLoadingContainer.java:363) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:16) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:7) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:231) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748)
Error during XRequest com.uc4.communication.requests.GetRestEndpoints
com.uc4.ecc.backends.exceptions.AutomationEngineAPIException
com.uc4.ecc.backends.util.APICallHelper.sendRequestAndWait(APICallHelper.java:57) com.uc4.ecc.backends.impl.dataservice.request.RequestService.lambda$sendAndWait$4(RequestService.java:65) com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.reportLock(VaadinSessionLockUtil.java:94) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:65) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:85) com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.getEndpointURLList(RestConnectionService.java:145) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.getConnection(RestConnectionService.java:104) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRestRequestAndWait(RestConnectionService.java:62) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRequestWithAuthAndWait(RestConnectionService.java:51) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:72) com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) com.uc4.ecc.backends.impl.dataservice.object.ObjectService.getObjectUsages(ObjectService.java:1574) com.uc4.ecc.backends.dataservice.object.IObjectService$pbryglu.getObjectUsages(Unknown Source) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.SingleItemDeleteDialog$ObjectReferenceCheck.lambda$test$198(SingleItemDeleteDialog.java:56) java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.SingleItemDeleteDialog$ObjectReferenceCheck.test(SingleItemDeleteDialog.java:57) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.DeleteDialogPresenter.lambda$dialogOpened$142(DeleteDialogPresenter.java:40) com.uc4.ecc.framework.commons.controls.asyncwidget.AsyncLoadingContainer.lambda$createRequestCoordinator$28(AsyncLoadingContainer.java:363) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:16) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:7) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:231) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748)
Message box received: 45097 of type E with inserts RestEndpointRequest shown, message 'Runtime error in component 'RestEndpointRequest'.'.
com.uc4.webui.util.MessageBoxException
com.uc4.webui.util.MessageBoxException.provoke(MessageBoxException.java:33) com.uc4.ecc.backends.util.APICallHelper.sendRequestAndWait(APICallHelper.java:52) com.uc4.ecc.backends.impl.dataservice.request.RequestService.lambda$sendAndWait$4(RequestService.java:65) com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.reportLock(VaadinSessionLockUtil.java:94) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:65) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:85) com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.getEndpointURLList(RestConnectionService.java:145) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.getConnection(RestConnectionService.java:104) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRestRequestAndWait(RestConnectionService.java:62) com.uc4.ecc.backends.impl.dataservice.connection.RestConnectionService.sendRequestWithAuthAndWait(RestConnectionService.java:51) com.uc4.ecc.backends.impl.dataservice.request.RequestService.sendAndWait(RequestService.java:72) com.uc4.ecc.backends.dataservice.request.IRequestService$pbryglu.sendAndWait(Unknown Source) com.uc4.ecc.backends.impl.dataservice.object.ObjectService.getObjectUsages(ObjectService.java:1574) com.uc4.ecc.backends.dataservice.object.IObjectService$pbryglu.getObjectUsages(Unknown Source) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.SingleItemDeleteDialog$ObjectReferenceCheck.lambda$test$198(SingleItemDeleteDialog.java:56) java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.SingleItemDeleteDialog$ObjectReferenceCheck.test(SingleItemDeleteDialog.java:57) com.uc4.ecc.ae.commons.controls.objectactions.dialogs.deleteobject.DeleteDialogPresenter.lambda$dialogOpened$142(DeleteDialogPresenter.java:40) com.uc4.ecc.framework.commons.controls.asyncwidget.AsyncLoadingContainer.lambda$createRequestCoordinator$28(AsyncLoadingContainer.java:363) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:16) com.uc4.ecc.framework.core.async.NoArgsLoaderWrapper.load(NoArgsLoaderWrapper.java:7) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:231) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748)

Cause

Caused by the CPs being unable to access the IP or DNS name that the JCP is bound to.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

1) For the WPs and CPs, please open the ucsrv.ini file and change the line that shows:

; hostname=

remove the semi-colon to uncomment this and after the equals sign, put in the fully qualified domain name of the server?


2) Restart all WPs and CPs for the system

If this does not resolve the issue, please send WP and CP logs so we can take a look