title: Error in running eclipse : Error initializing storage due to java.io.EOFException
body: <p>I was using Eclipse and everything was okay but suddenly, I couldnt open my eclipse in Linux (RHEL). I also already uninstalled and reinstalled the eclipse but the error is still there. </p>
  
  <p>here is the log </p>
  
  <blockquote>
    <p>java.lang.RuntimeException: Error initializing storage.<br>
     at org.eclipse.osgi.internal.framework.EquinoxContainer.
     at org.eclipse.osgi.launch.Equinox.(Equinox.java:31)<br>
     at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:303)<br>
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)<br>
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
     at java.lang.reflect.Method.invoke(Method.java:498)<br>
     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)<br>
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)<br>
     at org.eclipse.equinox.launcher.Main.run(Main.java:1499)<br>
     at org.eclipse.equinox.launcher.Main.main(Main.java:1472) Caused by: java.io.EOFException<br>
     at java.io.DataInputStream.readInt(DataInputStream.java:392)<br>
     at org.eclipse.osgi.storage.Storage.loadGenerations(Storage.java:1160)<br>
     at org.eclipse.osgi.storage.Storage.(Storage.java:137)<br>
     at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:85)<br>
     at org.eclipse.osgi.internal.framework.EquinoxContainer.
      ... 11 more  </p>
  </blockquote>
  
  <p>Things already tried : </p>
  
  <p>delete the org.eclipse.osgi under configuration files (Not fix the problem)</p>
  
  <p>Update : </p>
  
  <p>under {workspace}/./metadata/.log</p>
  
  <pre><code>org.eclipse.core.runtime.CoreException: Failed to open archive: /home/***/tracecompass-incubator-workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse$
          at org.eclipse.pde.api.tools.internal.model.ApiElement.abort(ApiElement.java:103)
          at org.eclipse.pde.api.tools.internal.model.ArchiveApiTypeContainer$ArchiveApiTypeRoot.getContents(ArchiveApiTypeContainer.java:105)
          at org.eclipse.pde.api.tools.internal.model.AbstractApiTypeRoot.getStructure(AbstractApiTypeRoot.java:52)
          at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator$2.visit(ApiComparator.java:662)
          at org.eclipse.pde.api.tools.internal.model.ArchiveApiTypeContainer.accept(ArchiveApiTypeContainer.java:201)
          at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator.internalCompare(ApiComparator.java:656)
          at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator.compare(ApiComparator.java:286)
          at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator.compare(ApiComparator.java:312)
          at org.eclipse.pde.api.tools.internal.builder.BaseApiAnalyzer.checkCompatibility(BaseApiAnalyzer.java:1421)
          at org.eclipse.pde.api.tools.internal.builder.BaseApiAnalyzer.analyzeComponent(BaseApiAnalyzer.java:255)
          at org.eclipse.pde.api.tools.internal.builder.ApiAnalysisBuilder.buildAll(ApiAnalysisBuilder.java:757)
          at org.eclipse.pde.api.tools.internal.builder.ApiAnalysisBuilder.build(ApiAnalysisBuilder.java:368)
          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
          at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
          at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
          at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
          at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
  Caused by: java.io.FileNotFoundException: /home/****/tracecompass-incubator-workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.tracecompass.lttng2.c$
          at java.util.zip.ZipFile.open(Native Method)
          at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:219)
          at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:149)
          at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:120)
          at org.eclipse.pde.api.tools.internal.model.ArchiveApiTypeContainer$ArchiveApiTypeRoot.getContents(ArchiveApiTypeContainer.java:103)
          ... 22 more
  </code></pre>
  
  <p>Thank you in advance!</p>