Bug 21346

Summary: Running eclipse twice gives an error dialog exception & log file.
Product: [Eclipse Project] Platform Reporter: Greg Adams <greg_adams>
Component: ResourcesAssignee: DJ Houghton <dj.houghton>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P1    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Greg Adams CLA 2002-07-08 11:56:16 EDT
Running eclipse twice yield a non helpful error dialog and an exception into 
the log. This should be caught and a meaningful dialog presented to the user 
telling them they may already be running it.

Error Dialog:	"problems during startup. Check the ".log" file in 
the  ".metadata" directory of your workspace.


!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Jun 18, 2002 17:28:12.35
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException: 
java.lang.reflect.InvocationTargetException: 
org.eclipse.core.runtime.CoreException: 
The 

platform metadata area is already in use by another platform instance, or there 
was a failure
in deleting the old lock file.  If no other 

platform instances are running, delete the 
lock file (D:\eclipse20020612\eclipse\workspace\.metadata\.lock) and try 
starting the platform 

again.
	at org.eclipse.core.internal.runtime.InternalPlatform.createLockFile
(InternalPlatform.java:206)
	at org.eclipse.core.internal.runtime.InternalPlatform.loaderStartup
(InternalPlatform.java:557)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.internal.boot.InternalBootLoader.startup
(InternalBootLoader.java:873)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:732)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
	at org.eclipse.core.launcher.Main.run(Main.java:697)
	at org.eclipse.core.launcher.Main.main(Main.java:530)
Comment 1 Nick Edgar CLA 2002-07-08 12:13:50 EDT
This occurs before the workbench is started.
Comment 2 John Arthorne CLA 2002-07-08 14:53:43 EDT

*** This bug has been marked as a duplicate of 21294 ***