Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE using Excavator #96

Open
BadHorseMonkey opened this issue Jul 20, 2024 · 1 comment
Open

NPE using Excavator #96

BadHorseMonkey opened this issue Jul 20, 2024 · 1 comment

Comments

@BadHorseMonkey
Copy link

Hey friends,

Not sure if this is from Excavator, sorry if it's not, but SpadingManager.invokeSpadingScript is the last thing before the debug gets called. Anything I can do to help debug this?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
KoLmafia r28001-M, Mac OS X, Java 18.0.2.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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: Sat Jul 20 01:05:50 CDT 2024
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
User: Mad Carew
Current run: 895
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)

@gausie
Copy link
Collaborator

gausie commented Jul 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants