Results 1 to 2 of 2

Thread: Maximizer not working

  1. #1
    Junior Member
    Join Date
    Feb 2019
    Posts
    1

    Default Maximizer not working

    In preparation for casting summons, I like to maximize MP. The command was not working from the chatpane (/cli maximize mp) nor from the Modifier Maximizer box, and I got the error message. Here is what the debug report said:

    KoLmafia v18.11 r19091, Mac OS X, Java 1.8.0_51
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    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: Tue Feb 05 11:27:25 EST 2019
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


    Unexpected error, debug log printed.
    class java.lang.NullPointerException: null
    java.lang.NullPointerException
    at net.sourceforge.kolmafia.maximizer.Maximizer.maxim ize(Maximizer.java:1025)
    at net.sourceforge.kolmafia.swingui.MaximizerFrame.ma ximize(MaximizerFrame.java:201)
    at net.sourceforge.kolmafia.swingui.MaximizerFrame$Ma ximizerPanel.actionConfirmed(MaximizerFrame.java:2 72)
    at net.sourceforge.kolmafia.swingui.panel.GenericPane l$ConfirmedListener.execute(GenericPanel.java:626)
    at net.sourceforge.kolmafia.swingui.listener.Threaded Listener.run(ThreadedListener.java:239)
    at net.sourceforge.kolmafia.RequestThread$SequencedRu nnable.run(RequestThread.java:418)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)


    Thank you.

  2. #2
    Developer
    Join Date
    Apr 2010
    Posts
    5,123

    Default

    So looking at the code, lines 1024/1025 are:
    Code:
    int creatable = CreateItemRequest.getInstance( ItemPool.EVIL_SCROLL )
    						.getQuantityPossible();
    So for some reason CreateItemRequest.getInstance( ItemPool.EVIL_SCROLL ) returned null ?

    I can only think that somehow the ConcoctionDatabase was incorrect for these. If you restart Mafia (not just log out and log in again) does the issue persist ?
    Last edited by Darzil; 02-05-2019 at 04:56 PM.

Posting Permissions

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