"Failed to create data object" on Server startup.
LadyCailinBot opened this issue ยท 1 comments
CRAFTBOOK-3186 - Reported by mystikite
Issue:
When starting the server, craftbook spits an error about an additional world i created previously using projectworlds.
This strangely only happens w/ the first extra world i created, i have a second world called 'Test', and one called 'AAA' but they do not trigger the exception.
Installed mods:
CraftBook-4.0-SNAPSHOT.jar (updated 4/27/2016)
projectworlds-4.1.0-0.9.0.jar
worldedit-spongevanilla-mc1.8.9-6.1.1-dist.jar
Worlds: (in order created)
'Annwyn' (default world instead of 'world')
'Annwyn_workshop' (Annwyn/Annwyn_workshop)
'Test'
'AAA'
Error:
[22:00:42 ERROR] [craftbook]: Failed to create data object: Annwyn_workshop.115.0.12.0.144.0
java.lang.IllegalAccessException: Class com.sk89q.craftbook.sponge.util.SpongeDataCache can not access a member of class com.sk89q.craftbook.sponge.mechanics.ics.ICSocket$BaseICData with modifiers "private"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102) ~[?:1.8.0_77]
at java.lang.Class.newInstance(Class.java:436) ~[?:1.8.0_77]
at com.sk89q.craftbook.sponge.util.SpongeDataCache.loadFromDisk(SpongeDataCache.java:43) [SpongeDataCache.class:?]
at com.sk89q.craftbook.core.util.MechanicDataCache.getMechanicData(MechanicDataCache.java:57) [MechanicDataCache.class:?]
at com.sk89q.craftbook.sponge.mechanics.types.SpongeMechanic.getData(SpongeMechanic.java:53) [SpongeMechanic.class:?]
at com.sk89q.craftbook.sponge.mechanics.ics.ICSocket.createICData(ICSocket.java:123) [ICSocket.class:?]
at com.sk89q.craftbook.sponge.mechanics.ics.ICSocket.isValid(ICSocket.java:112) [ICSocket.class:?]
at com.sk89q.craftbook.sponge.st.SelfTriggerManager.registerAll(SelfTriggerManager.java:75) [SelfTriggerManager.class:?]
at com.sk89q.craftbook.sponge.st.SelfTriggerManager.initialize(SelfTriggerManager.java:55) [SelfTriggerManager.class:?]
at com.sk89q.craftbook.sponge.CraftBookPlugin.onInitialization(CraftBookPlugin.java:129) [CraftBookPlugin.class:?]
at org.spongepowered.common.event.listener.GameStartedServerEventListener_CraftBookPlugin_onInitialization10.handle(Unknown Source) [?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:86) [RegisteredListener.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:258) [SpongeEventManager.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:269) [SpongeEventManager.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:273) [SpongeEventManager.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.SpongeImpl.postState(SpongeImpl.java:187) [SpongeImpl.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.server.SpongeVanilla.onServerStarting(SpongeVanilla.java:180) [SpongeVanilla.class:1.8.9-4.1.0-BETA-293]
at net.minecraft.server.dedicated.DedicatedServer.handler$callServerStarting$0(SourceFile:80) [ko.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(SourceFile:211) [ko.class:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:421) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77]
[22:00:42 ERROR] [Sponge]: Could not pass GameStartedServerEvent$Impl to Plugin{id=com.sk89q.craftbook, name=CraftBook, version=4.0, source=mods/CraftBook-4.0-SNAPSHOT.jar}
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.cache.LocalCache.put(LocalCache.java:4144) ~[minecraft_server.1.8.9.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache.put(LocalCache.java:4751) ~[minecraft_server.1.8.9.jar:?]
at com.sk89q.craftbook.core.util.MechanicDataCache.getMechanicData(MechanicDataCache.java:58) ~[MechanicDataCache.class:?]
at com.sk89q.craftbook.sponge.mechanics.types.SpongeMechanic.getData(SpongeMechanic.java:53) ~[SpongeMechanic.class:?]
at com.sk89q.craftbook.sponge.mechanics.ics.ICSocket.createICData(ICSocket.java:123) ~[ICSocket.class:?]
at com.sk89q.craftbook.sponge.mechanics.ics.ICSocket.isValid(ICSocket.java:112) ~[ICSocket.class:?]
at com.sk89q.craftbook.sponge.st.SelfTriggerManager.registerAll(SelfTriggerManager.java:75) ~[SelfTriggerManager.class:?]
at com.sk89q.craftbook.sponge.st.SelfTriggerManager.initialize(SelfTriggerManager.java:55) ~[SelfTriggerManager.class:?]
at com.sk89q.craftbook.sponge.CraftBookPlugin.onInitialization(CraftBookPlugin.java:129) ~[CraftBookPlugin.class:?]
at org.spongepowered.common.event.listener.GameStartedServerEventListener_CraftBookPlugin_onInitialization10.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:86) ~[RegisteredListener.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:258) [SpongeEventManager.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:269) [SpongeEventManager.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:273) [SpongeEventManager.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.common.SpongeImpl.postState(SpongeImpl.java:187) [SpongeImpl.class:1.8.9-4.1.0-BETA-293]
at org.spongepowered.server.SpongeVanilla.onServerStarting(SpongeVanilla.java:180) [SpongeVanilla.class:1.8.9-4.1.0-BETA-293]
at net.minecraft.server.dedicated.DedicatedServer.handler$callServerStarting$0(SourceFile:80) [ko.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(SourceFile:211) [ko.class:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:421) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77]