- This topic has 9 replies, 4 voices, and was last updated 15 years, 4 months ago by itsjimbo.
-
AuthorPosts
-
abuktaMemberI am using MyEclipse Enterprise Workbench v4.0 on XP Home Edition. I also have JRE/JDK 5 latest version:
java version “1.5.0_04”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)Well, I have installed the Workbench plugin a couple of days ago and everything was working fine until all the sudden (after a file import), I sarted getting message windows come up with:
An internal error occurred during: “Decoration Calculation”.
jzentry ==0,jzfile=853616 …… message= invalid LOC header (bad signature)Has anybody seen this problem?
I have redone eclipse (3.1 RC4) and installed the workbench for this version, but still when trying to create/add any files to my project these messages keep coming on.
Any help is greatly appreciated.
Attila
Riyad KallaMemberI’ve never seen this before. Have you tried a new workspace? Or using -clean command line argument when starting Eclipse so it rebuilds it’s plugin cache?
abuktaMemberThanks for the quick feedback!
I have not tried that. I will give it a shot tonight. Just an FYI – I have installed the same setup on 2 win2k machines (JDK/JRE 5, eclipse 3.1/workbench 4) and don’t see the same problem happening.
I will keep posted.
Attila
abuktaMemberActually, I did try a new workspace but as soon as I add a new Servlet, I start recieving the messages about message= invalid LOC header (bad signature). I will try to start eclipse with the clean option later today.
Riyad KallaMemberI’m officially confused… have you tried searching bugs.eclipse.org with some of that error string to see if it is indicative of anything platform-specific?
abuktaMemberIt could be that eclipse 3.1 does not get along with jre1.5 (???). This is what I see in the logs for eclipse:
!SESSION 2005-07-13 19:34:11.453 ———————————————–
eclipse.buildId=I20050624-1300
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -help
Command-line arguments: -os win32 -ws win32 -arch x86 -help!ENTRY org.eclipse.osgi 2005-07-13 19:36:18.109
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-win32-3138 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:381)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:128)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:79)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)when I try to run eclipse by itself.
Thanks – Attila.
Riyad KallaMemberAhh, you aren’t using Eclipse 3.1 GA, try and download and use that.
hurffwebbMemberDid you ever find the solution to this. I am getting this stack trace:
java.lang.InternalError: jzentry == 0, jzfile = 753647600, total = 12984, name = C:\Program Files\Java\jdk1.5.0_11\jre\lib\rt.jar, i = 10899, message = invalid LOC header (bad signature) at java.util.zip.ZipFile$3.nextElement(Unknown Source) at java.util.zip.ZipFile$3.nextElement(Unknown Source) at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.computeChildren(JarPackageFragmentRoot.java:86) at org.eclipse.jdt.internal.core.JavaProjectElementInfo.getProjectCache(JavaProjectElementInfo.java:215) at org.eclipse.jdt.internal.core.JavaProjectElementInfo.newNameLookup(JavaProjectElementInfo.java:286) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2552) at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:53) at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:67) at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26) at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:496) at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:832) at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:630) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:605) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:600) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:514) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:155) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:140) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Using this configuration
eclipse.buildId=M20060921-0945 java.version=1.5.0_08 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86
Riyad KallaMemberIf you are getting a ZIP exception my guess is the file is corrupted. If you have WinZIP or WinRAR installed, try and open the JAR it’s complaining about and run the “Test archive” function on it.
itsjimboMemberI was getting this error to. Fixed it by
Project->Properties->Java Compiler
“Configure Workspace Settings”
Use JDK 1.6(Also somewhere some setting for the JDK was pointing to a com.myelcipse.plugiin JDK, I just had to update the JDK for myeclipse…I can’t seem to find it though, there was a drop down box that had all of the JDK’s listed)
-
AuthorPosts