SpongePowered / Sponge

The SpongeAPI implementation targeting vanilla Minecraft and 3rd party platforms.
MIT License
390 stars 211 forks source link

Exception caught during firing event net.minecraftforge.fml.common.network.FMLNetworkEvent$CustomPacketRegistrationEvent #2224

Closed egshels closed 5 years ago

egshels commented 5 years ago

I am currently running

- Plugins/Mods: **Mods (197)**: Forge Mod Loader, Minecraft Forge, SpongeAPI, Sponge, AE2 Stuff, AI Improvements, Actually Additions, AgriCraft, Applied Energistics 2, Aroma1997Core, Attribute Fix, Auto Ore Dictionary Converter, B.A.S.E, BD Lib, Baubles, Bed Patch, Better Builder's Wands, BetterBedrockGen, Biome Bundle, Bonsai Trees, Botania, Botania Needs These Things!, Botania Tweaks, Botania Tweaks Core, Brandon's Core, Cam's Currency, Carry On, Chameleon, Chest Transporter, ChickenChunks, Chisel, CoFH Core, CoFH World, CodeChicken Lib, Compact Drawers, Compacter, ContentTweaker, CosmeticArmorReworked, CosmeticArmorReworked Integration for TombManyGraves2, CraftTweaker JEI Support, CraftTweaker2, Crafting Tweaks, Cucumber Library, Custom Starting Gear, DebugServerInfo, Diet Hopper, Dimensional Doors, Draconic Evolution, Drawbridges, EDX Multipart, Ender IO, Ender IO Applied Energistics Conduits, Ender IO Base, Ender IO Conduits, Ender IO Integration with Forestry, Ender IO Integration with Tinkers' Construct, Ender IO Integration with Tinkers' Construct, Ender IO Machines, Ender IO Open Computers Conduits, Ender IO Powertools, Ender IO Refined Storage Conduits, Ender IO endergy, EnderCore, EnderStorage, EnderTweaker, Engineer's Workshop Reborn, Equivalent Integrations, Expanded Equivalence, Extra Cells 2, Extra Utilities 2, Extreme Reactors, FTB Library, FTB Money, FTB Quests, FTB Utilities, FTB Utilities: Backups, FastFurnace, FastWorkbench, Fence Jumper, Flux Networks, FoamFix, FoamFixCore, Forge Microblocks, Forge Multipart CBE, GasConduits, Growable Cells, Guide-API, Hammer Core, Harvest, HelpFixer, IC2CropPlugin, Immersive Cables, Immersive Engineering, Immersive Petroleum, In-Game wiki Mod, Industrial Foregoing, Industrial Wires, IndustrialCraft 2, IndustrialExpansion, InfinityLib, InstantUnify, Integration Foregoing, Inventory Tweaks, Iron Backpacks, Item Filters, JAOPCA, JAOPCAAgriculture, Just Enough Calculation, Just Enough Energistics, Just Enough Items, Just Enough Reactors, K4Lib, Land Manager, Login Shield, LootTweaker, MCMultiPart, MTLib, Mantle, MattDahEpic Core, McJtyLib, MekaTweaker, Mekanism, MekanismGenerators, MekanismTools, Mike's Mods Lib, Minecraft Multipart Plugin, Mod Tweaker, ModPack Utilities, MrTJPCore, Mystical Agradditions, Mystical Agriculture, Not Enough Items, OTG Core, Open Terrain Generator, OpenBlocks, OpenComputers, OpenComputers (Core), OpenModsLib, OpenModsLib Core, OreDictInit, OreExcavation, PVP Toggle, PiTweaks, Placebo, PlusTiC, PneumaticCraft: Repressurized, Preston, ProjectE, ProjectE Integration, Quick Leaf Decay, RFTools, RFTools Power / OC Integration, Reborn Core, Redstone Arsenal, Redstone Flux, Redstone Flux Arsenal, Redstone Paste, Rex's Additional Structures, Road Runner, ServerUtil, Shadowfacts' Forgelin, Simple Harvest, Simply Jetpacks 2, SonarCore, SpongeForge, Storage Drawers, Storage Drawers Extras, Tesla Core Lib, Tesla Core Lib Registries, Thermal Cultivation, Thermal Dynamics, Thermal Expansion, Thermal Foundation, Thermal Innovation, Tinker's JEI, Tinkers' Construct, Tiny Progressions, TorchMaster, Translocators, UniDict, Unified Items, Unloader, VanillaFix, Waila, WanionLib, Waystones, What Are We Looking At, Woot, WorldEdit, Worley's Caves, WrapUp, XNet, YABBA, Zero CORE, mob_grinding_utils **Plugins (15)**: Minecraft, Minecraft Coder Pack, SpongeAPI, Sponge, CmdBuilder, CmdControl, CmdScheduler, CommandUtils, Greentexting, LuckPerms, MeeM, Nucleus, Pieconomy, PlaceholderAPI, SleepVote

Issue Description Every time I try to connect it seemingly joins but before I load in I instantly disconnect, Several searches have not found a similar issue anywhere. The issue goes away in sponge 8 but that breaks several plugins. crash log pastebin

phit commented 5 years ago

Duplicate of https://github.com/SpongePowered/SpongeForge/issues/2617

egshels commented 5 years ago

Fix for that one did not work for me

gabizou commented 5 years ago

This is the root of the problem:

[01:04:06] [Server thread/WARN] [mixin]: Mixin apply failed mixins.common.exploit.json:MixinNetHandlerPlayServer_PlayerVehiclesSyncPatch -> net.minecraft.network.NetHandlerPlayServer: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Unexpecteded NoSuchElementException whilst applying the mixin class: null
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Unexpecteded NoSuchElementException whilst applying the mixin class: null
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:353) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:724) [spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:703) [spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:509) [spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
    at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_181]
    at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.8.0_181]
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_181]
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source) [?:1.8.0_181]
    at java.lang.Class.privateGetPublicMethods(Unknown Source) [?:1.8.0_181]
    at java.lang.Class.getMethods(Unknown Source) [?:1.8.0_181]
    at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:82) [EventBus.class:?]
    at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82) [AutomaticEventSubscriber.class:?]
    at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:599) [FMLModContainer.class:?]
    at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [minecraft_server.1.12.2.jar:?]
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:217) [minecraft_server.1.12.2.jar:?]
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) [LoadController.class:?]
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) [LoadController.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [minecraft_server.1.12.2.jar:?]
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [minecraft_server.1.12.2.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:217) [minecraft_server.1.12.2.jar:?]
    at net.minecraftforge.fml.common.LoadController.redirect$onPost$zza000(LoadController.java:553) [LoadController.class:?]
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) [LoadController.class:?]
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593) [Loader.class:?]
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98) [FMLServerHandler.class:?]
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333) [FMLCommonHandler.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125) [nz.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.util.NoSuchElementException
    at java.util.LinkedList.getFirst(Unknown Source) ~[?:1.8.0_181]
    at org.spongepowered.asm.mixin.injection.code.MethodSlice.find(MethodSlice.java:415) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.injection.code.MethodSlice.getSlice(MethodSlice.java:365) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.injection.code.InjectorTarget.getSlice(InjectorTarget.java:132) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.injection.code.InjectorTarget.getSlice(InjectorTarget.java:150) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:234) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:176) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:257) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1186) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:929) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:317) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:280) ~[spongeforge-1.12.2-2768-7.1.6-RC3628.jar:1.12.2-2768-7.1.6-RC3628]
    ... 47 more

You'll need to disable the vehicles sync patch in the exploits section. specifically

exploits {
  sync-player-positions-for-vehicle-movement = false
}
DJPille1 commented 4 years ago

And where ?

clienthax commented 4 years ago

And where ?

Don't spam the issue tracker.