[Computer-go] kgs-chat command not working

Andy andy.olsen.tx at gmail.com
Sun Dec 10 14:19:28 PST 2017


I'm trying to implement the kgs-chat command but I'm getting a crash in
kgsGtp-3.5.22. Everything works fine and I can chat with the bot. But when
a match starts that's when it crashes. Here is my gtp log. Any ideas? Or
can someone paste me an example log that works or point me to example code?

name
= myname

version
= myversion

kgs-chat private yoyoma .
= hello

boardsize 19
=

kgs-time_settings none
=

boardsize 19
java.lang.NullPointerException
at com.gokgs.client.gtp.GtpConvo.handleChat(GtpConvo.java:70)
at com.gokgs.client.gtp.GtpConvo.handleConvoEvent(GtpConvo.java:64)
at org.igoweb.util.Multicaster.handleEvent(Multicaster.java:107)
at org.igoweb.util.Emitter.emit(Emitter.java:85)
at org.igoweb.igoweb.client.CChannel.appendChat(CChannel.java:249)
at com.gokgs.client.KCGame.extractChats(KCGame.java:393)
at com.gokgs.client.KCGame.applyTreeEvent(KCGame.java:376)
at com.gokgs.client.KCGame.readGameUpdate(KCGame.java:366)
at org.igoweb.igoweb.client.CGame.handleMessage(CGame.java:163)
at com.gokgs.client.KCGame.handleMessage(KCGame.java:156)
at org.igoweb.igoweb.client.Client.connEventIn(Client.java:465)
at org.igoweb.igoweb.client.Conn.doEmit(Conn.java:268)
at org.igoweb.igoweb.client.Conn.lambda$emit$0(Conn.java:258)
at org.igoweb.igoweb.client.LockConnMutex.dispatcher(LockConnMutex.java:128)
at java.lang.Thread.run(Thread.java:748)
java.io.EOFException
at java.io.DataInputStream.readShort(DataInputStream.java:315)
at org.igoweb.igoweb.client.Conn.waitForMessages(Conn.java:302)
at java.lang.Thread.run(Thread.java:748)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://computer-go.org/pipermail/computer-go/attachments/20171210/58e647f5/attachment.html>


More information about the Computer-go mailing list