Bug - Fixed NPE when Powerful Glove gives a pixel in Exploathing

Ryo_Sangnoir

Developer
Staff member
You can get a blue, red or green pixel from the Powerful Glove in Exploathing, and this gives a null pointer when it occurs.

Code:
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at net.sourceforge.kolmafia.webui.UseLinkDecorator.getNavigationLink(UseLinkDecorator.java:1778)
	at net.sourceforge.kolmafia.webui.UseLinkDecorator.generateUseLink(UseLinkDecorator.java:630)
	at net.sourceforge.kolmafia.webui.UseLinkDecorator.addUseLink(UseLinkDecorator.java:583)
	at net.sourceforge.kolmafia.webui.UseLinkDecorator.addNormalUseLinks(UseLinkDecorator.java:322)
	at net.sourceforge.kolmafia.webui.UseLinkDecorator.decorate(UseLinkDecorator.java:151)
	at net.sourceforge.kolmafia.RequestEditorKit.applyGlobalAdjustments(RequestEditorKit.java:654)
	at net.sourceforge.kolmafia.RequestEditorKit.getFeatureRichHTML(RequestEditorKit.java:319)
	at net.sourceforge.kolmafia.RequestEditorKit.getFeatureRichHTML(RequestEditorKit.java:290)
	at net.sourceforge.kolmafia.RequestEditorKit.getFeatureRichHTML(RequestEditorKit.java:224)
	at net.sourceforge.kolmafia.request.FightRequest.processResults(FightRequest.java:2157)
	at net.sourceforge.kolmafia.request.GenericRequest.parseResults(GenericRequest.java:2928)
	at net.sourceforge.kolmafia.request.GenericRequest.processResponse(GenericRequest.java:2660)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:2568)
	at net.sourceforge.kolmafia.request.GenericRequest.retrieveServerReply(GenericRequest.java:2116)
	at net.sourceforge.kolmafia.request.GenericRequest.externalExecute(GenericRequest.java:1674)
	at net.sourceforge.kolmafia.request.GenericRequest.execute(GenericRequest.java:1657)
	at net.sourceforge.kolmafia.request.GenericRequest.run(GenericRequest.java:1368)
	at net.sourceforge.kolmafia.request.RelayRequest.run(RelayRequest.java:3738)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:300)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:250)
	at net.sourceforge.kolmafia.textui.RuntimeLibrary.visit_url(RuntimeLibrary.java:2887)
	at jdk.internal.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at net.sourceforge.kolmafia.textui.parsetree.LibraryFunction.execute(LibraryFunction.java:112)
	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:160)
	at net.sourceforge.kolmafia.textui.parsetree.Assignment.execute(Assignment.java:103)
	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:565)
	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:137)
	at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:421)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:342)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:335)
	at net.sourceforge.kolmafia.KoLmafiaASH.getClientHTML(KoLmafiaASH.java:188)
	at net.sourceforge.kolmafia.KoLmafiaASH.getClientHTML(KoLmafiaASH.java:157)
	at net.sourceforge.kolmafia.KoLmafiaASH.getClientHTML(KoLmafiaASH.java:129)
	at net.sourceforge.kolmafia.request.RelayRequest.run(RelayRequest.java:3638)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:300)
	at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:250)
	at net.sourceforge.kolmafia.webui.RelayAgent.readServerResponse(RelayAgent.java:596)
	at net.sourceforge.kolmafia.webui.RelayAgent.performRelay(RelayAgent.java:162)
	at net.sourceforge.kolmafia.webui.RelayAgent.run(RelayAgent.java:135)
 
Top