jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47249] New: org.apache.bcel.classfile.ClassParser: NullPointerException caused by invalid filename
Date Fri, 22 May 2009 18:41:22 GMT

           Summary: org.apache.bcel.classfile.ClassParser:
                    NullPointerException caused by invalid filename
           Product: BCEL
           Version: 5.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: bcel-dev@jakarta.apache.org
        ReportedBy: qweasd-v6ak@soukroma.cz
        Depends on: 47248

121: ZipEntry entry = zip.getEntry(file_name);
Problem: if file_name is invalid, zip.getEntry(file_name) returns null. It
causes NullPointerException:
122: file = new DataInputStream(new
// zip.getInputStream(entry) throws NullPointerException because entry is null!

Note that you will probably see another NullPointerException if #47248 is not

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org

View raw message