rodel77 / ModBanner

A Minecraft + Sponge mod to ban unwanted mods
https://forums.spongepowered.org/t/no-entry-sign-modbanner-ban-undesirable-mods/17681
GNU General Public License v3.0
4 stars 2 forks source link

java.lang.NullPointerException #6

Closed TomberWolf closed 6 years ago

TomberWolf commented 7 years ago
[15:43:53] [Server thread/INFO]: Player lost connection: Internal server error
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]: java.lang.NullPointerException
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at mx.com.rodel.modbanner.PlayerModsAPI.getPlayerMods(PlayerModsAPI.java:24)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at mx.com.rodel.modbanner.Main.lambda$on$0(Main.java:72)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:183)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.common.scheduler.SyncScheduler.executeTaskRunnable(SyncScheduler.java:81)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.common.scheduler.SchedulerBase.startTask(SchedulerBase.java:179)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.common.scheduler.SchedulerBase.processTask(SchedulerBase.java:165)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(Unknown Source)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.common.scheduler.SchedulerBase.runTick(SchedulerBase.java:108)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.common.scheduler.SyncScheduler.tick(SyncScheduler.java:51)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.common.scheduler.SpongeScheduler.tickSyncScheduler(SpongeScheduler.java:191)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at org.spongepowered.mod.SpongeMod.onTick(SpongeMod.java:271)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_19_SpongeMod_onTick_ServerTickEvent.invoke(.dynamic)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:635)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:591)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:274)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:602)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
[15:43:53] [Server thread/INFO] [STDERR]: [mx.com.rodel.modbanner.Main:lambda$on$0:95]:         at java.lang.Thread.run(Unknown Source)
rodel77 commented 7 years ago

What sponge version are you using

TomberWolf commented 7 years ago

Latest 1.10.2 spongeforge-1.10.2-2281-5.2.0-BETA-2422

rodel77 commented 7 years ago

Ok, currently i dont have to much time to mantain this project, but i will try to check it soon!

Cheers

rodel77 commented 6 years ago

Hello, are you still having this issue? Make sure to use the latest version!

rodel77 commented 6 years ago

I found the problem, it will be fixed to the next version, its caused by a dumb human error in the forge api! Sorry for this long time without any update!