Bug - Fixed NPE when selecting 'auto' choiceadv in relay browser

roippi

Developer
Adventuring in relay browser, got to "curtains" noncombat adventure.

Click "auto" to select the choice I have in preference choiceadventure90, get a horrible relay failure. Manually selecting the choice does not produce a failure event.

Code:
[268] Haunted Ballroom
Encounter: Curtains
Horrible relay failure
Horrible relay failure
Encounter: Curtains
You gain 73 Smarm
You gain a Moxie point!
Horrible relay failure

[269] Haunted Ballroom
Encounter: Strung-Up Quartet
Horrible relay failure
Horrible relay failure
Encounter: Strung-Up Quartet

Also happens with a different noncombat in same zone. The extra Horrible relay failures are from f5 reloading the page.

Code:
> prefref choiceadventure90

choiceAdventure90 (user, now '2', default 2)
 

Attachments

Can't reproduce?

Code:
[19436] Haunted Ballroom
Encounter: Curtains
You gain 165 Smarm

> get choiceAdventure90

2
 
I'm not sure what's peculiar about that zone for me, I've been successfully able to hit 'auto' in other zones. Let me restart my session and see if it persists.

ETA: a new session and I can no longer reproduce the problem.
 
Last edited:
Ok, adding a null pointer check at the line number in the stack trace ... but it only happens if KoLmafia got a 200 response, but somehow the response didn't actually come back. So it's more suppressing the symptom than addressing the cause. =\
 
Back
Top