carole dawood wrote: > Hello, > i am using a FromEclipseQueue to write data from eclipse to java but i face > a problem whenever i want to print in java using this line which was in the > examples of the documentation : > > System.*out*.println(eclipse_to_java_formatted.readTerm()); > > i try to print just before the destroy part but i get this error message: > > *32)java.io.EOFException > * > > at java.io.DataInputStream.readByte(Unknown Source) > > at com.parctechnologies.eclipse.EXDRInputStream.readTerm(* > EXDRInputStream.java:97*) > > at CPConnection.eclipse_connection(*CPConnection.java:59*) > > at EntryPanel.mouseClicked(*EntryPanel.java:378*) > It is difficult to know precisely what you are doing with such a small fragment of code (and only your Java code), but the error message you are getting indicates that there is no data available on your eclipse_to_java_formatted stream. The most likely reason is that you did not write (or at least did not flush) the data on the ECLiPSe side. This is shown by the example. Did you try the example out to see if it works? 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 Thu Apr 22 2010 - 17:22:35 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST