[kepler-dev] [Bug 3547] - CollectionReader actor throws exception when input file contains Metadata or Parameter elements

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Oct 22 13:29:02 PDT 2008


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


mcphillips at ecoinformatics.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from mcphillips at ecoinformatics.org  2008-10-22 13:29 -------
The problem was that AnnotationSet was trying to record invocation dependencies
implied by the addition of annotations or metadata to the set and store this
information in the collection containing the annotated item.  But this
collection is not defined when CollectionReader is importing metadata elements
from an input XML file because the class builds up a list of annotations to
apply to the next collection or data element and before actually encountering
that element in the input file.  Simply avoiding the recording of these
invocation dependencies when the collection is undefined fixes the problem;
because no invocation dependencies are implied by importing elements from an
input xml file anyway, this fix should not cause other problems.  


More information about the Kepler-dev mailing list