Project

General

Profile

Actions

Bug #4199

closed

NPE in org.kepler.moml.NamedObjId

Added by Daniel Crawl over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
core
Target version:
Start date:
06/29/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4199

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

Actions #1

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).

Actions #2

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.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4199

Actions

Also available in: Atom PDF