Task to Uproc with an itself NOSIM inserted into a JochChain throws an error.
search cancel

Task to Uproc with an itself NOSIM inserted into a JochChain throws an error.

book

Article ID: 239900

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

If a user tries to create a job chain on a task that contains a uproc with a Non Simultaneity Condition on itself, the console throws the following error and it is impossible to create the Job Chain

|2022-03-11 15:45:03,983|ERROR||BackgroundWorker-5|com.orsyp.kmeleon.environment.ExceptionManager|An error occured on ENVIRONMENT: (node = uvms_name environment = [UJCENT/uvms_name/X])
com.orsyp.UniverseException: java.lang.reflect.InvocationTargetException
at com.orsyp.kmeleon.swing.businessviews.commands.SaveHelper.loadCurrentBusinessView(SaveHelper.java:449)
at com.orsyp.kmeleon.swing.businessviews.commands.SaveHelper.loadObjects(SaveHelper.java:225)
at com.orsyp.kmeleon.document.bvd.common.model.DefaultLoadProcess.load(DefaultLoadProcess.java:45)
at com.orsyp.kmeleon.document.bvd.common.features.MonitoringLoadProcess.load(MonitoringLoadProcess.java:28)
at com.orsyp.kmeleon.swing.businessviews.controller.BusinessViewsController$3.run(BusinessViewsController.java:245)
at com.orsyp.kmeleon.swing.businessviews.Canvas$1.run(Canvas.java:566)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.orsyp.kmeleon.swing.businessviews.commands.SaveHelper.loadCurrentBusinessView(SaveHelper.java:420)
... 12 more
Caused by: com.orsyp.UniverseRuntimeException: java.lang.reflect.InvocationTargetException
at com.orsyp.util.ChainOfResponsibility$Chain$State.invokeNextFilter(ChainOfResponsibility.java:259)
at com.orsyp.util.ChainOfResponsibility$Chain$State.access$300(ChainOfResponsibility.java:224)
at com.orsyp.util.ChainOfResponsibility$Chain.invoke(ChainOfResponsibility.java:205)
at com.sun.proxy.$Proxy20.importToCanvas(Unknown Source)
at com.orsyp.kmeleon.swing.businessviews.commands.SaveHelper$3.run(SaveHelper.java:423)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.orsyp.util.ChainOfResponsibility$Chain$State.invokeNextFilter(ChainOfResponsibility.java:253)
... 18 more
Caused by: com.orsyp.UniverseRuntimeException: java.lang.reflect.InvocationTargetException
at com.orsyp.util.ChainOfResponsibility$Chain$State.invokeNextFilter(ChainOfResponsibility.java:259)
at com.orsyp.util.ChainOfResponsibility$Chain$State.access$300(ChainOfResponsibility.java:224)
at com.orsyp.util.ChainOfResponsibility$Chain.invoke(ChainOfResponsibility.java:205)
at com.sun.proxy.$Proxy20.importToCanvas(Unknown Source)
at com.orsyp.kmeleon.swing.businessviews.CanvasPersistenceManager$2$1$1.importToCanvas(CanvasPersistenceManager.java:104)
... 23 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.orsyp.util.ChainOfResponsibility$Chain$State.invokeNextFilter(ChainOfResponsibility.java:253)
... 27 more
Caused by: java.lang.NullPointerException
at com.orsyp.kmeleon.document.bvd.common.view.uproc.UprocDesignDependencyLinkRenderingHints.isParentASession(UprocDesignDependencyLinkRenderingHints.java:133)
at com.orsyp.kmeleon.document.bvd.common.view.uproc.UprocDesignDependencyLinkRenderingHints.getKind(UprocDesignDependencyLinkRenderingHints.java:117)
at com.orsyp.kmeleon.swing.businessviews.Link.isVisible(Link.java:95)
at com.orsyp.kmeleon.swing.businessviews.Link.computeBounds(Link.java:103)
at com.orsyp.kmeleon.swing.businessviews.Link.updateBounds(Link.java:82)
at com.orsyp.kmeleon.swing.businessviews.Link.setLinkRenderer(Link.java:65)
at com.orsyp.kmeleon.swing.businessviews.Canvas.addLink(Canvas.java:671)
at com.orsyp.kmeleon.document.bvd.common.features.uproc.UprocDependencyNetwork.addLink(UprocDependencyNetwork.java:690)
at com.orsyp.kmeleon.document.bvd.common.features.uproc.UprocDependencyNetwork.addedUprocItem(UprocDependencyNetwork.java:369)
at com.orsyp.kmeleon.document.bvd.common.features.uproc.UprocDesignComponentLifeCycleListener.added(UprocDesignComponentLifeCycleListener.java:29)
at com.orsyp.kmeleon.swing.businessviews.Canvas.added(Canvas.java:1265)
at com.orsyp.kmeleon.swing.businessviews.Canvas.addItem(Canvas.java:643)
at com.orsyp.kmeleon.document.bvm.common.features.task.TaskMonitoringDropManager.dropToCanvas(TaskMonitoringDropManager.java:38)
at com.orsyp.kmeleon.document.bvm.common.features.task.AbstractTaskMonitoringPersistenceManager$2$1$1.run(AbstractTaskMonitoringPersistenceManager.java:256)
at com.orsyp.kmeleon.document.bvm.common.features.task.AbstractTaskMonitoringPersistenceManager$2$1$2.importToCanvas(AbstractTaskMonitoringPersistenceManager.java:308)
... 32 more
|2022-03-11 15:45:03,997|ERROR||BackgroundWorker-5|com.orsyp.kmeleon.swing.businessviews.controller.BusinessViewsController$3|com.orsyp.UniverseException: java.lang.reflect.InvocationTargetException

If the NoSIM condition is removed from the uproc the problem does not appear and the JOB Chain can be accessed and used without any problem.

This messages pops up in the console when this kind of design operation is attempted:

 

Environment

Release : 6.10.91

Component : Univiewer Console

Cause

This is a bug of the UV console introduced in version 6.10.91

Resolution

This bug is fixed with the UVC Console hotfix 6.10.92 which is now available.

The official fix is also available in version 6.10.101 and superior.