Not logged in. · Lost password · Register

Member since Oct 2016
806 posts
Subject: JaPaNi throws Nullpointer Exceptions
All over the place:
Exception in thread "Thread-3" java.lang.NullPointerException
    at game.State$Result.get(
    at game.State.<init>(
    at info.kwarc.teaching.AI.Kalah.WS1819.JaPaNi.move(
Please fix this asap ;)
Member since Jan 2018
6 posts
+1 Jazzpirate
The reason for this is the error in KalahGUI\src\game\State.
I already pointed out the mistake in this forum in 'Kalah: error in game.State'.
In the constructor of State the GameInfo must be set before setting the result.
Member since Oct 2016
806 posts
Ah, makes sense - I've fixed it now and your agent (seems to) run(s) as expected :)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Datenschutz | Kontakt
Powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2011 by Yves Goergen