while-loop / runelite-plugins

BSD 2-Clause "Simplified" License
11 stars 22 forks source link

TTL Plugin Null Config #7

Closed ThatGamerBlue closed 4 years ago

ThatGamerBlue commented 4 years ago

your TTL plugin returns null by default for the rates config which breaks the config panel https://i.imgur.com/PaHZUXN.png

java.lang.NullPointerException: null
    at net.runelite.client.config.ConfigManager.objectToString(ConfigManager.java:680)
    at net.runelite.client.config.ConfigManager.setDefaultConfiguration(ConfigManager.java:551)
    at net.runelite.client.plugins.PluginManager.loadDefaultPluginConfiguration(PluginManager.java:220)
    at net.runelite.client.externalplugins.ExternalPluginManager.refreshPlugins(ExternalPluginManager.java:290)
    at net.runelite.client.util.RunnableExceptionLogger.run(RunnableExceptionLogger.java:41)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)