• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not getting the Input stream from the process

smart gupta
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am establishing the proxy server to communicate the date between devices using serial port but after serial port connection,it should start the Proxy Server and still run till the communication is happening...but server became started but it became halted due to error,

Starting Proxy Server", "", "ProxyMgr.getServerProcess", ""

"Proxy Server halted", "", "ProxyMgr.cleanupOnRemoteServerError", "java.io.EOFException at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280) at dpg.remoteObj.ProxyMgr.getObjectInputStream(ProxyMgr.java:998) at com.liebert.dpg.remoteObj.ProxyMgr.readObject(ProxyMgr.java:949) at dpg.remoteObj.ProxyMgr$1.run(ProxyMgr.java:171) at java.lang.Thread.run(Thread.java:619) at com.liebert.dpg.fnd.Thread_1.doTask(Thread_1.java:367) at dpg.fnd.Thread.run(Thread_1.java:240) "

along with it,I am putting some code,according to that It should get some string value(e.g.--java.io.ObjectInputStream@c4bc34 ) and should return it but it is not able to execute the call getServerProcess().getInputStream().

Scince getInputStream() method is of process API so I am not able to debug it.

So please provide me your valuable thoughts bywhich i can solve it..

Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic