Bug - Cannot Reproduce visit_url("pyramid.php") throws exception

bumcheekcity

Active member
I got this while running the ascend script, which is strange because there was no change to this code recently except for the addition of the obvious "print()" commands.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.8 r10164, Windows 7, Java 1.6.0_22
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Sat Dec 24 20:11:09 GMT 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
at net.sourceforge.kolmafia.persistence.AdventureDatabase.getUnknownName(AdventureDatabase.java:703)
at net.sourceforge.kolmafia.session.TurnCounter.getExpiredCounter(TurnCounter.java:218)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:964)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:90)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1758)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1719)
at sun.reflect.GeneratedMethodAccessor132.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:127)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:105)
at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:392)
at net.sourceforge.kolmafia.textui.parsetree.Expression.execute(Expression.java:221)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:79)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:95)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:322)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:249)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:242)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:200)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.run(CallScriptCommand.java:63)
at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:536)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:492)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:395)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:174)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:156)
Caused by: java.lang.ClassNotFoundException: net.sourceforge.kolmafia.request.PyramidRequest
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 43 more



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.8 r10164, Windows 7, Java 1.6.0_22
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Sat Dec 24 20:14:46 GMT 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
at net.sourceforge.kolmafia.persistence.AdventureDatabase.getUnknownName(AdventureDatabase.java:703)
at net.sourceforge.kolmafia.session.TurnCounter.getExpiredCounter(TurnCounter.java:218)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:964)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:90)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1758)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1719)
at sun.reflect.GeneratedMethodAccessor132.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:127)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:105)
at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:392)
at net.sourceforge.kolmafia.textui.parsetree.Expression.execute(Expression.java:221)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:79)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:95)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:322)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:249)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:242)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:200)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.run(CallScriptCommand.java:63)
at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:536)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:492)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:395)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:174)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:156)



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.8 r10164, Windows 7, Java 1.6.0_22
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Sat Dec 24 20:15:30 GMT 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
at net.sourceforge.kolmafia.persistence.AdventureDatabase.getUnknownName(AdventureDatabase.java:703)
at net.sourceforge.kolmafia.session.TurnCounter.getExpiredCounter(TurnCounter.java:218)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:964)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:90)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1758)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1719)
at sun.reflect.GeneratedMethodAccessor132.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:127)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:105)
at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:392)
at net.sourceforge.kolmafia.textui.parsetree.Expression.execute(Expression.java:221)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:79)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:95)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:322)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:249)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:242)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:200)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.run(CallScriptCommand.java:63)
at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:536)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:492)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:395)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:174)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:156)



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia v14.8 r10164, Windows 7, Java 1.6.0_22
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Please note: do not post this log in the KoLmafia thread. If you
would like the 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 the log as an attachment.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Sat Dec 24 20:16:54 GMT 2011
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Unexpected error, debug log printed.
class java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
java.lang.NoClassDefFoundError: net/sourceforge/kolmafia/request/PyramidRequest
at net.sourceforge.kolmafia.persistence.AdventureDatabase.getUnknownName(AdventureDatabase.java:703)
at net.sourceforge.kolmafia.session.TurnCounter.getExpiredCounter(TurnCounter.java:218)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:964)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:90)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1758)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:1719)
at sun.reflect.GeneratedMethodAccessor132.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:127)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:105)
at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:392)
at net.sourceforge.kolmafia.textui.parsetree.Expression.execute(Expression.java:221)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:79)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:95)
at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:167)
at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:454)
at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:130)
at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:322)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:249)
at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:242)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:200)
at net.sourceforge.kolmafia.textui.command.CallScriptCommand.run(CallScriptCommand.java:63)
at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:536)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:492)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:395)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:174)
at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:156)

Code:
BCC: levelMe(104, true) called.
Level     11 Starting
BCC: We have completed the stage     [macguffinprelim].
BCC: We have completed the     stage [macguffinpalin].
BCC: We have     completed the stage [hits].
BCC: We have     completed the stage [macguffinspooky].
BCC:     We have completed the stage [macguffinpyramid].
BCC:     We have completed the stage [macguffinhiddencity].
BCC:     We have not completed the stage [macguffinfinal].
a
b
c
d
Unexpected     error, debug log printed.
Script execution aborted

The relavent ASH code that produces this error is:

Code:
		if (!contains_text(visit_url("beach.php"),"pyramid.php")) visit_url("beach.php?action=woodencity");
		print("a");
		if (can_interact()) {
			retrieve_item(11, $item[tomb ratchet]);
		}
		print("b");
		
		//Set to turn the wheel. 134 is the initial and 135 subsequent visits. 
		set_property("choiceAdventure134","1");
		print("c");
		set_property("choiceAdventure135","1");
		print("d");
		if (!contains_text(visit_url("pyramid.php"),"pyramid3b.gif")) {
			print("e");
			if (item_amount($item[tomb ratchet]) > 0) {
				use(1, $item[tomb ratchet]);
				print("f1");
			} else {
				print("f2");
				if (i_a("carved wooden wheel") == 0) bumAdv($location[Upper Chamber], "", "", "carved wooden wheel", "Getting the Carved Wooden Wheel");
				bumAdv($location[Middle Chamber], "", "", "choiceadv", "Getting the initial choice adventure", "-");
			}
		}
		print("g");

As can be seen, it appears to be a problem at the line:

if (!contains_text(visit_url("pyramid.php"),"pyramid3b.gif")) {
 
Last edited:

xKiv

Active member
In my limited experience, NoClassDefFoundError is often caused by an exception thrown from inside a class's constructor. Like running out of memory, for example. Too bad this stack trace doesn't list the entire causal chain of exceptions.
 
Last edited:

Veracity

Developer
Staff member
What does this have to do with "buying Tomb Ratchets"? In every case, it was in the middle of a visit_url() call.

In fact, you presumably already know that, simply by looking at your debug prints: with "d" but neither "e" nor "g", it HAD to be the call to visit_url("pyramid.php") that failed.

I will, at least, fix your bug report title so it isn't completely misleading...
 

bumcheekcity

Active member
Oh, that's because initially that's where the problem seemed to occur, but then I did some further investigation, found that to be wrong, edited the post but forgot the original title.
 

Veracity

Developer
Staff member
The stack trace makes no sense.

You told KoLmafia to visit pyramid.php.
It did so.
When checking if this was a loggable adventure location, it tried to call PyramidRequest.getPyramidLocationString()
Your Java runtime threw an exception, claiming it could not find PyramidRequest.

Conclusion: your Java was confused.

For reference, here is a visit_url, just like yours, checking for the image that matches my pyramid state:

> ash contains_text(visit_url("pyramid.php"),"pyramid4_1b.gif")

Returned: true

As you can see, it had no problem visiting pyramid.php, getting the result text, and finding the expected string.

Cannot Reproduce.
 
Top