Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Eclipse crashes with ZIP-packed class files
Eclipse crashes with ZIP-packed class files [message #587750] Tue, 17 December 2002 15:27
Eclipse UserFriend
Originally posted by: wvullhorst.sundn.de

Hi,
when including a large Java archive in ZIP-format to my project Eclipse
(M3 and previous releases) crashes almost 20 times a day when
saving/compiling a java source.
The thrown exception comes from <JRE>/bin/zip.dll:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D32797D
Function=ZIP_Open+0x369
Library=C:\Programme\Java\j2re1.4.1\bin\zip.dll

Current Java thread:
at java.util.zip.ZipFile.getEntry(Native Method)
at java.util.zip.ZipFile.getEntry(ZipFile.java:145)
at
org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.r ead(ClassFileRea
der.java:490)
at
org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.r ead(ClassFileRea
der.java:483)
at
org.eclipse.jdt.internal.core.builder.ClasspathJar.findClass (ClasspathJar.ja
va:63)
at
org.eclipse.jdt.internal.core.builder.NameEnvironment.findCl ass(NameEnvironm
ent.java:282)
at
org.eclipse.jdt.internal.core.builder.NameEnvironment.findTy pe(NameEnvironme
nt.java:290)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.a skForType(Lookup
Environment.java:68)
at
org.eclipse.jdt.internal.compiler.lookup.UnresolvedReference Binding.resolve(
UnresolvedReferenceBinding.java:29)
at
org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.s uperclass(Binary
TypeBinding.java:412)
at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScop e.storeDependenc
yInfo(CompilationUnitScope.java:486)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler. java:547)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler. java:337)

<snip>

Is there a difference in Eclipse in expanding/loading class files from a jar
archive or a ZIP archive? Could it be a memory problem in the JNI interface?
BTW: The crashes stop immediately when I unpack the ZIP archive and create a
new JAR archive from the classes.

Thanks for your help,
Wolfgang Vullhorst

P.S.: Please no answers like "why do you use ZIP anyway?" because I get the
ZIP archive from another company.
Previous Topic:JFace+SWT Standalone app - Using ViewPart(s) oustide a workbench
Next Topic:Eclipse crashes with ZIP-packed class files
Goto Forum:
  


Current Time: Fri Apr 19 10:03:25 GMT 2024

Powered by FUDForum. Page generated in 0.01933 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top