Results 1 to 8 of 8

Thread: kolmafia won't let me login, very laggyu

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    7

    Default kolmafia won't let me login, very laggyu

    Since yesterday I have a huge lag when running kolmafia, but most of the time it even won't let me login fully

    This can be found in the logfile

    Code:
    Error during session initialization
    class java.lang.NullPointerException: null
    java.lang.NullPointerException
    	at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1770)
    	at java.base/java.util.regex.Matcher.reset(Matcher.java:416)
    	at java.base/java.util.regex.Matcher.<init>(Matcher.java:253)
    	at java.base/java.util.regex.Pattern.matcher(Pattern.java:1133)
    	at net.sourceforge.kolmafia.session.InventoryManager.checkCrownOfThrones(InventoryManager.java:1640)
    	at net.sourceforge.kolmafia.KoLmafia.refreshSessionData(KoLmafia.java:981)
    	at net.sourceforge.kolmafia.KoLmafia.refreshSession(KoLmafia.java:820)
    	at net.sourceforge.kolmafia.session.LoginManager.initialize(LoginManager.java:214)
    	at net.sourceforge.kolmafia.session.LoginManager.doLogin(LoginManager.java:97)
    	at net.sourceforge.kolmafia.session.LoginManager.login(LoginManager.java:81)
    	at net.sourceforge.kolmafia.request.LoginRequest.processLoginRequest(LoginRequest.java:409)
    	at net.sourceforge.kolmafia.request.GenericRequest.handleServerRedirect(GenericRequest.java:2216)
    	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:2092)
    	at net.sourceforge.kolmafia.request.GenericRequest.externalExecute(GenericRequest.java:1640)
    	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1623)
    	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1341)
    	at net.sourceforge.kolmafia.request.LoginRequest.run(LoginRequest.java:270)
    	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:286)
    	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:249)
    	at net.sourceforge.kolmafia.swingui.LoginFrame$LoginPanel.doLogin(LoginFrame.java:344)
    	at net.sourceforge.kolmafia.swingui.LoginFrame$LoginPanel.actionConfirmed(LoginFrame.java:300)
    	at net.sourceforge.kolmafia.swingui.panel.GenericPanel$ConfirmedListener.execute(GenericPanel.java:626)
    	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(Executors.java:515)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    	at java.base/java.lang.Thread.run(Thread.java:834)
    Error during session initialization

  2. #2
    Junior Member
    Join Date
    Jun 2009
    Posts
    7

    Default

    I retested kolmafia at my work , downloaded latest kolmafia and I get this error
    <CODE>
    Error during session initialization
    class java.lang.NumberFormatException: For input string: "+25"
    java.lang.NumberFormatException: For input string: "+25"
    at java.lang.NumberFormatException.forInputString(Unk nown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at net.sourceforge.kolmafia.Modifiers$ModifierList.ad dToModifier(Modifiers.java:2526)
    at net.sourceforge.kolmafia.persistence.DebugDatabase .appendModifier(DebugDatabase.java:1530)
    at net.sourceforge.kolmafia.persistence.DebugDatabase .parseStandardEnchantments(DebugDatabase.java:1512 )
    at net.sourceforge.kolmafia.persistence.DebugDatabase .parseItemEnchantments(DebugDatabase.java:1336)
    at net.sourceforge.kolmafia.persistence.DebugDatabase .parseItemEnchantments(DebugDatabase.java:1443)
    at net.sourceforge.kolmafia.session.InventoryManager. checkLatte(InventoryManager.java:1776)
    at net.sourceforge.kolmafia.KoLmafia.refreshSessionDa ta(KoLmafia.java:993)
    at net.sourceforge.kolmafia.KoLmafia.refreshSession(K oLmafia.java:820)
    at net.sourceforge.kolmafia.session.LoginManager.init ialize(LoginManager.java:214)
    at net.sourceforge.kolmafia.session.LoginManager.doLo gin(LoginManager.java:97)
    at net.sourceforge.kolmafia.session.LoginManager.logi n(LoginManager.java:81)
    at net.sourceforge.kolmafia.request.LoginRequest.proc essLoginRequest(LoginRequest.java:409)
    at net.sourceforge.kolmafia.request.GenericRequest.ha ndleServerRedirect(GenericRequest.java:2216)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2092)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ternalExecute(GenericRequest.java:1640)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ecute(GenericRequest.java:1623)
    at net.sourceforge.kolmafia.request.GenericRequest.ru n(GenericRequest.java:1341)
    at net.sourceforge.kolmafia.request.LoginRequest.run( LoginRequest.java:270)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:286)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:249)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.doLogin(LoginFrame.java:344)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.actionConfirmed(LoginFrame.java:300)
    at net.sourceforge.kolmafia.swingui.panel.GenericPane l$ConfirmedListener.execute(GenericPanel.java:626)
    at net.sourceforge.kolmafia.swingui.listener.Threaded Listener.run(ThreadedListener.java:239)
    at net.sourceforge.kolmafia.RequestThread$SequencedRu nnable.run(RequestThread.java:418)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unkn own Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Error during session initialization
    </CODE>

    Any help will be appreciated

  3. #3
    Junior Member
    Join Date
    Jun 2009
    Posts
    7

    Default

    Okay Ezandora, said the latest error message could be related to the latte in my inventory. I replaced it and now I can log into mafia again at work. Very strange

  4. #4
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,119

    Default

    What latte did you have that didn't work?

  5. #5
    Junior Member
    Join Date
    Jun 2009
    Posts
    7

    Default

    I had a latte with +25 damage, sleaze I think.
    I copied the latest mafia build ( 19527 ) to a new directory and tried to start it there.
    I got the following errors:



    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    KoLmafia v19.7 r19527, Windows 10, Java 11.0.2
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    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: Wed Sep 04 18:03:07 CEST 2019
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


    Unexpected error, debug log printed.
    class java.net.ConnectException: Connection timed out: connect
    java.net.ConnectException: Connection timed out: connect
    at java.base/java.net.PlainSocketImpl.connect0(Native Method)
    at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocket Impl.java:101)
    at java.base/java.net.AbstractPlainSocketImpl.doConnect(Abstrac tPlainSocketImpl.java:399)
    at java.base/java.net.AbstractPlainSocketImpl.connectToAddress( AbstractPlainSocketImpl.java:242)
    at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractP lainSocketImpl.java:224)
    at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:403)
    at java.base/java.net.Socket.connect(Socket.java:591)
    at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketIm pl.java:285)
    at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSL SocketImpl.java:173)
    at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java :182)
    at java.base/sun.net.http://www.http.HttpClient.openServe...ient.java:474)
    at java.base/sun.net.http://www.http.HttpClient.openServe...ient.java:569)
    at java.base/sun.net.www.protocol.https.HttpsClient.<init>(Http sClient.java:265)
    at java.base/sun.net.http://www.protocol.https.HttpsClien...ient.java:372)
    at java.base/sun.net.http://www.protocol.https.AbstractDe...tion.java:191)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1181)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1075)
    at java.base/sun.net.http://www.protocol.https.AbstractDe...tion.java:177)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1581)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1509)
    at java.base/java.net.HttpURLConnection.getResponseCode(HttpURL Connection.java:527)
    at java.base/sun.net.http://www.protocol.https.HttpsURLCo...Impl.java:329)
    at net.sourceforge.kolmafia.utilities.FileUtilities.g etInputStreamFromConnection(FileUtilities.java:276 )
    at net.sourceforge.kolmafia.utilities.FileUtilities.d ownloadFile(FileUtilities.java:435)
    at net.sourceforge.kolmafia.utilities.FileUtilities.d ownloadFile(FileUtilities.java:397)
    at net.sourceforge.kolmafia.utilities.FileUtilities.d ownloadImage(FileUtilities.java:502)
    at net.sourceforge.kolmafia.session.VolcanoMazeManage r.<clinit>(VolcanoMazeManager.java:123)
    at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCha racter.java:614)
    at net.sourceforge.kolmafia.KoLCharacter.reset(KoLCha racter.java:507)
    at net.sourceforge.kolmafia.session.LoginManager.init ialize(LoginManager.java:176)
    at net.sourceforge.kolmafia.session.LoginManager.doLo gin(LoginManager.java:97)
    at net.sourceforge.kolmafia.session.LoginManager.logi n(LoginManager.java:81)
    at net.sourceforge.kolmafia.request.LoginRequest.proc essLoginRequest(LoginRequest.java:409)
    at net.sourceforge.kolmafia.request.GenericRequest.ha ndleServerRedirect(GenericRequest.java:2216)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2092)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ternalExecute(GenericRequest.java:1640)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ecute(GenericRequest.java:1623)
    at net.sourceforge.kolmafia.request.GenericRequest.ru n(GenericRequest.java:1341)
    at net.sourceforge.kolmafia.request.LoginRequest.run( LoginRequest.java:270)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:286)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:249)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.doLogin(LoginFrame.java:344)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.actionConfirmed(LoginFrame.java:300)
    at net.sourceforge.kolmafia.swingui.panel.GenericPane l$ConfirmedListener.execute(GenericPanel.java:626)
    at net.sourceforge.kolmafia.swingui.listener.Threaded Listener.run(ThreadedListener.java:239)
    at net.sourceforge.kolmafia.RequestThread$SequencedRu nnable.run(RequestThread.java:418)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.jav a:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)



    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    KoLmafia v19.7 r19527, Windows 10, Java 11.0.2
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    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: Wed Sep 04 18:03:56 CEST 2019
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


    Unexpected error, debug log printed.
    class java.net.ConnectException: Connection timed out: connect
    java.net.ConnectException: Connection timed out: connect
    at java.base/java.net.PlainSocketImpl.connect0(Native Method)
    at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocket Impl.java:101)
    at java.base/java.net.AbstractPlainSocketImpl.doConnect(Abstrac tPlainSocketImpl.java:399)
    at java.base/java.net.AbstractPlainSocketImpl.connectToAddress( AbstractPlainSocketImpl.java:242)
    at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractP lainSocketImpl.java:224)
    at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:403)
    at java.base/java.net.Socket.connect(Socket.java:591)
    at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketIm pl.java:285)
    at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSL SocketImpl.java:173)
    at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java :182)
    at java.base/sun.net.http://www.http.HttpClient.openServe...ient.java:474)
    at java.base/sun.net.http://www.http.HttpClient.openServe...ient.java:569)
    at java.base/sun.net.www.protocol.https.HttpsClient.<init>(Http sClient.java:265)
    at java.base/sun.net.http://www.protocol.https.HttpsClien...ient.java:372)
    at java.base/sun.net.http://www.protocol.https.AbstractDe...tion.java:191)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1181)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1075)
    at java.base/sun.net.http://www.protocol.https.AbstractDe...tion.java:177)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1581)
    at java.base/sun.net.http://www.protocol.http.HttpURLConn...ion.java:1509)
    at java.base/java.net.HttpURLConnection.getResponseCode(HttpURL Connection.java:527)
    at java.base/sun.net.http://www.protocol.https.HttpsURLCo...Impl.java:329)
    at net.sourceforge.kolmafia.utilities.FileUtilities.g etInputStreamFromConnection(FileUtilities.java:276 )
    at net.sourceforge.kolmafia.utilities.FileUtilities.d ownloadFile(FileUtilities.java:435)
    at net.sourceforge.kolmafia.utilities.FileUtilities.d ownloadFile(FileUtilities.java:397)
    at net.sourceforge.kolmafia.utilities.FileUtilities.d ownloadImage(FileUtilities.java:502)
    at net.sourceforge.kolmafia.KoLCharacter.setAvatar(Ko LCharacter.java:1130)
    at net.sourceforge.kolmafia.request.CharSheetRequest. parseStatus(CharSheetRequest.java:122)
    at net.sourceforge.kolmafia.request.CharSheetRequest. processResults(CharSheetRequest.java:112)
    at net.sourceforge.kolmafia.request.GenericRequest.pr ocessResponse(GenericRequest.java:2618)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2509)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2082)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ternalExecute(GenericRequest.java:1640)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ecute(GenericRequest.java:1623)
    at net.sourceforge.kolmafia.request.GenericRequest.ru n(GenericRequest.java:1341)
    at net.sourceforge.kolmafia.request.CharSheetRequest. run(CharSheetRequest.java:106)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:286)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:249)
    at net.sourceforge.kolmafia.KoLmafia.refreshSessionDa ta(KoLmafia.java:872)
    at net.sourceforge.kolmafia.KoLmafia.refreshSession(K oLmafia.java:820)
    at net.sourceforge.kolmafia.session.LoginManager.init ialize(LoginManager.java:214)
    at net.sourceforge.kolmafia.session.LoginManager.doLo gin(LoginManager.java:97)
    at net.sourceforge.kolmafia.session.LoginManager.logi n(LoginManager.java:81)
    at net.sourceforge.kolmafia.request.LoginRequest.proc essLoginRequest(LoginRequest.java:409)
    at net.sourceforge.kolmafia.request.GenericRequest.ha ndleServerRedirect(GenericRequest.java:2216)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2092)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ternalExecute(GenericRequest.java:1640)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ecute(GenericRequest.java:1623)
    at net.sourceforge.kolmafia.request.GenericRequest.ru n(GenericRequest.java:1341)
    at net.sourceforge.kolmafia.request.LoginRequest.run( LoginRequest.java:270)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:286)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:249)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.doLogin(LoginFrame.java:344)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.actionConfirmed(LoginFrame.java:300)
    at net.sourceforge.kolmafia.swingui.panel.GenericPane l$ConfirmedListener.execute(GenericPanel.java:626)
    at net.sourceforge.kolmafia.swingui.listener.Threaded Listener.run(ThreadedListener.java:239)
    at net.sourceforge.kolmafia.RequestThread$SequencedRu nnable.run(RequestThread.java:418)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.jav a:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)



    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    KoLmafia v19.7 r19527, Windows 10, Java 11.0.2
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    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: Wed Sep 04 18:06:19 CEST 2019
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


    Error during session initialization
    class java.lang.NullPointerException: null
    java.lang.NullPointerException
    at java.base/java.util.regex.Matcher.getTextLength(Matcher.java :1770)
    at java.base/java.util.regex.Matcher.reset(Matcher.java:416)
    at java.base/java.util.regex.Matcher.<init>(Matcher.java:253)
    at java.base/java.util.regex.Pattern.matcher(Pattern.java:1133)
    at net.sourceforge.kolmafia.request.EquipmentRequest. checkCowboyBoots(EquipmentRequest.java:2419)
    at net.sourceforge.kolmafia.KoLmafia.refreshSessionDa ta(KoLmafia.java:1031)
    at net.sourceforge.kolmafia.KoLmafia.refreshSession(K oLmafia.java:820)
    at net.sourceforge.kolmafia.session.LoginManager.init ialize(LoginManager.java:214)
    at net.sourceforge.kolmafia.session.LoginManager.doLo gin(LoginManager.java:97)
    at net.sourceforge.kolmafia.session.LoginManager.logi n(LoginManager.java:81)
    at net.sourceforge.kolmafia.request.LoginRequest.proc essLoginRequest(LoginRequest.java:409)
    at net.sourceforge.kolmafia.request.GenericRequest.ha ndleServerRedirect(GenericRequest.java:2216)
    at net.sourceforge.kolmafia.request.GenericRequest.re trieveServerReply(GenericRequest.java:2092)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ternalExecute(GenericRequest.java:1640)
    at net.sourceforge.kolmafia.request.GenericRequest.ex ecute(GenericRequest.java:1623)
    at net.sourceforge.kolmafia.request.GenericRequest.ru n(GenericRequest.java:1341)
    at net.sourceforge.kolmafia.request.LoginRequest.run( LoginRequest.java:270)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:286)
    at net.sourceforge.kolmafia.RequestThread.postRequest (RequestThread.java:249)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.doLogin(LoginFrame.java:344)
    at net.sourceforge.kolmafia.swingui.LoginFrame$LoginP anel.actionConfirmed(LoginFrame.java:300)
    at net.sourceforge.kolmafia.swingui.panel.GenericPane l$ConfirmedListener.execute(GenericPanel.java:626)
    at net.sourceforge.kolmafia.swingui.listener.Threaded Listener.run(ThreadedListener.java:239)
    at net.sourceforge.kolmafia.RequestThread$SequencedRu nnable.run(RequestThread.java:418)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.jav a:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
    Error during session initialization

  6. #6
    Junior Member
    Join Date
    Jun 2009
    Posts
    7

    Default

    I installed a vpn, connected to USA and I have no more connection time outs.
    So this solves it for me, but I don't know what the cause of the problem is.

  7. #7
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,119

    Default

    It was network issues, for sure.

    Your other issues:

    - NPE checking crown of thrones
    - NPE checking cowboy boots

    were almost certainly a result of the request failing, getting back a null response buffer, and failing to check that.
    I could swear that I made network failures return an empty response - "" - rather than NULL, so that callers would not have to check.
    I will look into this.

    - parsing error for latte

    I will investigate this.

    In any case, I am glad that by improving your network, the network-induced errors went away, since there is, literally, nothing that KoLmafia can do to prevent things like this:

    java.net.ConnectException: Connection timed out: connect

    or IOExceptions on posting data or reading responses, as other people have been reporting.

  8. #8
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,119

    Default

    I think that the issue you were having is because you are an Old account and perhaps allowSocketTimeouts was true, since you created your account before I set the default to false. There is no code all over KoLmafia to handle requests returning with a null responseText - but that can happen with socket timeouts, and not if we disable them
    I disable socket timeouts for everyone in r19533. So, I will look no further into preventing random NPEs because there is a null responseText.

    This is fixed - primarily by you, who got a more reliable way to connect to KoL itself, it seems, but also because inevitable network (or KoL) created timeouts whould no longer prevent you from operating, even if slower than you'd prefer.

Posting Permissions

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