Hi,
Workflow fails with IndexOutOfBoundsException (full stack trace below). Any ideas?
I have Aria Automation Orchestrator 8.11.1 and TCA 2.3.0. Orchestrator is registered in TCA Appliance Manager and in vCenter (using workflow Add a vCenter Server instance).
2023-10-17 12:11:45.202 UTC [pool-6-thread-2, , , , TxId: ] ERROR c.v.t.w.e.WorkflowExecutionScheduler- Unable to execute step due to: java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
at com.vmware.tca.directory.AuthenticationServiceByVc.getGroups(AuthenticationServiceByVc.java:242)
at com.vmware.tca.directory.AuthenticationServiceByVc.getGroups(AuthenticationServiceByVc.java:248)
at com.vmware.tca.directory.AuthenticationServiceByVc.getUserContext(AuthenticationServiceByVc.java:98)
at com.vmware.tca.workflow.executor.WorkflowExecutionHandler.execute(WorkflowExecutionHandler.java:113)
at com.vmware.tca.workflow.executor.WorkflowExecutionScheduler.lambda$wrap$0(WorkflowExecutionScheduler.java:155)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source)
at java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)
at java.base/java.util.Objects.checkIndex(Unknown Source)
at java.base/java.util.ArrayList.get(Unknown Source)
at java.base/java.util.Collections$UnmodifiableList.get(Unknown Source)
at com.vmware.tca.directory.AuthenticationServiceByVc.validateAndGetVcConnection(AuthenticationServiceByVc.java:267)
at com.vmware.tca.directory.AuthenticationServiceByVc.getGroups(AuthenticationServiceByVc.java:203)
... 10 common frames omitted
Best regards,
Andreas