Results 1 to 2 of 2

Thread: NoSuchElementException on new character without clan

  1. #1
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008

    Default NoSuchElementException on new character without clan

    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 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
    at java.base/java.util.StringTokenizer.nextToken(Unknown Source)
    at freshFields(
    at ocessResults(
    at ocessResponse(
    at trieveServerReply(
    at trieveServerReply(
    at net.sourceforge.kolmafia.request.GenericRequest.ex ternalExecute(
    at net.sourceforge.kolmafia.request.GenericRequest.ex ecute(
    at n(
    at net.sourceforge.kolmafia.RequestThread.postRequest (
    at net.sourceforge.kolmafia.RequestThread.postRequest (
    at net.sourceforge.kolmafia.session.ClanManager.retri eveClanIdAndName(
    at net.sourceforge.kolmafia.session.ClanManager.getCl anName(
    at net.sourceforge.kolmafia.KoLmafia.refreshSessionDa ta(
    at net.sourceforge.kolmafia.KoLmafia.refreshSession(K
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke(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.Invocati onListener.execute(
    at net.sourceforge.kolmafia.swingui.listener.Threaded
    at net.sourceforge.kolmafia.RequestThread$SequencedRu
    at java.base/java.util.concurrent.Executors$ l(Unknown Source)
    at java.base/ Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$ (Unknown Source)
    at java.base/ Source)

  2. #2
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008


    The error stops upon reaching Level 3 (The Clan District becomes available in town).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts