Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2099

Original errors being surpressed in doParse loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • Back End
    • None

    Description

      The Runtime.scala doParse function looks roughly like:

      try{

        try

      {     //parse logic   }

      finally

      {     state.verifyFinalState(wasThrow)   }

      } catch

      { //actually handle exceptions }

       

      verifyFinalState disables some checks when there was an excpetion, but some get run regardless. In the case where verifyFinalState fails, it will throw a new exception, thereby surpressing the original excpetion; even though it is likely that the original exception was the actual cause of the problem. 

      Attachments

        Activity

          People

            brandon.sloane Brandon Sloane
            brandon.sloane Brandon Sloane
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: