r16696
Clicking the accept quest button in the LT&T choice adventure sometimes causes an NPE:
Code:
Unexpected error, debug log printed.
class java.lang.IllegalStateException: No match found
java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Matcher.java:536)
at net.sourceforge.kolmafia.session.ChoiceManager.preChoice(ChoiceManager.java:6666)
at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1525)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1320)
at net.sourceforge.kolmafia.request.RelayRequest.run(RelayRequest.java:3065)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:286)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:249)
at net.sourceforge.kolmafia.webui.RelayAgent.readServerResponse(RelayAgent.java:567)
at net.sourceforge.kolmafia.webui.RelayAgent.performRelay(RelayAgent.java:161)
at net.sourceforge.kolmafia.webui.RelayAgent.run(RelayAgent.java:134)
The gift shop/leave choice buttons do not cause the NPE. Leaving the choice and going back to it fixes it.
I'm not sure what the conditions are. For me, it seems to be the very first time I try to accept a quest in an ascension. Though before that, I visit the choice adventure and chose the leave button, to get the cowboy boots.