Eclipse crashes with ZIP-packed class files [message #38701] |
Tue, 17 December 2002 10:27  |
Eclipse User |
|
|
|
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 #38769 is a reply to message #38701] |
Tue, 17 December 2002 10:49  |
Eclipse User |
|
|
|
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 10:45  |
Eclipse User |
|
|
|
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 10:49  |
Eclipse User |
|
|
|
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.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03880 seconds