Mod Résolu Eclipse erreur Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

lordnatt

Aventurier
17 Mars 2021
14
0
1
23
Bonjour je suis nouveau dans la création de mod minecraft , et je voudrai créer un mod pour apprendre un peux en java.

Pour commencer mon mod j'ai regarder la vidéo "
" de Checconio

j'ai fait tout ce qu'il a fait mais quand je mes run pour tester le Mod cela lance minecraft et puis après une seconde

cela mais Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

svp quelqu'un pourrai m'aider pour lancer le mod sans cette erreur :)
 

lordnatt

Aventurier
17 Mars 2021
14
0
1
23
Je peux vous envoyez si besoin le crash report

Code:
---- Minecraft Crash Report ----
// Why did you do that?

Time: 5/19/21 10:46 AM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderException: java.lang.ClassNotFoundException: fr.lekingnatt.modleki.ClientProxy
    at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:102)
    at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:600)
    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:218)
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
    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.distributeStateMessage(LoadController.java:135)
    at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:593)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:232)
    at net.minecraft.client.Minecraft.init(Minecraft.java:513)
    at net.minecraft.client.Minecraft.run(Minecraft.java:421)
    at net.minecraft.client.main.Main.main(Main.java:118)
    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 net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    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 net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:25)
Caused by: java.lang.ClassNotFoundException: fr.lekingnatt.modleki.ClientProxy
    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)
    at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:75)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:85)
    ... 43 more
Caused by: java.lang.NullPointerException
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
    ... 49 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_211, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 787625808 bytes (751 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2768 6 mods loaded, 6 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    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    | UC    | forge      | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
    | UC    | examplemod | 1.0          | bin                              | None      |
    | UE    | modleki    | 1.0          | bin                              | None      |

    Loaded coremods (and transformers):
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 466.27' Renderer: 'NVIDIA GeForce RTX 3070/PCIe/SSE2'

et les logs


[22:43:03] [main/INFO] [GradleStart]: Extra: []
[22:43:03] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/RTX/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[22:43:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:43:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:43:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:43:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[22:43:03] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[22:43:03] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_211\jre
[22:43:03] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[22:43:03] [main/ERROR] [FML]: Full: C:\Users\RTX\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[22:43:03] [main/ERROR] [FML]: Trimmed: c:/users/rtx/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[22:43:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:43:03] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
[22:43:04] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[22:43:04] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[22:43:04] [main/INFO] [FML]: Searching C:\Users\RTX\Desktop\Devellopement\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
[22:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:43:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[22:43:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[22:43:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:43:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:43:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:43:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:43:06] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[22:43:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:43:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:43:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:43:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:43:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:43:06] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:43:06] [main/INFO] [net.minecraft.client.Minecraft]: Setting user: Player404
[22:43:09] [main/INFO] [net.minecraft.client.Minecraft]: LWJGL Version: 2.9.4
[22:43:10] [main/INFO] [FML]: Could not load splash.properties, will create a default one
[22:43:10] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_211, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 839079216 bytes (800 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 466.27' Renderer: 'NVIDIA GeForce RTX 3070/PCIe/SSE2'
[22:43:10] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[22:43:10] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[22:43:10] [main/INFO] [FML]: Replaced 1036 ore ingredients
[22:43:10] [main/INFO] [FML]: Searching C:\Users\RTX\Desktop\Devellopement\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
[22:43:11] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[22:43:12] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, examplemod] at CLIENT
[22:43:12] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, examplemod] at SERVER
[22:43:12] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 145417000 nanos
[22:43:12] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod
[22:43:12] [main/INFO] [FML]: Processing ObjectHolder annotations
[22:43:12] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[22:43:12] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[22:43:12] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[22:43:12] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[22:43:12] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[22:43:12] [main/INFO] [FML]: Applying holder lookups
[22:43:12] [main/INFO] [FML]: Holder lookups applied
[22:43:12] [main/INFO] [FML]: Applying holder lookups
[22:43:12] [main/INFO] [FML]: Holder lookups applied
[22:43:12] [main/INFO] [FML]: Applying holder lookups
[22:43:12] [main/INFO] [FML]: Holder lookups applied
[22:43:12] [main/INFO] [FML]: Applying holder lookups
[22:43:12] [main/INFO] [FML]: Holder lookups applied
[22:43:12] [main/INFO] [FML]: Injecting itemstacks
[22:43:12] [main/INFO] [FML]: Itemstack injection complete
[22:43:14] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: OUTDATED Target: 14.23.5.2855
[22:43:16] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem...
[22:43:16] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL
[22:43:16] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[22:43:16] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: OpenAL initialized.
[22:43:17] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Sound engine started
[22:43:21] [main/INFO] [FML]: Max texture size: 16384
[22:43:21] [main/INFO] [net.minecraft.client.renderer.texture.TextureMap]: Created: 512x512 textures-atlas
[22:43:22] [main/INFO] [FML]: Applying holder lookups
[22:43:22] [main/INFO] [FML]: Holder lookups applied
[22:43:22] [main/INFO] [examplemod]: DIRT BLOCK >> minecraft:dirt
[22:43:22] [main/INFO] [FML]: Injecting itemstacks
[22:43:22] [main/INFO] [FML]: Itemstack injection complete
[22:43:22] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[22:43:22] [main/INFO] [com.mojang.text2speech.NarratorWindows]: Narrator library for x64 successfully loaded
[22:43:23] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient]: Could not authorize you against Realms server: Invalid session id

bien cordialement
lordnatt
 
Dernière édition:

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 856
157
3 002
347
26
Alsace
www.minecraftforgefrance.fr
Bonsoir,

Ton jeu crash car tu n'as pas créé la classe ClientProxy ou que tu ne l'as pas mise au bon endroit.
 

lordnatt

Aventurier
17 Mars 2021
14
0
1
23
Bonjour,

Merci de ta réponse,

j'ai bien crée la classe ClientProxy et ServerProxy, je crois que tu a raison je l'est mis au mauvais endroit,

Pourrais-tu m'aider en me disant où le mettre ?

car je suis un peux perdu

Bien cordialement

lordnatt
 

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 856
157
3 002
347
26
Alsace
www.minecraftforgefrance.fr
D'après le crash, tu as indiqué dans ta classe principale qu'elle se trouve dans fr.lekingnatt.modleki
Donc soit il faut la mettre dans ce package, soit changé ce que tu as indiqué dans @SidedProxy.
 

lordnatt

Aventurier
17 Mars 2021
14
0
1
23
Re
Daccord merci je vais essayer de changer et je te dirai si sa marche .

Bien cordialement

lordnatt
 

lordnatt

Aventurier
17 Mars 2021
14
0
1
23
Je viens de tester en changent le serverProxy et le clientProxy en faisant fr.lekingnatt.modleki.proxy => fr.lekingnatt.modleki comme tu la dit mais ca mais la même erreur

Bien cordialement

lordnatt
 

ShE3py

Enbogueuse
Support
26 Septembre 2015
4 129
162
461
247
21
Mìlhüsa
Bonjour,

L'erreur indique que le chemin vers ta classe indiqué dans l'annotation @SidedProxy est incorrect, alors le mieux serait d'envoyer ce que tu as mit dans cette annotation, et le code source de tes deux classes proxy/tes deux classes affichées dans le Project Explorer (l'arbre du projet à gauche).

Cordialement,
ShE3py
 

lordnatt

Aventurier
17 Mars 2021
14
0
1
23
Bonsoir,

Je n'est pas très bien compris :dsl:, comme je l'ai dit en haut je viens de débuter dans le Java donc je comprend pas trop aurais tu la gentillesse de me

modifier le code du
Code:
@SidedProxy
juste pour résumer ce que tu a dit
JavaScript:
@SidedProxy(clientSide = References.CLIENT_PROXY, serverSide = References.SERVER_PROXY, modId = References.MODID)
    public static ServerProxy proxy;

Bien cordialement

lordnatt