Results 1 to 2 of 2

Thread: NullPointerException in Maximizer

  1. #1
    Developer
    Join Date
    Jan 2007
    Posts
    95

    Default NullPointerException in Maximizer

    Any time I try to maximize atm I get

    Code:
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                KoLmafia v19.7 r19477, Linux, Java 11.0.4
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     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: Sun Aug 11 09:48:16 CEST 2019
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    
    Unexpected error, debug log printed.
    class java.lang.NullPointerException: null
    java.lang.NullPointerException
    	at net.sourceforge.kolmafia.maximizer.Maximizer.maximize(Maximizer.java:1041)
    	at net.sourceforge.kolmafia.maximizer.Maximizer.maximize(Maximizer.java:129)
    	at net.sourceforge.kolmafia.textui.RuntimeLibrary.maximize(RuntimeLibrary.java:6785)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	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:104)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	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.textui.command.CallScriptCommand.call(CallScriptCommand.java:256)
    	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:606)
    	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:549)
    	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:450)
    	at net.sourceforge.kolmafia.textui.RuntimeLibrary.cli_execute(RuntimeLibrary.java:2362)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	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:104)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionReturn.execute(FunctionReturn.java:100)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.Switch.execute(Switch.java:156)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
    	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.Conditional.execute(Conditional.java:96)
    	at net.sourceforge.kolmafia.textui.parsetree.If.execute(If.java:68)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.Operator.applyTo(Operator.java:635)
    	at net.sourceforge.kolmafia.textui.parsetree.Operation.execute(Operation.java:113)
    	at net.sourceforge.kolmafia.textui.parsetree.WhileLoop.execute(WhileLoop.java:81)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	at net.sourceforge.kolmafia.textui.parsetree.FunctionCall.execute(FunctionCall.java:154)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.Try.execute(Try.java:92)
    	at net.sourceforge.kolmafia.textui.parsetree.BasicScope.execute(BasicScope.java:417)
    	at net.sourceforge.kolmafia.textui.parsetree.UserDefinedFunction.execute(UserDefinedFunction.java:142)
    	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.textui.command.CallScriptCommand.call(CallScriptCommand.java:256)
    	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:606)
    	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:549)
    	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:450)
    	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:318)
    	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:199)
    	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:168)
    Last edited by gausie; 08-11-2019 at 07:58 AM.

  2. #2
    Developer
    Join Date
    Jan 2007
    Posts
    95

    Default

    Hm ok I ran "refresh all" a bunch of times and it eventually got out of the weird state

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •