Bale
Minion
The error looks like this:
The exact line in zlib is
According to a debugging print statement, mbits.group(2) is
When I run that string through extract_meat() it works fine, but only outside of the script.
Code:
> registry
Unexpected error, debug log printed.
Script execution aborted (java.util.NoSuchElementException): (zlib.ash, line 703)
Code:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v16.8 r15630, Windows XP, Java 1.7.0_55
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: Mon Mar 23 02:03:34 EDT 2015
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.util.NoSuchElementException: null
java.util.NoSuchElementException
at java.util.LinkedList.getFirst(Unknown Source)
at net.sourceforge.kolmafia.session.ResultProcessor.processItem(ResultProcessor.java:468)
at net.sourceforge.kolmafia.session.ResultProcessor.processNextResult(ResultProcessor.java:439)
at net.sourceforge.kolmafia.session.ResultProcessor.processNormalResults(ResultProcessor.java:361)
at net.sourceforge.kolmafia.session.ResultProcessor.processResults(ResultProcessor.java:331)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.extract_meat(RuntimeLibrary.java:5217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:106)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
at net.sourceforge.kolmafia.textui.parsetree.Assignment.execute(Assignment.java:103)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
at net.sourceforge.kolmafia.textui.parsetree.Loop.execute(Loop.java:59)
at net.sourceforge.kolmafia.textui.parsetree.WhileLoop.execute(WhileLoop.java:100)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:435)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:153)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:401)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:325)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:318)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:256)
at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:606)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:549)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:450)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:318)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:187)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:163)
The exact line in zlib is
Code:
mail[n].meat = extract_meat(mbits.group(2));
According to a debugging print statement, mbits.group(2) is
Code:
<table class=\"item\" style=\"float: none\" rel=\"id=7731&s=0&q=0&d=0&g=0&t=1&n=1&m=0&p=0&u=u&ou=decrypt\"><tr><td><img src=\"http:\/\/images.kingdomofloathing.com\/itemimages\/transmission.gif\" alt=\"transmission from planet Xi\" title=\"transmission from planet Xi\" class=hand onClick='descitem(638258454)'><\/td><td valign=center class=effect>You acquire an item: <b>transmission from planet Xi<\/b><\/td><\/tr><\/table><\/center>"
When I run that string through extract_meat() it works fine, but only outside of the script.