Bug #4199
closedNPE in org.kepler.moml.NamedObjId
0%
Description
I get the following exception:
java.lang.NullPointerException
at org.kepler.moml.NamedObjId.changeExecuted(NamedObjId.java:222)
at ptolemy.kernel.util.ChangeRequest.execute(ChangeRequest.java:202)
at ptolemy.kernel.util.NamedObj.executeChangeRequests(NamedObj.java:699)
at ptolemy.kernel.util.NamedObj.setDeferringChangeRequests(NamedObj.java:1735)
at ptolemy.kernel.util.NamedObj.executeChangeRequests(NamedObj.java:704)
at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1687)
at ptolemy.actor.CompositeActor.requestChange(CompositeActor.java:1349)
at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1670)
at org.kepler.monitor.MonitorManager._addMonitorAttributeForEntity(MonitorManager.java:585)
at org.kepler.monitor.MonitorManager._monitor(MonitorManager.java:521)
at org.kepler.monitor.MonitorManager._initialize(MonitorManager.java:472)
at org.kepler.monitor.MonitorManager.initialize(MonitorManager.java:279)
at ptolemy.actor.CompositeActor.initialize(CompositeActor.java:656)
at ptolemy.actor.Manager.initialize(Manager.java:615)
at ptolemy.actor.Manager.execute(Manager.java:338)
at ptolemy.actor.Manager.run(Manager.java:1118)
at ptolemy.actor.Manager$3.run(Manager.java:1159)
when I try to run this workflow:
https://code.kepler-project.org/code/kepler/trunk/workflows/test/monitor/monitor-0.xml
Updated by Daniel Crawl over 15 years ago
I'm getting another exception in NamedObjId that looks related. This one can be reproduced by opening demos/getting-started/06-WebServicesAndDataTransformation.xml, double clicking on Web Service Actor, then changing the method name. (Make sure your WebService actor source is updated).
Updated by Daniel Crawl over 15 years ago
Fixed. There were two bugs: dereferencing a null container, and sometimes the referral list attribute was being created without a name.