Bug 21346 - Running eclipse twice gives an error dialog exception & log file.
Summary: Running eclipse twice gives an error dialog exception & log file.
Status: RESOLVED DUPLICATE of bug 21294
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 11:56 EDT by Greg Adams CLA
Modified: 2002-07-08 14:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***