Re: [eclipse-clp-users] java-eclipse problem

From: Kish Shen <kisshen_at_...5...>
Date: Tue, 20 Apr 2010 13:25:46 +0100
carole dawood wrote:
> Good morning,
> i am doing a Graphical User Interface using java and i am trying to connect
> it with Eclipse, but i have a problem that whenever the input is taken from
> the GUI, an error occcurs saying the following:
> 
> 
> 
> com.parctechnologies.eclipse.EclipseTerminatedException
> 
> at com.parctechnologies.eclipse.EclipseConnectionImpl.testTerminated(
> EclipseConnectionImpl.java:115)
> 
> at com.parctechnologies.eclipse.EmbeddedEclipse.getInstance(
> EmbeddedEclipse.java:116)
> 
> at CPConnection.eclipse_connection(CPConnection.java:38)
> 

Hi Carole,

You can only create (using getInstance) one instance of an embedded 
ECLiPSe for each session of JVM execution. This applies even when you 
destroyed an earlier instance of Embedded ECLiPSe, and then try to 
create a new one, which seems to be what is happening in your case.

See 'Termination of an EmbeddedEclipse' section in

http://eclipse-clp.org/doc/embedding/embroot048.html#toc55

Cheers,

Kish


-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Tue Apr 20 2010 - 12:28:32 CEST

This archive was generated by hypermail 2.3.0 : Thu Feb 22 2024 - 18:13:20 CET