Bug 65342 - Building workspace fails on AMD64 Build 200406010010
Summary: Building workspace fails on AMD64 Build 200406010010
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: Other Linux-GTK
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 11:18 EDT by Christoph Mertins CLA
Modified: 2004-06-07 02:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Mertins CLA 2004-06-02 11:18:54 EDT
When working with projects containing jars Eclipse fails with: 
 
An internal error occurred during: "Building workspace". 
java.lang.InternalError 
java.util.zip.Inflater.end(Native Method) 
java.util.zip.Inflater.end(Inflater.java:294) 
java.util.zip.ZipFile.close(ZipFile.java:369) 
org.eclipse.jdt.internal.core.builder.ClasspathJar.cleanup(ClasspathJar.java:108) 
org.eclipse.jdt.internal.core.builder.NameEnvironment.cleanup(NameEnvironment.java:230) 
org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.cleanUp(AbstractImageBuilder.java:130) 
org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:57) 
org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:213) 
org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:145) 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:558) 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615) 
org.eclipse.core.runtime.Platform.run(Platform.java:758) 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:154) 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:226) 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615) 
org.eclipse.core.runtime.Platform.run(Platform.java:758) 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:229) 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:265) 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:294) 
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:153) 
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:207) 
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Comment 1 Olivier Thomann CLA 2004-06-02 11:41:22 EDT
Are you sure that you don't have a corrupted zip file? According to the stack
trace, I don't see what we could do to fix an issue in the JRE runtime.
Comment 2 Philipe Mulet CLA 2004-06-02 13:00:04 EDT
We should be a bit more resilient.
Comment 3 Christoph Mertins CLA 2004-06-02 14:11:59 EDT
I've looked at the installation and I am pretty sure that the java-sdk
downloaded fine due to the checksum check of gentoo. my jdk is:

*  dev-java/blackdown-jdk
      Latest version available: 1.4.2_rc1
      Latest version installed: 1.4.2_rc1
      Size of downloaded files: 66,231 kB
      Homepage:    http://www.blackdown.org
      Description: Blackdown Java Development Kit 1.4.2_rc1
      License:     sun-bcla-java-vm

below I've added an md5sum of my file:
6486e840e3d8cee96802f1c99a2c4255  /usr/portage/distfiles/eclipse-SDK-N20040601-l
                                                                               
                                  inux-gtk-amd64.zip
Comment 4 Kent Johnson CLA 2004-06-04 08:11:47 EDT
Can you compile anything against this SDK using javac?
Comment 5 Christoph Mertins CLA 2004-06-04 08:22:22 EDT
I've deployed my java-code there and build it from scratch using ant on this
machine and had no problems. this projects includes also GUI using Swing and
mysql support.
Comment 6 Kent Johnson CLA 2004-06-06 08:21:02 EDT
Is this repeatable?

Which VM are you running eclipse with?
Comment 7 Yujin Kim CLA 2004-06-06 16:41:12 EDT
I've been experiencing the same issue, but I do believe this is a bug with blackdown's jvm 
rather than eclipse's.  when I ran eclipse with other jvm (sun's 1.5 for instance), i don't see the zip 
related error.  plus when i'm running blackdown's jvm, i see a lot of kernel exception being dumped the 
console log, which probably means blackdown's jvm is not stable at all.  (i'm running it on mandrake 
10.0 for amd 64)
Comment 8 Christoph Mertins CLA 2004-06-07 02:44:02 EDT
seems to function with sun-j2sdk 1.5.0 beta2, seems to be an issue with
blackdowns jdk, thanx all