Bug - Waiting for Info NoSuchElementException on new character without clan

AlbinoRhino

Active member
I made a new character a while back. I played a few turns in the browser (vanilla KoL) and then forgot it for a while. Today I decided to revive it and use mafia this time. I immediately started getting the attached debug log. I'm still not sure how to read these logs but it looks like maybe the error is generated when trying to gather clan information ? The character, as yet, has no clan. I can reproduce this log consistently by clicking Tools > Refresh Session.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v17.12 r18503, Windows 10, Java 9.0.4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread of KoL's
Gameplay-Discussion forum. If you would like the KoLmafia dev team
to look at it, please write a bug report at kolmafia.us. Include
specific information about what you were doing when you made this
and include this log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Mon Mar 12 14:59:34 EDT 2018
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Unexpected error, debug log printed.
class java.util.NoSuchElementException: null
java.util.NoSuchElementException
at java.base/java.util.StringTokenizer.nextToken(Unknown Source)
at net.sourceforge.kolmafia.request.ProfileRequest.refreshFields(ProfileRequest.java:345)
at net.sourceforge.kolmafia.request.ProfileRequest.processResults(ProfileRequest.java:685)
at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:2597)
at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:2488)
at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:2063)
at net.sourceforge.kolmafia.request.GenericRequest.externalExecute(GenericRequest.java:1621)
at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1604)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1323)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:286)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:249)
at net.sourceforge.kolmafia.session.ClanManager.retrieveClanIdAndName(ClanManager.java:169)
at net.sourceforge.kolmafia.session.ClanManager.getClanName(ClanManager.java:182)
at net.sourceforge.kolmafia.KoLmafia.refreshSessionData(KoLmafia.java:976)
at net.sourceforge.kolmafia.KoLmafia.refreshSession(KoLmafia.java:800)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.kolmafia.swingui.listener.InvocationListener.execute(InvocationListener.java:70)
at net.sourceforge.kolmafia.swingui.listener.ThreadedListener.run(ThreadedListener.java:239)
at net.sourceforge.kolmafia.RequestThread$SequencedRunnable.run(RequestThread.java:418)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
 

Darzil

Developer
r18720.

Hopefully avoid NoSuchElementException on showplayer.php on a character with no Familiar, Clan, Store or Trophy. Untested.
 
Top