
NPE thrown form groovyscript astral sorcery compat on 0.7.1
Saereth opened this issue · 0 comments
Getting the following error on startup/reload
We are not using any Astral specific groovy scripts
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: java.lang.NullPointerException
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.compat.mods.astralsorcery.perktree.PerkTreeConfig.setXpFunction(PerkTreeConfig.java:29)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.compat.mods.astralsorcery.perktree.PerkTreeConfig.onReload(PerkTreeConfig.java:22)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.registry.ReloadableRegistryManager$$Lambda$8454/1777225983.accept(Unknown Source)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.Iterator.forEachRemaining(Iterator.java:116)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.registry.ReloadableRegistryManager.onReload(ReloadableRegistryManager.java:82)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.sandbox.GroovyScriptSandbox.preRun(GroovyScriptSandbox.java:143)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.sandbox.GroovySandbox.load(GroovySandbox.java:92)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.sandbox.GroovyScriptSandbox.run(GroovyScriptSandbox.java:91)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.GroovyScript.runGroovyScriptsInLoader(GroovyScript.java:166)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.command.GSCommand.runReload(GSCommand.java:57)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.command.GSCommand.lambda$new$1(GSCommand.java:67)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.command.GSCommand$$Lambda$8045/556867832.execute(Unknown Source)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.cleanroommc.groovyscript.command.SimpleCommand.func_184881_a(SimpleCommand.java:43)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.feed_the_beast.ftbutilities.ranks.CommandOverride.func_184881_a(CommandOverride.java:83)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraftforge.server.command.CommandTreeBase.func_184881_a(CommandTreeBase.java:164)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at com.feed_the_beast.ftbutilities.ranks.CommandTreeOverride.func_184881_a(CommandTreeOverride.java:60)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:119)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:91)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.util.Util.func_181617_a(SourceFile:529)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
[20:18:06] [Server thread/INFO] [STDERR]: [com.cleanroommc.groovyscript.sandbox.GroovyLogImpl:exception:257]: at java.lang.Thread.run(Thread.java:745)
Groovy log
An exception occurred while running scripts. Look at latest.log for a full stacktrace:
java.lang.NullPointerException
at com.cleanroommc.groovyscript.compat.mods.astralsorcery.perktree.PerkTreeConfig.setXpFunction(PerkTreeConfig.java:29)
at com.cleanroommc.groovyscript.compat.mods.astralsorcery.perktree.PerkTreeConfig.onReload(PerkTreeConfig.java:22)
at com.cleanroommc.groovyscript.registry.ReloadableRegistryManager$$Lambda$8454/1777225983.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.cleanroommc.groovyscript.registry.ReloadableRegistryManager.onReload(ReloadableRegistryManager.java:82)
at com.cleanroommc.groovyscript.sandbox.GroovyScriptSandbox.preRun(GroovyScriptSandbox.java:143)
at com.cleanroommc.groovyscript.sandbox.GroovySandbox.load(GroovySandbox.java:92)
at com.cleanroommc.groovyscript.sandbox.GroovyScriptSandbox.run(GroovyScriptSandbox.java:91)
at com.cleanroommc.groovyscript.GroovyScript.runGroovyScriptsInLoader(GroovyScript.java:166)
at com.cleanroommc.groovyscript.command.GSCommand.runReload(GSCommand.java:57)
at com.cleanroommc.groovyscript.command.GSCommand.lambda$new$1(GSCommand.java:67)
at com.cleanroommc.groovyscript.command.GSCommand$$Lambda$8045/556867832.execute(Unknown Source)
at com.cleanroommc.groovyscript.command.SimpleCommand.func_184881_a(SimpleCommand.java:43)
at com.feed_the_beast.ftbutilities.ranks.CommandOverride.func_184881_a(CommandOverride.java:83)
at net.minecraftforge.server.command.CommandTreeBase.func_184881_a(CommandTreeBase.java:164)
at com.feed_the_beast.ftbutilities.ranks.CommandTreeOverride.func_184881_a(CommandTreeOverride.java:60)
at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:119)
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:91)
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962)
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941)
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.util.Util.func_181617_a(SourceFile:529)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)