Re: destroy method is not destroying the OutOf Process EclipseEngine!!

From: Andrew Cheadle <amc4_at_icparc.ic.ac.uk>
Date: Wed 13 Apr 2005 05:28:35 PM GMT
Message-ID: <20050413172835.GA1885@elstree.icparc.ic.ac.uk>
Hi Vivek

Sorry for the delay in replying!

Could you please indicate which version of ECLiPSe you are using?
When you say 'stops' I assume you mean hangs? Is there any chance of you
being able to create as small a testcase as possible that manifests the
problem and send it over to us?

Many thanks

Andy

On Mon, Apr 11, 2005 at 09:22:04PM +0200, Vivek Nigam wrote:
> Hello,
> 
>            I don't understand what happened, I am using the Java client
> application to communicate with a Java Server via RMI. The Server is
> managing the eclipse processes, however when I ask the server to
> destroy the eclipse it stops!!! It doesn't generate any exceptions!!!
> 
> public void disconnectEclipse()
> 	{
> 		try {
> 			ask_new_click.removeListener();
> 			ask_new_click.close();
> 			num_of_bomb.removeListener();
> 			num_of_bomb.close();
> 			click_options.removeListener();
> 			click_options.close();
> 			bomb_found.removeListener();
> 			bomb_found.close();
> 			safe_click_found.removeListener();
> 			safe_click_found.close();
> 			((OutOfProcessEclipse) eclipse).destroy();			
> 		} catch (Exception e) {
> 			
> 			e.printStackTrace();
> 		}
> 		
> 	}
> 
> First I tried the code above, and it stopped in the:
> 
>   "num_of_bomb.close();"
> 
> Then I removed everything except the destroy line, and still stops...
> I was wondering if someone could help me understand how these methods
> work...
> 
> Thanks,
> 
> Vivek Nigam
> 
> 
> 
> 
Received on Wed Apr 13 18:31:57 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:35 PM GMT GMT