drneau.com Forum Index drneau.com
A discussion board for drneau.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Bug] Networking

 
Post new topic   Reply to topic    drneau.com Forum Index -> Networking
View previous topic :: View next topic  
Author Message
silentjoker
"A Set of Mop Squeezers"


Joined: 29 Aug 2008
Posts: 59
Location: Boardman Ohio

PostPosted: Fri Dec 19, 2008 9:40 pm    Post subject: [Bug] Networking Reply with quote

Display on client box does update when tournament starts. This is what i did. I started a new tournament, went threw the full wizard. Purchased buyins for 8 players. The client updated that there was 8 buyins and updated all cash slots etc except payout of course. When i started tournament on main server it sent no updates to the client screen. Started multiple times and pause and waited no updates went.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
silentjoker
"A Set of Mop Squeezers"


Joined: 29 Aug 2008
Posts: 59
Location: Boardman Ohio

PostPosted: Fri Dec 19, 2008 9:42 pm    Post subject: Reply with quote

ok found out why not updating. got this error on client in the log:

Code:

22:31:47: *** Error reading from connection:
22:31:47: ***   Exception: class java.io.WriteAbortedException
22:31:47: ***   Cause: class java.io.NotSerializableException
22:31:47: ***   Message: writing aborted; java.io.NotSerializableException: com.drneau.tournamentManager.d.b.nb
22:31:47: ***   Stack trace:
22:31:47: ***     java.io.ObjectInputStream.readObject0(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readArray(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readObject0(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.defaultReadFields(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readSerialData(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readObject0(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.defaultReadFields(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readSerialData(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readObject0(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.defaultReadFields(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readSerialData(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readObject0(Unknown Source)
22:31:47: ***     java.io.ObjectInputStream.readObject(Unknown Source)
22:31:47: ***     com.drneau.tournamentManager.b.r.run(r.java)
22:31:47: Closing connection to server
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Thu Jan 01, 2009 10:04 pm    Post subject: Reply with quote

This error was caused when an alert fired but the data couldn't be transmitted.

Any item I send across the wire (server<->client) needs to be explicity marked (by me) as "serializable". I neglected to mark this one as such, and thus the error. It's bad...causes the connection to drop.

Fixed for next release.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    drneau.com Forum Index -> Networking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group