Project

General

Profile

Actions

Bug #3547

closed

CollectionReader actor throws exception when input file contains Metadata or Parameter elements

Added by Timothy McPhillips about 16 years ago. Updated about 16 years ago.

Status:
Resolved
Priority:
Normal
Category:
general
Target version:
Start date:
10/22/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3547

Description

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)

Actions

Also available in: Atom PDF