1

EOFException reading custom class object from ObjectInputStream

view story
linux-howto

http://stackoverflow.com – I have created a java server and an Android client and the client asks data from the server using a custom class "Message" I've created. I've made a JAR file with this Message class and used it as an external referance in both the server and the client. Message Class: import java.io.Serializable; public class Message implements Serializable { private static final long serialVersionUID = 1L; public String sender, content, type; public Message(String sender, String type, String content) { this.sender = sender; this.type = type; this.content = content; (HowTos)