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 242475 - java.util.zip.ZipException: error in opening zip file
Summary: java.util.zip.ZipException: error in opening zip file
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 08:30 UTC by Sam.MIT
Modified: 2014-03-30 02:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204502


Attachments
stacktrace (1.09 KB, text/plain)
2014-03-01 08:30 UTC, Sam.MIT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam.MIT 2014-03-01 08:30:48 UTC
Build: NetBeans IDE Dev (Build 201402280001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b129
OS: Windows 8

User Comments:
whedro: Open file with other extension like zip

Sam.MIT: Importing .info file instaed zip file




Stacktrace: 
java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(ZipFile.java:0)
   at java.util.zip.ZipFile.<init>(ZipFile.java:220)
   at java.util.zip.ZipFile.<init>(ZipFile.java:150)
   at java.util.zip.ZipFile.<init>(ZipFile.java:164)
   at org.netbeans.modules.options.export.OptionsExportModel.listZipFile(OptionsExportModel.java:1002)
   at org.netbeans.modules.options.export.OptionsExportModel.getRelativePaths(OptionsExportModel.java:679)
Comment 1 Sam.MIT 2014-03-01 08:30:49 UTC
Created attachment 145685 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2014-03-03 11:41:27 UTC
You should import settings from previously exported settings in a zip file or from an older valid user directory. Too late for fixing this for 8.0. Thank you for reporting
Comment 3 Theofanis Oikonomou 2014-03-28 13:27:14 UTC
Changeset: 94a3304c5713
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-03-28 14:24
Message:
Comment 4 Theofanis Oikonomou 2014-03-28 13:28:11 UTC
Now you can only choose zip file or userdir folder. Thank you for reporting.
Comment 5 Quality Engineering 2014-03-30 02:20:09 UTC
Integrated into 'main-silver', will be available in build *201403300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/94a3304c5713
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #242475 - java.util.zip.ZipException: error in opening zip file