Java Distributed Computing by Jim Farley Unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. This page was updated December 21, 2001. UNCONFIRMED errors and comments from readers: (73) paragraph "Client Stubs and Server Skeletons"; Print: January 1998 The example is wrong: "myhost% rmic MyObject" Correction: "myhost% rmic MyObjectImpl" Explanation: Not the Interface but the Implementation has to be compiled with rmic. {232} public float getRateFor(int sidx) method; DataSample s = samples.elemetAt(sidx); should read DataSample s = (DataSample) samples.elemetAt(sidx); DataSample prev = samples.elemetAt(sidx - 1); should read DataSample prev = (DataSample) samples.elemetAt(sidx - 1); [245] 2d Paragraph; I cannot seem to find the code for the StreamProducer class. Is it called something else or just missing. I have also looked in the source code that I downloaded. [311] Whiteboard Applet example using message passing; I have tried to run the example shown in Appendix A of the book without much success. I am able to run the Mediator fine and even several Whiteboard users (MsgWhiteboardUsers). However, the scribbles drawn on one whiteboard do not show up in other whiteboards that are running simutaneously. I am also getting the following error from the MessageHandler class in the readMsg() method. mm: Error reading message: java.io.UTFDataFormatException at java.io.DataInputStream.readUTF(Unknown Source) at java.io.DataInputStream.readUTF(Unknown Source) at MessageHandler.readMsg(MessageHandler.java:120) at AgentHandler.run(MessageHandler.java:39) at java.lang.Thread.run(Unknown Source) THis error seems to be inconsistent and will occur randomly. I also get a NullPointerException being thrown from the Message class in the writeArgs() method.