Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1332

Unable to unparse with saved/reloaded parser

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Unparsing
    • Labels:
      None

      Description

      When trying to unparse with a saved/reloaded parser, we get a null pointer exception:

      java.lang.NullPointerException
      	at edu.illinois.ncsa.daffodil.processors.ElementRuntimeData.childElementResolver$lzycompute(ElementRuntimeData.scala:136)
      	at edu.illinois.ncsa.daffodil.processors.ElementRuntimeData.childElementResolver(ElementRuntimeData.scala:136)
      	at edu.illinois.ncsa.daffodil.processors.unparsers.InfosetSourceFromXMLEventReader.nextEvents(InfosetSourceFromXMLEventReader.scala:101)
      	at edu.illinois.ncsa.daffodil.processors.unparsers.InfosetSourceFromXMLEventReader.next(InfosetSourceFromXMLEventReader.scala:72)
      	at edu.illinois.ncsa.daffodil.processors.unparsers.InfosetSourceFromXMLEventReader.next(InfosetSourceFromXMLEventReader.scala:43)
      	at edu.illinois.ncsa.daffodil.processors.unparsers.UState.next(UState.scala:68)
      	at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparser.unparseBegin(StatementElementUnparser.scala:132)
      	at edu.illinois.ncsa.daffodil.processors.unparsers.StatementElementUnparserBase.unparse(StatementElementUnparser.scala:96)
      	at edu.illinois.ncsa.daffodil.processors.DataProcessor.unparse(Runtime.scala:310)
      	at edu.illinois.ncsa.daffodil.processors.DataProcessor.unparse(Runtime.scala:296)
      	at edu.illinois.ncsa.daffodil.processors.DataProcessor.unparse(Runtime.scala:274)
      	at edu.illinois.ncsa.daffodil.Main$$anonfun$88.apply(Main.scala:875)
      	at edu.illinois.ncsa.daffodil.Main$$anonfun$88.apply(Main.scala:875)
      	at edu.illinois.ncsa.daffodil.util.Timer$.getTimeResult(Timer.scala:91)
      	at edu.illinois.ncsa.daffodil.util.Timer$.getResult(Timer.scala:50)
      	at edu.illinois.ncsa.daffodil.Main$.run(Main.scala:875)
      	at edu.illinois.ncsa.daffodil.Main$.main(Main.scala:1069)
      	at edu.illinois.ncsa.daffodil.Main.main(Main.scala)

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              efinnegan Elizabeth Finnegan
              Reporter:
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks