Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 132822

Summary: OS exit on Run
Product: [Eclipse Project] Platform Reporter: Santosh <sankulka>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: sankulka
Version: 3.1.1   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Whiteboard:

Description Santosh CLA 2006-03-22 07:51:42 EST
Hi,
Pl excuse me if the selected "Component" is not matched with
my description. You can pl transfer appropriately.
I am using Eclipse SDK version 3.1.1 for Java Development.
Pl consider the following scenario I am using:

1. I have more than one projects created in Eclipse.
2. All are built properly and can be run independently.
3. I finished with one project and closed that.
4. Opened another project.
5. Now if I click on "Debug" or "Run", assuming that
   latest project is built and it should be Run now,
   Eclipse SDK crashes and I am logged out of my Sun machine.
6. After relogin, open Eclipse, I could see that when I try
   "Run..." with another project, it still has "Main" from
   the earlier project.
7. I select latest project (from "Configurations" in "Run" dialog),
   it changes the Main class and then everything runs fine.

But what ideally should happen is if one project is closed
and opened another project, Main class to "Run" should get
accordingly chnaged.
Even if it doesn't get changed automatically, Ecplise should
give me some Error/Warning.
Even though it doesn't give Error/Warning, it should not crash.
Even though it crashes, it doesn't logged me out of my Sun box
killing all process.
This is very consistent and happened for me no of times,
and killed all my jobs. This is really critical to me.
Pl look into this.

Thanx,
Santosh
Comment 1 Darin Wright CLA 2006-03-24 12:59:46 EST
In 3.2, we filter closed projects by default. Not sure why you are getting a crash.

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