[Action Builder] error occurrs while validating task 'BuildPack' (export)

book

Article ID: 84679

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
An error occurred while validating task 'BuildPack' (export). null com.uc4.ecc.plugins.actioncommon.utils.UIException$UIUnexpectedException

While exporting the Custom Action Pack (both via Package Manager or Action Builder) the following error results:
 
An error occurred while validating task 'BuildPack' (export). null   com.uc4.ecc.plugins.actioncommon.utils.UIException$UIUnexpectedException
 An error occurred while validating task 'BuildPack' (export)
 com.automic.apm.exceptions.ApmException
 (No Message)
 java.lang.NullPointerException
 com.automic.apm.models.ObjectContent$2.get(ObjectContent.java:58) com.automic.apm.models.ObjectContent$2.get(ObjectContent.java:46)  com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:125)   com.automic.apm.models.ObjectContent.getAttribute(ObjectContent.java:99)  com.automic.apm.internal.content.linters.ActionContentLinter.warnNotGenerateAtRunTime(ActionContentLinter.java:70)  com.automic.apm.internal.content.linters.ActionContentLinter.validate(ActionContentLinter.java:35)  com.automic.apm.internal.content.linters.AbstractObjectLinter.validate(AbstractObjectLinter.java:24)  com.automic.apm.models.ArtifactContent.lint(ArtifactContent.java:245)  com.automic.apm.tasks.BuildPack.export(BuildPack.java:195)   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  java.lang.reflect.Method.invoke(Method.java:498)   com.automic.apm.internal.utils.JavaMethod.invoke(JavaMethod.java:62)  com.automic.apm.internal.excuters.TaskAnnotationFinder$TaskAnnotation.doExecute(TaskAnnotationFinder.java:92)  com.automic.apm.internal.excuters.TaskAnnotationFinder$TaskAnnotation.execute(TaskAnnotationFinder.java:85)  com.automic.apm.internal.excuters.TaskValidationExecuter.validate(TaskValidationExecuter.java:78)  com.automic.apm.internal.excuters.TaskValidationExecuter.execute(TaskValidationExecuter.java:49)  com.automic.apm.internal.excuters.DiagnosableTaskExecuter.execute(DiagnosableTaskExecuter.java:51)  com.automic.apm.DefaultTaskManager.execute(DefaultTaskManager.java:65)   com.uc4.ecc.plugins.actioncommon.apm.APMOperation.process(APMOperation.java:74)  com.uc4.ecc.plugins.actioncommon.apm.APMOperation.execute(APMOperation.java:50)  com.uc4.ecc.plugins.actionbuilder.content.view.actionpack.build.ProcessBuild.onStart(ProcessBuild.java:66)  com.uc4.ecc.plugins.actioncommon.uicore.RealtimeLoading.run(RealtimeLoading.java:76)  com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$RunnableImplementation.run(ContextAwareExecutorService.java:44)  java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) java.util.concurrent.FutureTask.run(FutureTask.java:266)  java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)   java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  java.lang.Thread.run(Thread.java:745)

 
The error caused by the action pack contains objects with name pattern "PUB.ACTION" but the type is not JOBP.

Cause

Cause type:
Defect
Root Cause: Action builder fails to export when action pack contains an object with name pattern "PUB.ACTION" but the type is not JOBP.

Environment

Release: AUTOME99000-2.0-Automic-Oracle Retail MOM-Enterprise Edition
Component:

Resolution

Update to a fix version listed below or a newer version if available.

Action builder fails to export when action pack contains an object with name pattern "PUB.ACTION" but the type is not JOBP.
An issue has been fixed where an Action Pack could not be exported if it contained objects of a type different from JOBP with name patt
ern "PUB-ACTION".

Fix Status: In Progress

Fix Version(s):
Package Manager 3.1.0 - Planned release date; 2018-06-19
Package Manager 3.0.1 - Available
Package Manager 2.0.4 - Available

Additional Information

Workaround:
Export the single task.