This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 205017 - IllegalArgumentException: MALFORMED
Summary: IllegalArgumentException: MALFORMED
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 20:37 UTC by Eduardo.m Costa
Modified: 2012-11-06 15:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182834


Attachments
stacktrace (1.28 KB, text/plain)
2011-11-11 20:37 UTC, Eduardo.m Costa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo.m Costa 2011-11-11 20:37:18 UTC
Build: NetBeans IDE Dev (Build 201110070600)
VM: OpenJDK 64-Bit Server VM, 21.0-b17, OpenJDK Runtime Environment, 1.7.0_147-icedtea-b147
OS: Linux

User Comments:
_m4c0_: Trying to navigate: "NetBeans Platform Manager -> Development IDE -> Sources -> Add ZIP/Folder -> Downloads Folder"




Stacktrace: 
java.lang.IllegalArgumentException: MALFORMED
   at java.util.zip.ZipCoder.toString(ZipCoder.java:58)
   at java.util.zip.ZipFile.getZipEntry(ZipFile.java:527)
   at java.util.zip.ZipFile.access$900(ZipFile.java:56)
   at java.util.zip.ZipFile$1.nextElement(ZipFile.java:509)
   at java.util.zip.ZipFile$1.nextElement(ZipFile.java:479)
   at org.netbeans.modules.apisupport.project.queries.GlobalSourceForBinaryImpl$NetBeansSourcesParser.findNBRoot(GlobalSourceForBinaryImpl.java:350)
Comment 1 Eduardo.m Costa 2011-11-11 20:37:21 UTC
Created attachment 113135 [details]
stacktrace
Comment 2 Jesse Glick 2011-11-16 00:54:09 UTC
Enumeration.nextElement is now allowed to throw IAE.
Comment 3 Antonin Nebuzelsky 2011-12-28 18:34:54 UTC
Shouldn't the exception be handled in our code then?
Comment 4 Antonin Nebuzelsky 2011-12-28 18:35:13 UTC
Shouldn't the exception be handled in our code then?
Comment 5 Jesse Glick 2011-12-28 20:48:49 UTC
(In reply to comment #2)
> Enumeration.nextElement is now allowed to throw IAE.

"not allowed" I meant!
Comment 6 Stanislav Aubrecht 2012-11-06 15:57:56 UTC
Please reopen if reproducible with the latest update of JDK 1.7, thanks.