Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
5.2
-
None
-
normal
-
P2
-
47248
Description
If line 119 - 127 of ClassParser.java fails (throws an Exception), the finally is executed. However, fileOwned is true and file is null. It causes NullPointerException.
FIX:
line 165: file.close();
replace by:
if(file != null)
Attachments
Issue Links
- depends upon
-
BCEL-133 org.apache.bcel.classfile.ClassParser: NullPointerException caused by invalid filename
- Closed