[kepler-dev] [Bug 4506] New: - Exception is thrown during workflow execution

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Oct 27 13:46:22 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4506

           Summary: Exception is thrown during workflow execution
           Product: Kepler
           Version: 1.0.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: michalo at man.poznan.pl
         QAContact: kepler-dev at kepler-project.org


Within PN like workflow it seems that one thread iterates through the hashmap
while other one modifies the data of the hashmap. Maybe Hashtable should be
used here?

Or external synchronization should be used?

java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
        at java.util.HashMap$KeyIterator.next(HashMap.java:845)
        at
ptolemy.actor.process.ProcessDirector.stopFire(ProcessDirector.java:481)
        at ptolemy.actor.CompositeActor.stopFire(CompositeActor.java:1375)
        at ptolemy.actor.CompositeActor.requestChange(CompositeActor.java:1184)
        at ptolemy.kernel.util.NamedObj.requestChange(NamedObj.java:1651)
        at
ptolemy.vergil.basic.RunnableGraphController.managerStateChanged(RunnableGraphController.java:181)
        at
ptolemy.actor.Manager._notifyListenersOfStateChange(Manager.java:1363)
        at ptolemy.actor.Manager._setState(Manager.java:1378)
        at ptolemy.actor.Manager.wrapup(Manager.java:1270)
        at ptolemy.actor.Manager.execute(Manager.java:365)
        at ptolemy.actor.Manager.run(Manager.java:1071)
        at ptolemy.actor.Manager$3.run(Manager.java:1112)


More information about the Kepler-dev mailing list