foxdenstudio / foxcore-sponge Goto Github PK
View Code? Open in Web Editor NEWCommon Plugin for the Fox plugins. Contains useful functions for other plugins as well.
License: MIT License
Common Plugin for the Fox plugins. Contains useful functions for other plugins as well.
License: MIT License
I've been running into a repeated problem with FoxCore/FoxGuard lately, namely that it freezes the main server thread after about ~12-18 hours server runtime. The Main thread will be stuck at 100% core usage, with two side threads being at 100% and 80% respectively. This behavior goes away if FoxCore/FoxGuard is removed, but that is not really the scope of this issue - I'm still trying to figure out why it happens, so nothing clear on that yet.
This issue is something that just now happened: I can no longer join after getting that above behavior. The FoxCore Wand in my inventory is causing an exception, so I'm kicked off the server. This happened after warping myself with Nucleus /rtp
and getting the above explained FC/FG freeze.
[13:38:29] [Server thread/WARN] [minecraft/NetworkSystem]: Failed to handle packet for /********
net.minecraft.util.ReportedException: Loading entity NBT
at net.minecraft.entity.Entity.func_70020_e(Entity.java:1878) ~[vg.class:?]
at net.minecraft.world.storage.SaveHandler.func_75752_b(SaveHandler.java:224) ~[bfb.class:?]
at net.minecraft.server.management.PlayerList.func_72380_a(PlayerList.java:324) ~[pl.class:?]
at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:1482) ~[pl.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:255) ~[NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:72) ~[NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:205) ~[NetworkDispatcher$1.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285) ~[gw.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) [oz.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandKeys
at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandData.registerGettersAndSetters(WandData.java:92) ~[WandData.class:?]
at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandData.<init>(WandData.java:63) ~[WandData.class:?]
at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandData.<init>(WandData.java:67) ~[WandData.class:?]
at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandDataBuilder.create(WandDataBuilder.java:48) ~[WandDataBuilder.class:?]
at net.foxdenstudio.sponge.foxcore.plugin.wand.data.WandDataBuilder.buildContent(WandDataBuilder.java:60) ~[WandDataBuilder.class:?]
at org.spongepowered.api.data.persistence.AbstractDataBuilder.build(AbstractDataBuilder.java:87) ~[AbstractDataBuilder.class:1.12.2-2768-7.1.6-RC3560]
at org.spongepowered.common.data.util.DataUtil.lambda$deserializeManipulator$11(DataUtil.java:239) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
at java.util.Optional.flatMap(Optional.java:241) ~[?:1.8.0_201]
at org.spongepowered.common.data.util.DataUtil.deserializeManipulator(DataUtil.java:239) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
at org.spongepowered.common.data.util.DataUtil.tryDeserializeManipulator(DataUtil.java:225) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
at org.spongepowered.common.data.util.DataUtil.lambda$deserializeManipulatorList$10(DataUtil.java:206) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_201]
at org.spongepowered.common.data.util.DataUtil.deserializeManipulatorList(DataUtil.java:206) ~[DataUtil.class:1.12.2-2768-7.1.6-RC3560]
at net.minecraft.item.ItemStack.readFromNbt(ItemStack.java:2629) ~[aip.class:?]
at net.minecraft.item.ItemStack.handler$onRead$zif000(ItemStack.java:2461) ~[aip.class:?]
at net.minecraft.item.ItemStack.<init>(ItemStack.java:139) ~[aip.class:?]
at net.minecraft.entity.player.InventoryPlayer.func_70443_b(InventoryPlayer.java:639) ~[aec.class:?]
at net.minecraft.entity.player.EntityPlayer.func_70037_a(EntityPlayer.java:874) ~[aed.class:?]
at net.minecraft.entity.player.EntityPlayerMP.func_70037_a(EntityPlayerMP.java:195) ~[oq.class:?]
at net.minecraft.entity.Entity.func_70020_e(Entity.java:1866) ~[vg.class:?]
... 13 more
Hi,
I don't understand what are the difference between all these files. Some of them are quiet "heavy".
Its maybe obvious for initiates but not for me :).
FoxCore-0.8.1-108-lib.jar
FoxCore-0.8.1-108-lite.jar
FoxCore-0.8.1-108-server-lib.jar
FoxCore-0.8.1-108-server-lite.jar
FoxCore-0.8.1-108-server.jar
FoxCore-0.8.1-108.jar
Wich one should i use for a sponge forge server and a forge client ?
I know that I'm using spongeforge and something might be incompatibile but look at this please:
---- Minecraft Crash Report ----
WARNING: coremods are present:
SpongeCoremod (spongeforge-1.12.2-forge.jar)
MovingWorldCore (MovingWorld-Mod-1.12.jar)
Contact their authors BEFORE contacting forge
// Shall we play a game?
Time: 17.07.18 14:04
Description: Exception in server tick loop
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from FoxGuard (foxguard)
Caused by: com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Lnet/minecrell/mcstats/SpongeStatsLite;
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2215)
at com.google.common.cache.LocalCache.get(LocalCache.java:4154)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153)
at com.google.inject.internal.FailableCache.get(FailableCache.java:48)
at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:138)
at com.google.inject.internal.InjectorImpl.initializeBinding(InjectorImpl.java:536)
at com.google.inject.internal.AbstractBindingProcessor$Processor$1.run(AbstractBindingProcessor.java:160)
at com.google.inject.internal.ProcessedBindingData.initializeBindings(ProcessedBindingData.java:44)
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:123)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:232)
at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:236)
at org.spongepowered.mod.plugin.SpongeModPluginContainer.constructMod(SpongeModPluginContainer.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:278)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.redirect$onPost$zza000(LoadController.java:560)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:568)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:97)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:332)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Lnet/minecrell/mcstats/SpongeStatsLite;
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2215)
at com.google.common.cache.LocalCache.get(LocalCache.java:4154)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153)
at com.google.inject.internal.FailableCache.get(FailableCache.java:48)
at com.google.inject.internal.MembersInjectorStore.get(MembersInjectorStore.java:68)
at com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:75)
at com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at com.google.inject.internal.FailableCache$1.load(FailableCache.java:37)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)
... 47 more
Caused by: java.lang.NoClassDefFoundError: Lnet/minecrell/mcstats/SpongeStatsLite;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:675)
at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:380)
at com.google.inject.internal.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:93)
at com.google.inject.internal.MembersInjectorStore.access$000(MembersInjectorStore.java:37)
at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:45)
at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:42)
at com.google.inject.internal.FailableCache$1.load(FailableCache.java:37)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211)
... 62 more
Caused by: java.lang.ClassNotFoundException: net.minecrell.mcstats.SpongeStatsLite
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 76 more
Caused by: java.lang.NullPointerException
-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.server.MinecraftServer.handler$onCrashReport$zjg000(MinecraftServer.java:3987)
-- Sponge PhaseTracker --
Details:
Cause Stack: [Empty stack]
Stacktrace:
at net.minecraft.server.MinecraftServer.handler$onCrashReport$zjg000(MinecraftServer.java:3987)
at net.minecraft.server.MinecraftServer.func_71230_b(MinecraftServer.java:887)
at net.minecraft.server.dedicated.DedicatedServer.func_71230_b(DedicatedServer.java:370)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:556)
at java.lang.Thread.run(Thread.java:748)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Linux (amd64) version 4.9.0-5-amd64
Java Version: 1.8.0_151, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 577728304 bytes (550 MB) / 1051721728 bytes (1003 MB) up to 5726797824 bytes (5461 MB)
JVM Flags: 2 total; -Xmx6144M -Xms256M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.2.2611 34 mods loaded, 34 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:----- |:-------------------------------------------- |:--------------------------- |:------------------------------------- |:---------------------------------------- |
| UC | minecraft | 1.12.2 | minecraft.jar | None |
| UC | mcp | 9.42 | minecraft.jar | None |
| UC | FML | 8.0.99.99 | minecraft_server.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UC | forge | 14.23.2.2611 | minecraft_server.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UC | com.elytradev.movingworld.common.asm.coremod | | minecraft.jar | None |
| UC | spongeapi | 7.1.0-SNAPSHOT-06016f2 | spongeforge-1.12.2-forge.jar | None |
| UC | sponge | 1.12.2-2611-7.1.0-BETA-2990 | spongeforge-1.12.2-forge.jar | None |
| UC | battletowers | 1.6.1 | BattleTowers-Mod-1.12.2.jar | None |
| UC | baubles | 1.5.2 | Baubles-1.12-1.5.2.jar | None |
| UC | customnpcs | 1.12 | CustomNPCs_1.12.2(09jul18).jar | None |
| UC | movingworld | 1.12-6.342 | MovingWorld-Mod-1.12.jar | None |
| UC | davincisvessels | @DVESSELSVER@ | Davincis-Vessels-Mod-1.12.jar | None |
| UC | ic2 | 2.8.70-ex112 | industrialcraft-1.12.2-forge.jar | de041f9f6187debbc77034a344134053277aa3b0 |
| UC | ironchest | 1.12.2-7.0.40.824 | Iron-Chests-Mod-1.12.2.jar | None |
| UC | lycanitesmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | arcticmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | demonmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | desertmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | forestmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | freshwatermobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | infernomobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | junglemobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | mountainmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | plainsmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | saltwatermobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | shadowmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | swampmobs | 1.17.1.4 - MC 1.12.2 | Lycanites-Mobs-Mod-1.12.2.jar | None |
| UC | mantle | 1.12-1.3.1.21 | Mantle-Mod-1.12.1.jar | None |
| UC | roguelike | 1.8.0 | RoguelikeDungeons-1.12.2-1.8.0.jar | None |
| UC | tconstruct | 1.12.2-2.10.1.87 | TConstruct-1.12.2-2.10.1.87.jar | None |
| UC | worldedit | 6.1.8 | worldedit-forge-mc1.12-6.1.8-dist.jar | None |
| UC | flexiblelogin | 0.17.2 | flexiblelogin-1.12.2-sponge.jar | None |
| UC | foxcore | | foxcore-sponge-0.11.0-246.jar | None |
| UE | foxguard | | foxguard-sponge-0.21.0-405.jar | None |
Loaded coremods (and transformers):
SpongeCoremod (spongeforge-1.12.2-forge.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
MovingWorldCore (MovingWorld-Mod-1.12.jar)
Pulsar/tconstruct loaded Pulses:
- TinkerCommons (Enabled/Forced)
- TinkerWorld (Enabled/Not Forced)
- TinkerTools (Enabled/Not Forced)
- TinkerHarvestTools (Enabled/Forced)
- TinkerMeleeWeapons (Enabled/Forced)
- TinkerRangedWeapons (Enabled/Forced)
- TinkerModifiers (Enabled/Forced)
- TinkerSmeltery (Enabled/Not Forced)
- TinkerGadgets (Enabled/Not Forced)
- TinkerOredict (Enabled/Forced)
- TinkerIntegration (Enabled/Forced)
- TinkerFluids (Enabled/Forced)
- TinkerMaterials (Enabled/Forced)
- TinkerModelRegister (Enabled/Forced)
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge,sponge'
Type: Dedicated Server (map_server.txt)
please release for minecraft 1.11.2, thanks!
Context: When compiling against foxguard(compile files("mods/foxcore.jar"
) the plugin gets added to the classpath of my test server(using SpongeStart), the plugin is loaded and works fine. I develop in Kotlin.
A problem arises: First Kotlin warns me that it has found two version of the Kotlin runtime and secondly a newly added method from the Kotlin stdlib doesn't work(Map<K, V>.getValue(key: K): V
, was added in Kotlin 1.1.).
All this is because the Kotlin runtime in FoxCore isn't relocated, it should be somewhere like net.foxdenstudio.sponge.foxcore.shaded.kotlin
. See how I do it: build.gradle
I don't see where you explicitly add the runtime to the final jar but it is happening.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.