Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-154

ClassParser.parse() generates NPE if it cannot open the file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2
    • 6.0
    • Main
    • None

    Description

      The finally block does not check for file == null, so file oper failure generates an NPE rather than propagating the IOError.

      Attachments

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: