It is currently 16 Apr 2024, 04:40
   
Text Size

jgn stack trace on client connection.

by Nate

Moderator: CCGHQ Admins

jgn stack trace on client connection.

Postby jpb » 06 Oct 2008, 04:07

Just fyi, I got the following when I ran java -jar Client.jar and selected file->connect and connected to localhost.

C:\Documents and Settings\Administrator\Desktop\arcane-0.16>java -jar Server.jar
WARNING: can't read any configuration for JGN-logging
Arcane v0.16

Oct 5, 2008 10:58:50 PM com.captiveimagination.jgn.TCPMessageServer <init>
INFO: create TCPMessageServer (id=-2268064768210584576) at 0.0.0.0/0.0.0.0:52038, queuesize= 1,024
Oct 5, 2008 10:58:50 PM com.captiveimagination.jgn.clientserver.JGNServer <init>
INFO: JGNServer created using TCP=(-2268064768210584576), UDP=none
Server started.
Oct 5, 2008 10:58:50 PM com.captiveimagination.jgn.UpdatableRunnable run
INFO: JGN update thread 19 started
Oct 5, 2008 10:59:13 PM com.captiveimagination.jgn.MessageClient setStatus
WARNING:
java.lang.Exception: MC 4767873772270220288 state equal. PLEASE SEND LOG to JGN, if this appears ...(CONNECTED-->CONNECTED).
Thanks
at com.captiveimagination.jgn.MessageClient.setStatus(MessageClient.java:190)
at com.captiveimagination.jgn.InternalListener.messageReceived(InternalListener.java:128)
at com.captiveimagination.jgn.MessageServer.sendToListener(MessageServer.java:463)
at com.captiveimagination.jgn.MessageServer.notifyIncoming(MessageServer.java:494)
at com.captiveimagination.jgn.MessageServer.updateEvents(MessageServer.java:381)
at com.captiveimagination.jgn.clientserver.JGNServer.updateEvents(JGNServer.java:177)
at com.captiveimagination.jgn.clientserver.JGNServer.update(JGNServer.java:162)
at com.captiveimagination.jgn.UpdatableRunnable.run(JGN.java:428)
at java.lang.Thread.run(Thread.java:803)
Oct 5, 2008 10:59:13 PM com.captiveimagination.jgn.MessageClient setStatus
WARNING:
java.lang.Exception: MC 4767873772270220288 state equal. PLEASE SEND LOG to JGN, if this appears ...(CONNECTED-->CONNECTED).
Thanks
at com.captiveimagination.jgn.MessageClient.setStatus(MessageClient.java:190)
at com.captiveimagination.jgn.InternalListener.messageReceived(InternalListener.java:128)
at com.captiveimagination.jgn.MessageServer.sendToListener(MessageServer.java:463)
at com.captiveimagination.jgn.MessageServer.notifyIncoming(MessageServer.java:494)
at com.captiveimagination.jgn.MessageServer.updateEvents(MessageServer.java:381)
at com.captiveimagination.jgn.clientserver.JGNServer.updateEvents(JGNServer.java:177)
at com.captiveimagination.jgn.clientserver.JGNServer.update(JGNServer.java:162)
at com.captiveimagination.jgn.UpdatableRunnable.run(JGN.java:428)
at java.lang.Thread.run(Thread.java:803)
jpb
 
Posts: 132
Joined: 05 Sep 2008, 13:12
Has thanked: 0 time
Been thanked: 0 time

Re: jgn stack trace on client connection.

Postby jpb » 06 Oct 2008, 04:09

Dont know if you want more of these, so I'll post the other stack traces I got on the server here.

WARNING: Connection to reliableRemoteAddress failed.
java.io.IOException: Connection to reliableRemoteAddress failed.
at com.captiveimagination.jgn.clientserver.JGNClient.connectAndWait(JGNClient.java:332)
at arcane.client.Client.connectAndWait(Client.java:29)
at arcane.client.ui.LobbyFrame$1ConnectLoader.load(LobbyFrame.java:226)
at arcane.util.Loader.run(Loader.java:78)
at java.lang.Thread.run(Thread.java:803)

and

Oct 5, 2008 11:05:28 PM com.captiveimagination.jgn.DefaultUncaughtExceptionHandler uncaughtException
SEVERE: Uncaught exception: Terminating Thread.
com.captiveimagination.jgn.MessageException: Error invoking dynamic message listener: arcane.client.ZoneListener, type=RECEIV
ED, message=arcane.network.Network$MoveZoneCards
at com.captiveimagination.jgn.event.DynamicMessageAdapter.handle(DynamicMessageAdapter.java:178)
at com.captiveimagination.jgn.MessageServer.sendToListener(MessageServer.java:454)
at com.captiveimagination.jgn.MessageServer.notifyIncoming(MessageServer.java:494)
at com.captiveimagination.jgn.MessageServer.updateEvents(MessageServer.java:381)
at com.captiveimagination.jgn.clientserver.JGNClient.updateEvents(JGNClient.java:251)
at com.captiveimagination.jgn.clientserver.JGNClient.update(JGNClient.java:236)
at com.captiveimagination.jgn.UpdatableRunnable.run(JGN.java:428)
at java.lang.Thread.run(Thread.java:803)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.captiveimagination.jgn.event.DynamicMessageAdapter.handle(DynamicMessageAdapter.java:176)
... 7 more
Caused by: java.lang.NullPointerException
at arcane.client.ZoneListener.messageReceived(ZoneListener.java:113)
... 11 more

The first two execeptions did not cause problems with game play afaik, but it seemed like the npe disconnected one of my clients.
jpb
 
Posts: 132
Joined: 05 Sep 2008, 13:12
Has thanked: 0 time
Been thanked: 0 time

Re: jgn stack trace on client connection.

Postby Snacko » 06 Oct 2008, 18:51

You could try a newer jgn.jar maybe it fixes something.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: jgn stack trace on client connection.

Postby jpb » 06 Oct 2008, 20:28

npe looks to be in arcane. I will try a newer jgn.jar sometime next week if I have a chance.
jpb
 
Posts: 132
Joined: 05 Sep 2008, 13:12
Has thanked: 0 time
Been thanked: 0 time

Re: jgn stack trace on client connection.

Postby Snacko » 11 Jun 2009, 20:44

I checked this and it looks like it comes from a race condition from arcane.
And yes the npe terminates the jgn thread which results in players being disconnected.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times


Return to Arcane

Who is online

Users browsing this forum: No registered users and 7 guests


Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 7 guests

Login Form