Menu

#222 zip.exception when closing Eclipse

closed-fixed
other (44)
5
2014-07-14
2011-08-31
Anonymous
No

Hi!
I got a Zip Exception in the logs after closing Eclipse.
We saw this in a production serverm but I managed to reproduce it.
I created a plug-in from a template and added the mylyn connector plug-in as dependencies.
Then I started it as an Eclipse application.
When I closed the application the exception came up:

!ENTRY net.sf.redmine_mylyn.core 4 0 2011-08-31 21:08:58.469
!MESSAGE The Redmine respository data cache could not be written
!STACK 0
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(Unknown Source)
at java.util.zip.DeflaterOutputStream.close(Unknown Source)
at java.util.zip.ZipOutputStream.close(Unknown Source)
at net.sf.redmine_mylyn.internal.core.client.ClientManager.writeCache(ClientManager.java:190)
at net.sf.redmine_mylyn.core.RedmineCorePlugin.stop(RedmineCorePlugin.java:66)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:565)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1160)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:595)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:597)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:390)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
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.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Discussion

  • Anonymous

    Anonymous - 2011-08-31

    Tested on Eclipse: 3.6 and 3.7
    Version of plug-in:
    Mylyn Connector: Redmine 0.3.2.201108282058 net.sf.redmine_mylyn.feature.feature.group

     
  • Sven Krzyzak

    Sven Krzyzak - 2011-09-08
    • status: open --> open-accepted
     
  • Sven Krzyzak

    Sven Krzyzak - 2011-09-08

    Thats right - this happens the first time after creating a new Redmine repository.
    I will fix this later.

     
  • Sven Krzyzak

    Sven Krzyzak - 2011-09-13
    • status: open-accepted --> pending-fixed
     
  • Sven Krzyzak

    Sven Krzyzak - 2011-09-13

    Please update the plugin and try again.

     
  • Sven Krzyzak

    Sven Krzyzak - 2011-12-17

    no feedback - closed

     
  • Sven Krzyzak

    Sven Krzyzak - 2011-12-17
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.