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

Original errors being surpressed in doParse loop

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment