Crash sur un mod
-
Bonjour. J’ai voulu installer un mod sur mon serveur mais il n’a pas fonctionné. Pourtant, il fonctionne à merveille en solo et ne nécessite pas d’autres mods. Lien du mod : https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjxtPWru5XUAhVG0xoKHaa5AqsQFggqMAA&url=http%3A%2F%2Fwww.planetminecraft.com%2Fmod%2Fcall-to-battle-the-wwii-mod1710%2F&usg=AFQjCNFaoP3CCKXzB0mvyQ8fJ63wyRcpDA&sig2=04rD7eCyzzIDapfNMJkpeA
Crash report :```java
[17:50:56] [Server thread/ERROR]: The following problems were captured during this phase
[17:50:56] [Server thread/ERROR]: Caught exception from ww2
java.lang.NullPointerException
at cpw.mods.fml.server.FMLServerHandler.getSavesDirectory(FMLServerHandler.java:109) ~[FMLServerHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at ww2.WWII.load(WWII.java:820) ~[WWII.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_121]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_121]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:530) ~[FMLModContainer.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_121]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_121]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_121]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_121]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) [Loader.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97) [FMLServerHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:323) [FMLCommonHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:286) [lt.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_121]
[17:50:56] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NullPointerException
at cpw.mods.fml.server.FMLServerHandler.getSavesDirectory(FMLServerHandler.java:109) ~[FMLServerHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at ww2.WWII.load(WWII.java:820) ~[WWII.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_121]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_121]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:530) ~[FMLModContainer.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_121]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_121]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_121]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_121]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.7.10.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.7.10.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) ~[Loader.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97) ~[FMLServerHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:323) ~[FMLCommonHandler.class:git-Cauldron-Reloaded-1.7.10-1.1388.1.0]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:286) ~[lt.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_121] -
Salut,
Le mod n’est surement pas compatible serveur, il appelle une fonction à un moment où il ne devrait pas car certains éléments utilisés par cette fonction ne sont pas encore initialisé. -
Ce qui est très étrange, c’est qu’il existe un serveur avec ce mod : ctb.mcph.co
Page du serveur : https://www.planetminecraft.com/server/call-to-battle-official-server/ -
Peut-être ont-ils une version plus récente du mod, qui aurait été fixée, ou alors peut-être l’ont-ils eux-mêmes patché.
-
Finalement c’est réglé : quand on démarre le mod pour la première fois un fichier .txt se génère où il faut mettre cauldron sur true.
Merci de votre aide !