[kepler-dev] [Bug 3547] New: - 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 10:59:33 PDT 2008


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

           Summary: CollectionReader actor throws exception when input file
                    contains Metadata or Parameter elements
           Product: Kepler
           Version: 1.0.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: mcphillips at ecoinformatics.org
        ReportedBy: mcphillips at ecoinformatics.org
         QAContact: kepler-dev at ecoinformatics.org


The CollectionReader actor reads in an XML representation of the input to a
COMAD workflow and translates the Collection, Data, Metadata, Parameter
elements etc into tokens that serve as input to the rest of a workflow.  

A bug has emerged that prevents these input files from containing Metadata or
Parameter elements.  The exception thrown for a Parameter element is:

java.lang.NullPointerException
        at org.kepler.util.AnnotationSet.addMetadata(AnnotationSet.java:195)
        at
org.kepler.util.CollectionXmlImporter._insertMetadataElement(CollectionXmlImporter.java:423)
        at
org.kepler.util.CollectionXmlImporter.insertChildElements(CollectionXmlImporter.java:192)
        at
org.kepler.coactors.CollectionReader._insertTopLevelElements(CollectionReader.java:156)
        at org.kepler.coactors.CollectionSource.fire(CollectionSource.java:100)
        at ptolemy.actor.process.ProcessThread.run(ProcessThread.java:199)


More information about the Kepler-dev mailing list