Eclipse – An error has occurred. See the log file .metadata/.log.

Podczas nieprawidłowego zamknięcia Eclipse może zdarzyć się, że nie będziemy mogli go ponownie uruchomić z powodu poniższego błędu:

An error has occurred. See the log file ./workspace/metadata/.log.

We wskazanym pliku znajdziemy informację o braku pliku np.:

Caused by: org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/cache/zend_cache---internal-metadatas---fpix5lmgjb8548o4tnk9p01i84' not found.
	at org.eclipse.core.internal.dtree.AbstractDataTree.handleNotFound(AbstractDataTree.java:257)
	at org.eclipse.core.internal.dtree.DeltaDataTree.getData(DeltaDataTree.java:585)
	at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:50)
	at org.eclipse.core.internal.dtree.NoDataDeltaNode.asBackwardDelta(NoDataDeltaNode.java:59)
	at org.eclipse.core.internal.dtree.NoDataDeltaNode.asBackwardDelta(NoDataDeltaNode.java:59)
	at org.eclipse.core.internal.dtree.NoDataDeltaNode.asBackwardDelta(NoDataDeltaNode.java:59)
	at org.eclipse.core.internal.dtree.DataDeltaNode.asBackwardDelta(DataDeltaNode.java:47)
	at org.eclipse.core.internal.dtree.DeltaDataTree.asBackwardDelta(DeltaDataTree.java:88)
	at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:816)
	at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:815)
	at org.eclipse.core.internal.dtree.DeltaDataTree.reroot(DeltaDataTree.java:792)
	at org.eclipse.core.internal.watson.ElementTree.immutable(ElementTree.java:517)
	at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:670)
	at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1353)
	at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1957)
	at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1716)
	at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:379)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)

Rozwiązaniem jest usunięcie pliku:

workspace/.plugins./org.eclipse.core.resources/.snap

Linki

http://stackoverflow.com/questions/3505187/eclipse-galileo-wont-start-error-objectnotfoundexception-tree-element

Ten wpis został opublikowany w kategorii Eclipse. Dodaj zakładkę do bezpośredniego odnośnika.