[1.12] Server crash after adding Sponge

Hi everyone,

I’m trying to create a server with Sponge, when I have generate the forge server files, it start well but when I add the Sponge mod, the server crash. I’ve tried to change the forge and sponge versions in 1.12.1 an 1.12.2 but it’s also the same errors !

There the full server log : [11:00:28] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR - Pastebin.com

Java versions :
Openjdk version “1.8.0_131”
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

If anyone can help me, it will be great :love_you_gesture:

Please could you provide the crash report? The server log almost crashed my browser trying to open it.

Sure, there many errors :

First error

[18:10:31] [main/TRACE] [mixin/]: Added class metadata for net/minecraft/entity/IMerchant to metadata cache
[18:10:31] [main/ERROR] [mixin/]: mixins.common.api.json:item.merchant.MixinMerchant: func_70932_a_ does not exist in target interface net.minecraft.entity.IMerchant
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: func_70932_a_ does not exist in target interface net.minecraft.entity.IMerchant
at org.spongepowered.asm.mixin.transformer.InterfaceInfo.renameMethod(InterfaceInfo.java:188) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.prepareSoftImplements(MixinPreProcessorStandard.java:154) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.prepareMethod(MixinPreProcessorStandard.java:135) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinPreProcessorInterface.prepareMethod(MixinPreProcessorInterface.java:65) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.prepare(MixinPreProcessorStandard.java:123) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinInfo$State.validateChanges(MixinInfo.java:389) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinInfo$State.validate(MixinInfo.java:291) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinInfo.validate(MixinInfo.java:801) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinConfig.postInitialise(MixinConfig.java:499) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.prepareConfigs(MixinTransformer.java:779) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.select(MixinTransformer.java:668) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.checkSelect(MixinTransformer.java:647) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:557) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy.transform(MixinTransformer.java:184) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
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(ClassLoader.java:424) [?:1.8.0_131]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_131]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_131]
at java.lang.Class.forName(Class.java:348) [?:1.8.0_131]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStartServer.main(GradleStartServer.java:10) [start/:?]

Second

[18:10:32] [main/TRACE] [mixin/]: Added class metadata for org/spongepowered/api/service/permission/PermissionService to metadata cache
[18:10:32] [main/FATAL] [mixin/]: Mixin apply failed mixins.common.core.json:server.MixinMinecraftServer -> net.minecraft.server.MinecraftServer: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Overwrite target “func_71247_a” was not located in target class net/minecraft/server/MinecraftServer
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Overwrite target “func_71247_a” was not located in target class net/minecraft/server/MinecraftServer
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.mergeMethod(MixinApplicatorStandard.java:447) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:416) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:398) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:290) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:259) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:332) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:834) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:804) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:609) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy.transform(MixinTransformer.java:184) [spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
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(ClassLoader.java:424) [?:1.8.0_131]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_131]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_131]
at java.lang.Class.forName(Class.java:348) [?:1.8.0_131]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStartServer.main(GradleStartServer.java:10) [start/:?]
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.common.core.json:server.MixinMinecraftServer] from phase [DEFAULT] in config [mixins.common.core.json] FAILED during APPLY
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinError(MixinTransformer.java:900)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinApplyError(MixinTransformer.java:853)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:613)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy.transform(MixinTransformer.java:184)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at java.lang.Class.forName0(Native Method)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at java.lang.Class.forName(Class.java:348)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at java.lang.reflect.Method.invoke(Method.java:498)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
[18:10:32] [main/INFO] [STDERR/]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transform:619]: at GradleStartServer.main(GradleStartServer.java:10)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Overwrite target “func_71247_a” was not located in target class net/minecraft/server/MinecraftServer
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.mergeMethod(MixinApplicatorStandard.java:447)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:416)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:398)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:290)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:259)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:332)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:834)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:804)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:609)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:634]: … 15 more
[18:10:32] [main/ERROR] [LaunchWrapper/]: Unable to launch
java.lang.ClassNotFoundException: net.minecraft.server.MinecraftServer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_131]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_131]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_131]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_131]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStartServer.main(GradleStartServer.java:10) [start/:?]
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:621) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy.transform(MixinTransformer.java:184) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
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:?]
… 12 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.common.core.json:server.MixinMinecraftServer] from phase [DEFAULT] in config [mixins.common.core.json] FAILED during APPLY
at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinError(MixinTransformer.java:900) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinApplyError(MixinTransformer.java:853) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:613) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy.transform(MixinTransformer.java:184) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
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:?]
… 12 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Overwrite target “func_71247_a” was not located in target class net/minecraft/server/MinecraftServer
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.mergeMethod(MixinApplicatorStandard.java:447) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyNormalMethod(MixinApplicatorStandard.java:416) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMethods(MixinApplicatorStandard.java:398) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:290) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:259) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:332) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:834) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:804) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:609) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
at org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy.transform(MixinTransformer.java:184) ~[spongeforge-1.12-2443-7.0.0-BETA-2498.jar:1.12-2443-7.0.0-BETA-2498]
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:?]
… 12 more
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.reflect.InvocationTargetException
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.reflect.Method.invoke(Method.java:498)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at GradleStartServer.main(GradleStartServer.java:10)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.Runtime.exit(Runtime.java:107)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.System.exit(System.java:971)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[18:10:32] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: … 6 more

First, your sponge version is very old. You should make sure you’re running the latest SF and Forge versions.

Second:

[18:10:23] [main/INFO] [FML/]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

How are you running the server? It basically looks like you’re trying to run a Sponge in a dev environment, but Sponge is trying to find the obfuscated methods (and can’t find them). If you want to create a server, you don’t want to be using a dev environment.

Thank’s for your answer.

I’m using the latest build of 1.12 version, is at very old ?

I’m using IntelliJ, yes I will dev my forge mod and my plugins, this is why I’m trying to include spongeforge.

But I’ve also tried the latest version, and this is the same result.

How can I use spongeforge in a dev environment ?

We have docs on plugin debugging which might be of use, but I don’t tend to run in this configuration myself - if you’re having trouble, someone else might be able to shed some more light on the subject.

Okay, I will try this, ty for your help.

Same issues… Anyone who use Forge + SpongeMod in IntelliJ can help ? Thank’s.

Forge versions : forge-1.12.2-14.23.0.2486
Sponge versions : spongeforge-1.12.2-2486-7.0.0-BETA-2666

I have tried to use without IntelliJ and it’s work well. I saw the “SpongeForge” github repo, is it the same than use Forge and import Sponge, then you can dev your mod with sponge or is another thing ? Any dev mod can answer me ? Thank’s.

SpongeForge is the Sponge implementation on top of Forge.

If you’re developing a plugin and would like to have a mod at the same time, or developing a mod alongside a plugin, then I suggest setting up a forge workspace and adding spongeforge as a dependency.

In your build.gradle file you’ll want something like this:

See under the dependencies section I have added spongeforge and spongeapi. This build file is similar to a typical ForgeGradle setup.
You should be able to run gradle setupDecompWorkspace idea to get a working development environment for both plugins and mods.

1 Like