games647 / ScoreboardStats

Bukkit plugin for customizing the sidebar of the scoreboard feature from minecraft
https://dev.bukkit.org/bukkit-mods/scoreboardstats/
MIT License
28 stars 45 forks source link

NPE on shutdown #183

Closed SlimeDog closed 7 years ago

SlimeDog commented 7 years ago

Spigot 1.11.2 latest, SS 0.10.1

[14:21:56] [Server thread/INFO]: [ScoreboardStats] Disabling ScoreboardStats v0.10.1 [14:21:56] [Server thread/INFO]: [ScoreboardStats] Now saving the stats to the database. This could take a while. [14:21:56] [Server thread/ERROR]: Error occurred while disabling ScoreboardStats v0.10.1 (Is it up to date?) java.lang.NullPointerException at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[?:1.8.0_121] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_121] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_121] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_121] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_121] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_121] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_121] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_121] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_121] at com.github.games647.scoreboardstats.pvpstats.Database.saveAll(Database.java:289) ~[?:?] at com.github.games647.scoreboardstats.ScoreboardStats.onDisable(ScoreboardStats.java:123) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:273) ~[spigot-1.11.2.jar-2017-02-15-1243:git-Spigot-65a0347-1a71021] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:361) [spigot-1.11.2.jar-2017-02-15-1243:git-Spigot-65a0347-1a71021] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:424) [spigot-1.11.2.jar-2017-02-15-1243:git-Spigot-65a0347-1a71021] at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:417) [spigot-1.11.2.jar-2017-02-15-1243:git-Spigot-65a0347-1a71021] at org.bukkit.craftbukkit.v1_11_R1.CraftServer.disablePlugins(CraftServer.java:345) [spigot-1.11.2.jar-2017-02-15-1243:git-Spigot-65a0347-1a71021] at net.minecraft.server.v1_11_R1.MinecraftServer.stop(MinecraftServer.java:464) [spigot-1.11.2.jar-2017-02-15-1243:git-Spigot-65a0347-1a71021] at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:612) [spigot-1.11.2.jar-2017-02-15-1243:git-Spigot-65a0347-1a71021] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

Nothing more to end of log.