Unexpected error: NullpointerException when replacing external dependency

book

Article ID: 195581

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

Scenario:

Error when attempting to replace external dependency in workflow using the AWI

External dependency cannot be replaced if ‘Within Parent’ field in the workflow properties is populated.

 

The following forced trace is thrown in AWI: 

An unexpected error occurred. Further details are available in the logfiles.

Hide Details*

(Stacktrace)

(No Message)

java.lang.NullPointerException

com.uc4.ecc.ae.sheet.taskproperties.calendar.ExternalCalendarConditionsTable.setItems(ExternalCalendarConditionsTable.java:42) com.uc4.ecc.ae.sheet.taskproperties.calendar.CalendarTabSheet.createExternalCalendarConditionsTable(CalendarTabSheet.java:149) com.uc4.ecc.ae.sheet.taskproperties.calendar.CalendarTabSheet.configureLayout(CalendarTabSheet.java:125) com.uc4.ecc.ae.sheet.taskproperties.calendar.CalendarTabSheet.showCalendarValues(CalendarTabSheet.java:68) com.uc4.ecc.ae.sheet.taskproperties.calendar.CalendarTabSheetPresenter.lambda$submitCalendarRequestCoordinator$8(CalendarTabSheetPresenter.java:202) com.uc4.ecc.framework.core.async.IAsyncService$2.render(IAsyncService.java:105) com.uc4.ecc.framework.core.async.IAsyncService$2.render(IAsyncService.java:101) com.uc4.ecc.framework.core.async.NoArgsRendererWrapper.render(NoArgsRendererWrapper.java:17) com.uc4.ecc.framework.core.async.NoArgsRendererWrapper.render(NoArgsRendererWrapper.java:7) com.uc4.ecc.framework.core.async.MementoSafeRenderer.render(MementoSafeRenderer.java:28) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4$1.run(BaseRequestCoordinator.java:455) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$RenderingStep.execute(BaseRequestCoordinator.java:633) com.uc4.ecc.framework.core.async.BaseRequestCoordinator.renderInGuiThread(BaseRequestCoordinator.java:365) com.uc4.ecc.framework.core.async.push.PushAsyncService$1.execute(PushAsyncService.java:209) com.uc4.ecc.framework.core.async.push.PushAsyncService$1.execute(PushAsyncService.java:204) com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:30) com.uc4.ecc.framework.core.async.push.PushAsyncService.readyForRendering(PushAsyncService.java:204) com.uc4.ecc.framework.core.async.BaseRequestCoordinator.fireReadyForRendering(BaseRequestCoordinator.java:653) com.uc4.ecc.framework.core.async.BaseRequestCoordinator.setRenderingStep(BaseRequestCoordinator.java:600) com.uc4.ecc.framework.core.async.BaseRequestCoordinator.access$1800(BaseRequestCoordinator.java:35) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4.execute(BaseRequestCoordinator.java:447) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$4.execute(BaseRequestCoordinator.java:439) com.uc4.ecc.framework.core.async.VaadinSessionLockUtil.exeuteLocked(VaadinSessionLockUtil.java:38) com.uc4.ecc.framework.core.async.BaseRequestCoordinator.onResult(BaseRequestCoordinator.java:439) com.uc4.ecc.framework.core.async.BaseRequestCoordinator.access$900(BaseRequestCoordinator.java:35) com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$2.onSuccess(BaseRequestCoordinator.java:243) com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$TimeoutListenerRunnerImplementation.run(ContextAwareExecutorService.java:113) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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

Defect

Environment

Release : 12.3.X

Component : AUTOMATION ENGINE

Resolution

Solution: The issue is being worked on by Engineering to be fixed at a future date.

Workaround: Empty ‘Within Parent’ field, and external dependency gets replaced with no issues.