facebook

n internal error occurred during: "Decoration Calculati

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #232847 Reply

    abukta
    Member

    I 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

    #232882 Reply

    Riyad Kalla
    Member

    I’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?

    #232898 Reply

    abukta
    Member

    Thanks 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

    #232899 Reply

    abukta
    Member

    Actually, 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.

    #232917 Reply

    Riyad Kalla
    Member

    I’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?

    #232950 Reply

    abukta
    Member

    It 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.

    #232972 Reply

    Riyad Kalla
    Member

    Ahh, you aren’t using Eclipse 3.1 GA, try and download and use that.

    #266733 Reply

    hurffwebb
    Member

    Did 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
    
    #266739 Reply

    Riyad Kalla
    Member

    If 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.

    #299237 Reply

    itsjimbo
    Member

    I 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)

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: n internal error occurred during: "Decoration Calculati

You must be logged in to post in the forum log in