Re: Help: UnmarshalException running Jini
Gregg Wonderly <[email protected]> Fri, 11 Apr 2008 11:36:46 -0500
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
daphantomica wrote: > Hi, > > I'm using Jini for a large scale simulation research and when writing and > taking Entries, I keep bumping into this EOFException error. I'm using > functions with null Transactions which looks like such: > space.write(tripTask, null, Lease.FOREVER); > TaskEntry thistask = (TaskEntry)space.takeIfExists(tmplt_tsk, null, > JavaSpace.NO_WAIT); > > Any help would be deeply appreciated! The answer should be visible on the other end of this connection. An EOF in a readObject() call indicates that the other end could not send the data. As Bill suggested, this can almost always be attributed to the other end trying to write out a serialized stream of something that is not serializable. Sometimes, I've found this to be odd Exception class implementations from oracle and other JDBC stacks, as well as various other problems. If this always happens, then most likely you have a data value serialization problem (including the same Exception is happening every time). Gregg Wonderly -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]