-
Task
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
Non thread-safe code is causing the following exception when running the csv examples with the multi threaded runner:
org.jdom2.IllegalAddException: The Content already has an existing parent "ex:record"
at org.jdom2.ContentList.checkPreConditions(ContentList.java:211)
at org.jdom2.ContentList.add(ContentList.java:244)
at org.jdom2.ContentList.add(ContentList.java:79)
at java.util.AbstractList.add(AbstractList.java:108)
at org.jdom2.Element.addContent(Element.java:917)
at edu.illinois.ncsa.daffodil.processors.InfosetElement.addElement(Infoset.scala:104)
at edu.illinois.ncsa.daffodil.processors.OccursCountExpression$$anon$5$$anonfun$parse$2.apply(RepParsers.scala:284)
at edu.illinois.ncsa.daffodil.processors.OccursCountExpression$$anon$5$$anonfun$parse$2.apply(RepParsers.scala:277)