Jump to content

1.17.1 server crash


Cockreta

Recommended Posts

Server:

[18:15:02] [main/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 37.1.1, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038]
[18:15:02] [main/INFO]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 18.0.2 by Oracle Corporation
[18:15:03] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Users/Cockr/Desktop/Cocki/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar%2319! Service=ModLauncher Env=SERVER
[18:15:04] [main/INFO]: Found mod file Aquaculture-1.17.1-2.2.5.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file BiomesOPlenty-1.17.1-14.0.0.36-universal.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file carryon-1.17.1-1.16.0.6.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file comforts-forge-1.17.1-5.0.0.1.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file depth-1.0.2-1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file DungeonCrawl-1.17.1-2.3.9.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file EpicFight-17.1.13-beta.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file seeds-1.17.1-1.0.3.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file stalwart-dungeons-1.17.1-1.2.0.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file starlight-1.0.0+forge.5d16647.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file tombstone-7.3.0-1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:15:04] [main/INFO]: Found mod file fmlcore-1.17.1-37.1.1.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:15:04] [main/INFO]: Found mod file javafmllanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:15:04] [main/INFO]: Found mod file mclanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:15:04] [main/INFO]: Found mod file server-1.17.1-20210706.113038-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:15:04] [main/INFO]: Found mod file forge-1.17.1-37.1.1-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:15:05] [main/INFO]: Successfully loaded Mixin Connector [ca.spottedleaf.starlight.mixin.MixinConnector]
[18:15:05] [main/INFO]: Launching target 'forgeserver' with arguments []
[18:15:05] [main/WARN]: Error loading class: net/minecraft/world/item/ItemStack (java.lang.IllegalArgumentException: Unsupported class file major version 62)
[18:15:05] [main/WARN]: @Mixin target net.minecraft.world.item.ItemStack was not found epicfight.mixins.json:MixinItemStack
[18:15:05] [main/WARN]: Error loading class: net/minecraft/world/item/ItemStack (java.lang.IllegalArgumentException: Unsupported class file major version 62)
[18:15:05] [main/WARN]: @Mixin target net.minecraft.world.item.ItemStack was not found tombstone.mixins.json:ItemStackMixin
[18:15:05] [main/WARN]: Error loading class: de/maxhenkel/gravestone/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.gravestone.events.DeathEvents)
[18:15:05] [main/WARN]: Error loading class: de/maxhenkel/corpse/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.corpse.events.DeathEvents)
[18:15:05] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 62)
[18:15:05] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 62)
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
[18:15:06] [main/WARN]: Error loading class: java/lang/Integer (java.lang.IllegalArgumentException: Unsupported class file major version 62)
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
        at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:46)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
        ... 7 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)
        at [email protected]/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110)
        at [email protected]/cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:213)
        at [email protected]/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:223)
        at [email protected]/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
        at [email protected]/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:130)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        at TRANSFORMER/[email protected]/net.minecraft.world.level.block.Blocks.<clinit>(Blocks.java:40)
        at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.surfacebuilders.SurfaceBuilder.<clinit>(SurfaceBuilder.java:12)
        at TRANSFORMER/[email protected]/net.minecraft.data.worldgen.SurfaceBuilders.<clinit>(SourceFile:11)
        at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.m_123904_(BuiltinRegistries.java:36)
        at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.m_123896_(BuiltinRegistries.java:92)
        at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
        at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.<clinit>(BuiltinRegistries.java:91)
        at TRANSFORMER/[email protected]/net.minecraft.core.Registry.<clinit>(Registry.java:510)
        at TRANSFORMER/[email protected]/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:39)
        at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:97)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        ... 10 more
Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: java.lang.Integer
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:754)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:739)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:310)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:280)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1288)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
        ... 34 more

 

LOG:

[18:06:55] [main/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 37.1.1, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038]
[18:06:55] [main/INFO]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 18.0.2 by Oracle Corporation
[18:06:55] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Users/Cockr/Desktop/Cocki/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar%2319! Service=ModLauncher Env=SERVER
[18:06:55] [main/INFO]: Found mod file Aquaculture-1.17.1-2.2.5.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file BiomesOPlenty-1.17.1-14.0.0.36-universal.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file carryon-1.17.1-1.16.0.6.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file comforts-forge-1.17.1-5.0.0.1.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file depth-1.0.2-1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file DungeonCrawl-1.17.1-2.3.9.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file EpicFight-17.1.13-beta.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file seeds-1.17.1-1.0.3.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file stalwart-dungeons-1.17.1-1.2.0.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file starlight-1.0.0+forge.5d16647.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:55] [main/INFO]: Found mod file tombstone-7.3.0-1.17.1.jar of type MOD with locator {mods folder locator at C:\Users\Cockr\Desktop\Cocki\mods}
[18:06:56] [main/INFO]: Found mod file fmlcore-1.17.1-37.1.1.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:06:56] [main/INFO]: Found mod file javafmllanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:06:56] [main/INFO]: Found mod file mclanguage-1.17.1-37.1.1.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:06:56] [main/INFO]: Found mod file server-1.17.1-20210706.113038-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:06:56] [main/INFO]: Found mod file forge-1.17.1-37.1.1-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@76f7d241
[18:06:57] [main/INFO]: Successfully loaded Mixin Connector [ca.spottedleaf.starlight.mixin.MixinConnector]
[18:06:57] [main/INFO]: Launching target 'forgeserver' with arguments []
[18:06:57] [main/WARN]: Error loading class: net/minecraft/world/item/ItemStack (java.lang.IllegalArgumentException: Unsupported class file major version 62)
[18:06:57] [main/WARN]: @Mixin target net.minecraft.world.item.ItemStack was not found epicfight.mixins.json:MixinItemStack
[18:06:57] [main/WARN]: Error loading class: net/minecraft/world/item/ItemStack (java.lang.IllegalArgumentException: Unsupported class file major version 62)
[18:06:57] [main/WARN]: @Mixin target net.minecraft.world.item.ItemStack was not found tombstone.mixins.json:ItemStackMixin
[18:06:57] [main/WARN]: Error loading class: de/maxhenkel/gravestone/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.gravestone.events.DeathEvents)
[18:06:57] [main/WARN]: Error loading class: de/maxhenkel/corpse/events/DeathEvents (java.lang.ClassNotFoundException: de.maxhenkel.corpse.events.DeathEvents)
[18:06:57] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 62)
[18:06:57] [main/WARN]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 62)
[18:06:58] [main/WARN]: Error loading class: java/lang/Integer (java.lang.IllegalArgumentException: Unsupported class file major version 62)
 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Yeah, Minecraft.getInstance().player only works on the client side. Is there a way to get the player from the NetworkEvent.Context?
    • I have tried multimc, prism, and curseforge. They all crash without creating any logs.
    • I play with friends a server with mods, funny enough im the only one getting the error. Link to the crash error:https://pastebin.com/Qgn57EXZ
    • I have a keybind where you spit like a llama. On singleplayer both the entity and particle spawn and it's sound is played (https://youtu.be/bpxnFDuWw_I). But on a server only the entity is spawned and nothing else (https://youtu.be/veVQ4zSqnIA), no particles nor sound. Upon starting the server I have noticed this error in the window (https://postimg.cc/K3KDCpMY), don't know if it's relevant. The server works fine but when I want to spit the following pops up in the serverlog '''Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER''' (https://postimg.cc/LqTDP1Sm). I have prepared the following code of the Server-to-Client packet class which I have made to spawn mentioned particles and sounds. package mett.palemannie.tabakmod.networking.packets; import net.minecraft.client.Minecraft; import net.minecraft.core.particles.ParticleTypes; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.sounds.SoundEvents; import net.minecraft.util.RandomSource; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class SpuckEffektS2CPacket { public SpuckEffektS2CPacket(){ } public SpuckEffektS2CPacket(FriendlyByteBuf buf){ } public void toBytes(FriendlyByteBuf buf){ } public boolean handle(Supplier<NetworkEvent.Context> supplier){ NetworkEvent.Context context = supplier.get(); context.enqueueWork(()-> { Player player = Minecraft.getInstance().player; //Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER Level level = Minecraft.getInstance().level; RandomSource rdm = RandomSource.create(); float r = rdm.nextInt(80, 120) / 100f; player.playSound(SoundEvents.LLAMA_SPIT, 1f, r); Vec3 MausPos = player.getEyePosition(); Vec3 SchauWinkel = player.getLookAngle(); level.addParticle(ParticleTypes.SPIT, true, MausPos.x, MausPos.y, MausPos.z, SchauWinkel.x/4, SchauWinkel.y/4, SchauWinkel.z/4); }); return true; } } Is there an alternative to Minecraft.getInstance().player;? dumb question. I have looked at other mods (MrCrayfish's Gun Mod, Ars Noveau, Apotheosis) on how they handle such server-to-client sound and particles but I haven't got any wiser.    
    • i keep getting error on minecraft when im trying to play modpack. When i go to logs folder i got this. 
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.