I'm assuming this is coming from excavator.js, but as @gausie says, an error in a script shouldn't cause an NPE. There's not much to go on here, but I wanted to get it recorded while I try to further debug.
Rich (BB code):
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia r28001-M, Mac OS X, Java 18.0.2.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Timestamp: Sat Jul 20 00:38:00 CDT 2024
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
User: Mad Carew
Current run: 828
MRU Script: Unknown
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unexpected error, debug log printed.
class java.lang.NullPointerException: Cannot invoke "org.mozilla.javascript.Scriptable.getParentScope()" because "obj" is null
java.lang.NullPointerException: Cannot invoke "org.mozilla.javascript.Scriptable.getParentScope()" because "obj" is null
at org.mozilla.javascript.ScriptableObject.getTopLevelScope(ScriptableObject.java:1955)
at org.mozilla.javascript.ScriptRuntime.setBuiltinProtoAndParent(ScriptRuntime.java:4400)
at org.mozilla.javascript.Context.newObject(Context.java:1528)
at net.sourceforge.kolmafia.textui.javascript.JavascriptRuntime.lambda$executeRun$4(JavascriptRuntime.java:370)
at net.sourceforge.kolmafia.textui.javascript.JavascriptRuntime.executeFunction(JavascriptRuntime.java:255)
at net.sourceforge.kolmafia.textui.javascript.JavascriptRuntime.executeRun(JavascriptRuntime.java:347)
at net.sourceforge.kolmafia.textui.javascript.JavascriptRuntime.lambda$execute$1(JavascriptRuntime.java:233)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:383)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3940)
at net.sourceforge.kolmafia.textui.javascript.JavascriptRuntime.execute(JavascriptRuntime.java:232)
at net.sourceforge.kolmafia.textui.AbstractRuntime.execute(AbstractRuntime.java:24)
at net.sourceforge.kolmafia.session.SpadingManager.invokeSpadingScript(SpadingManager.java:144)
at net.sourceforge.kolmafia.session.SpadingManager.processCombatRound(SpadingManager.java:62)
at net.sourceforge.kolmafia.request.FightRequest.updateCombatData(FightRequest.java:2578)
at net.sourceforge.kolmafia.request.FightRequest.processResults(FightRequest.java:1813)
at net.sourceforge.kolmafia.request.GenericRequest.parseResults(GenericRequest.java:2394)
at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:2225)
at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:2146)
at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:1738)
at net.sourceforge.kolmafia.request.GenericRequest.externalExecute(GenericRequest.java:1400)
at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1387)
at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1153)
at net.sourceforge.kolmafia.request.RelayRequest.run(RelayRequest.java:3838)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:242)
at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:207)
at net.sourceforge.kolmafia.webui.RelayAgent.readServerResponse(RelayAgent.java:436)
at net.sourceforge.kolmafia.webui.RelayAgent.performRelay(RelayAgent.java:104)
at net.sourceforge.kolmafia.webui.RelayAgent.run(RelayAgent.java:83)