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 56205 - "FNFE: oversubscribed literal/length tree" from JarFileSystem.inputStream
Summary: "FNFE: oversubscribed literal/length tree" from JarFileSystem.inputStream
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: JDK_SPECIFIC
: 56819 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-10 21:43 UTC by Jesse Glick
Modified: 2011-06-09 09:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (15.10 KB, text/plain)
2005-03-10 21:44 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-03-10 21:43:27 UTC
Dev build, JDK 1.6.0 b26. Observed once (not repro) during code completion on
"Enumerations." (o.o.util). Maybe JDK bug which should be reported?
Comment 1 Jesse Glick 2005-03-10 21:44:09 UTC
Created attachment 20766 [details]
Stack trace
Comment 2 Jesse Glick 2005-03-10 21:59:46 UTC
Hmmm... and a few minutes later, again randomly, I get

Annotation: The document URLClassLoader.java [r/o] could not be loaded.
java.io.FileNotFoundException: invalid bit length repeat
	at org.openide.filesystems.JarFileSystem.inputStream(JarFileSystem.java:460)

Looks like something significant changed in ZipFile in this JDK promotion? Not
sure how to help investigate, but maybe need to look thru JDK changelogs or
something.

And also got "incomplete literal/length tree".

"zipinfo /space/jdk1.4.2_06/src.zip" reports no problems.
Comment 3 Jesse Glick 2005-03-11 15:00:29 UTC
Take a look at

https://mustang.dev.java.net/files/documents/2817/11707/mustang-b25.html

which could be responsible, perhaps.
Comment 4 Jesse Glick 2005-03-11 22:06:13 UTC
Makes the latest Mustang build effectively unusable for running NB.
Comment 5 rmatous 2005-03-15 16:07:04 UTC
Bug: 6237956 - mustang b25 cannot extract data from zip files created by
third-party zip implementations.

Current status: Fix in progress
Priority: 1-VeryHigh
Targeted release: mustang

I created simple failing reproducible test case using only core Java APIs (no NB
code) to be sure that this bug is real JDK bug. Not OS specific.
Comment 6 rmatous 2005-03-23 07:26:52 UTC
*** Issue 56819 has been marked as a duplicate of this issue. ***
Comment 7 Marian Mirilovic 2011-06-09 09:51:24 UTC
v/c