Bug Debug log generated after purchasing raffle tickets

Magus_Prime

Well-known member
With r26349 I logged in, did the following:

Are you ready for some voting!?

Encounter: Daily Loathing Ballot
You have cast your votes
You acquire an item: "I Voted!" sticker
You acquire an item: frozen tofu pop
You acquire raffle ticket (10)
Unexpected error, debug log printed.
 

Attachments

  • DEBUG_20220415.txt
    5.4 KB · Views: 4

fronobulax

Developer
Staff member
More context please? For example, "Are you ready for some voting!?" is not a message from mafia. If you are scripting what is the next thing the script tries after the raffle tickets? Did it happen more than once? Relay browser up and running?
 

Magus_Prime

Well-known member
Nothing was being scripted. I clicked on the button on the main map, in the relay browser, that took me to the voting booth. I then went to the campsite workshed and got a frozen tofu pop. After that I went to the beach and bought raffle tickets. Everything happened via mouse-clicks in the relay browser.
 
Last edited:

Veracity

Developer
Staff member
A "ClosedChannelException" trying to download an image from KoL during a normal RelayRequest.

Code:
Unexpected error, debug log printed.
class java.net.ConnectException: null
java.net.ConnectException
    at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:573)
    at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119)
    at net.sourceforge.kolmafia.utilities.FileUtilities.getResponseFromRequest(FileUtilities.java:209)
    at net.sourceforge.kolmafia.utilities.FileUtilities.downloadFile(FileUtilities.java:354)
    at net.sourceforge.kolmafia.utilities.FileUtilities.downloadFile(FileUtilities.java:324)
    at net.sourceforge.kolmafia.utilities.FileUtilities.downloadImage(FileUtilities.java:418)
    at net.sourceforge.kolmafia.request.RelayRequest.sendLocalImage(RelayRequest.java:634)
    at net.sourceforge.kolmafia.request.RelayRequest.handleSimple(RelayRequest.java:3248)
    at net.sourceforge.kolmafia.request.RelayRequest.run(RelayRequest.java:3284)
    at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:243)
    at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:208)
    at net.sourceforge.kolmafia.webui.RelayAgent.readServerResponse(RelayAgent.java:453)
    at net.sourceforge.kolmafia.webui.RelayAgent.performRelay(RelayAgent.java:103)
    at net.sourceforge.kolmafia.webui.RelayAgent.run(RelayAgent.java:82)
Caused by: java.net.ConnectException
    at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1047)
    at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
    at java.net.http/jdk.internal.net.http.PlainHttpConnection.checkRetryConnect(PlainHttpConnection.java:230)
    at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:206)
    at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
    at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911)
    at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
    at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.nio.channels.ClosedChannelException
    at java.base/sun.nio.ch.SocketChannelImpl.ensureOpen(SocketChannelImpl.java:195)
    at java.base/sun.nio.ch.SocketChannelImpl.beginConnect(SocketChannelImpl.java:760)
    at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:848)
    at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
    at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185)
    ... 9 more
 
Top