I have a problem using an ObjectInputStream and I have been struggling with it for 2 days now. I tried to search for a solution but unfortunately found no fitting answer. >
Try this and let me know how it goes:
while (1==1) { StubConfig = (StubConfiguration)mObjectIn.readObject(); Thread.sleep(100); //Saves CPU usage }