You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 14:17:16 UTC

[jira] [Updated] (BCEL-154) ClassParser.parse() generates NPE if it cannot open the file

     [ https://issues.apache.org/jira/browse/BCEL-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bourg updated BCEL-154:
--------------------------------

         Priority: Major
      Environment:     (was: Operating System: Windows XP
Platform: PC)
    Fix Version/s: 6.0
         Priority:   (was: P2)
         Severity:   (was: normal)

> ClassParser.parse() generates NPE if it cannot open the file
> ------------------------------------------------------------
>
>                 Key: BCEL-154
>                 URL: https://issues.apache.org/jira/browse/BCEL-154
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.2
>            Reporter: Sebb
>            Assignee: Apache Commons Developers
>             Fix For: 6.0
>
>
> The finally block does not check for file == null, so file oper failure generates an NPE rather than propagating the IOError.



--
This message was sent by Atlassian JIRA
(v6.2#6252)