-
Notifications
You must be signed in to change notification settings - Fork 6
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
Comments
An NPE should never be thrown during script execution so it has to be a
mafia problem, even if that is eliding an excavator problem
…On Sat, 20 Jul 2024 at 07:15, BadHorseMonkey ***@***.***> wrote:
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)
—
Reply to this email directly, view it on GitHub
<#96>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABL4LW4ESXB2HRNKPXVCYLZNH56JAVCNFSM6AAAAABLFVGH62VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDANRQG4ZTANQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: