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 #38701] Tue, 17 December 2002 15:27 Go to next message
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.
Re: Eclipse crashes with ZIP-packed class files [message #38736 is a reply to message #38701] Tue, 17 December 2002 15:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: david_whiteman.oti.com

post to eclipse.tools

"Wolfgang Vullhorst" <wvullhorst@sundn.de> wrote in message
news:atnf9r$cj2$1@rogue.oti.com...
> 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.
>
>
Re: Eclipse crashes with ZIP-packed class files [message #38769 is a reply to message #38701] Tue, 17 December 2002 15:49 Go to previous message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

I think it is a bug in JDK 1.4.1. The bug described in Sun's bug parade
( http://developer.java.sun.com/developer/bugParade/bugs/47660 57.html) seems
like the same problem you have. Try to unpack and pack with a "good" zip
archiver, maybe that helps.

HTH,
Regards,
Csaba

"Wolfgang Vullhorst" <wvullhorst@sundn.de> wrote in message
news:atnf9r$cj2$1@rogue.oti.com...
> 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.
>
>
Re: Eclipse crashes with ZIP-packed class files [message #587761 is a reply to message #38701] Tue, 17 December 2002 15:45 Go to previous message
David Whiteman is currently offline David WhitemanFriend
Messages: 166
Registered: July 2009
Senior Member
post to eclipse.tools

"Wolfgang Vullhorst" <wvullhorst@sundn.de> wrote in message
news:atnf9r$cj2$1@rogue.oti.com...
> 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.
>
>
Re: Eclipse crashes with ZIP-packed class files [message #587773 is a reply to message #38701] Tue, 17 December 2002 15:49 Go to previous message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

I think it is a bug in JDK 1.4.1. The bug described in Sun's bug parade
( http://developer.java.sun.com/developer/bugParade/bugs/47660 57.html) seems
like the same problem you have. Try to unpack and pack with a "good" zip
archiver, maybe that helps.

HTH,
Regards,
Csaba

"Wolfgang Vullhorst" <wvullhorst@sundn.de> wrote in message
news:atnf9r$cj2$1@rogue.oti.com...
> 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:Eclipse crashes with ZIP-packed class files
Next Topic:create new Method()
Goto Forum:
  


Current Time: Sat Apr 20 02:50:17 GMT 2024

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

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

Back to the top