Résolu Une aide pour des events.
-
Le rapport en entier :
[10:22:06] [main/INFO] [GradleStart]: Extra: [] [10:22:07] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/yves/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [10:22:07] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [10:22:07] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [10:22:07] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91 [10:22:07] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [10:22:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [10:22:07] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [10:22:07] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [10:22:07] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [10:22:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [10:22:08] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [10:22:13] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [10:22:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [10:22:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [10:22:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [10:22:14] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [10:22:14] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [10:22:14] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [10:22:17] [main/INFO]: Setting user: Player688 [10:22:20] [Client thread/INFO]: LWJGL Version: 2.9.1 [10:22:25] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // But it works on my machine. Time: 29/06/16 10:22 Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 799232720 bytes (762 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.54' Renderer: 'GeForce 840M/PCIe/SSE2' [10:22:25] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [10:22:25] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [10:22:25] [Client thread/INFO] [FML]: Replaced 183 ore recipies [10:22:25] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [10:22:26] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [10:22:26] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [10:22:40] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [10:22:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [10:22:41] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [10:22:42] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [10:22:42] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [10:22:42] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [10:22:42] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [10:22:42] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [10:22:42] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [10:22:43] [Client thread/INFO] [FML]: Applying holder lookups [10:22:43] [Client thread/INFO] [FML]: Holder lookups applied [10:22:43] [Client thread/INFO] [FML]: Injecting itemstacks [10:22:43] [Client thread/INFO] [FML]: Itemstack injection complete [10:22:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [10:22:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [10:22:43] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [10:22:43] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [10:22:43] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [10:22:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [10:22:43] [Sound Library Loader/INFO]: Sound engine started [10:22:48] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [10:22:48] [Client thread/INFO]: Created: 16x16 textures/items-atlas [10:22:48] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [10:22:48] [Client thread/INFO] [FML]: Injecting itemstacks [10:22:48] [Client thread/INFO] [FML]: Itemstack injection complete [10:22:49] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [10:22:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [10:22:49] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [10:22:50] [Client thread/INFO]: Created: 512x256 textures/items-atlas [10:22:50] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [10:22:50] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [10:22:50] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [10:22:50] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [10:22:50] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [10:22:50] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [10:22:50] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [10:22:50] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [10:22:50] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [10:22:50] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [10:22:50] [Sound Library Loader/INFO]: Sound engine started [10:23:30] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [10:23:30] [Server thread/INFO]: Generating keypair [10:23:30] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [10:23:30] [Server thread/INFO] [FML]: Applying holder lookups [10:23:30] [Server thread/INFO] [FML]: Holder lookups applied [10:23:30] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@67e124f2) [10:23:30] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@67e124f2) [10:23:30] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@67e124f2) [10:23:30] [Server thread/INFO]: Preparing start region for level 0 [10:23:31] [Server thread/INFO]: Changing view distance to 12, from 10 [10:23:31] [Server thread/INFO] [STDOUT]: [Channel.ExtendVieLv:Lv:156]: DDDD [10:23:31] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@4fb914: java.lang.NullPointerException at net.minecraft.entity.player.EntityPlayer.getCommandSenderName(EntityPlayer.java:2327) ~[EntityPlayer.class:?] at net.minecraft.entity.Entity.toString(Entity.java:2333) ~[Entity.class:?] at java.lang.String.valueOf(Unknown Source) ~[?:1.8.0_91] at java.lang.StringBuilder.append(Unknown Source) ~[?:1.8.0_91] at cpw.mods.fml.common.TracingPrintStream.println(TracingPrintStream.java:33) ~[TracingPrintStream.class:?] at Channel.ExtendVieLv.Lv(ExtendVieLv.java:157) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_8_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) [Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) [EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) [EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) [EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) [ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) [NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) [NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) [NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] [10:23:31] [Server thread/ERROR] [FML]: Index: 1 Listeners: [10:23:31] [Server thread/ERROR] [FML]: 0: NORMAL [10:23:31] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@74943348 onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [10:23:31] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking memory connection at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.lang.NullPointerException at net.minecraft.entity.player.EntityPlayer.getCommandSenderName(EntityPlayer.java:2327) ~[EntityPlayer.class:?] at net.minecraft.entity.Entity.toString(Entity.java:2333) ~[Entity.class:?] at java.lang.String.valueOf(Unknown Source) ~[?:1.8.0_91] at java.lang.StringBuilder.append(Unknown Source) ~[?:1.8.0_91] at cpw.mods.fml.common.TracingPrintStream.println(TracingPrintStream.java:33) ~[TracingPrintStream.class:?] at Channel.ExtendVieLv.Lv(ExtendVieLv.java:157) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_8_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) ~[Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) ~[EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) ~[EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) ~[ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) ~[NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) ~[NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) ~[NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?] … 5 more [10:23:31] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-29_10.23.31-server.txt [10:23:31] [Server thread/INFO]: Stopping server [10:23:31] [Server thread/INFO]: Saving players [10:23:31] [Server thread/INFO]: Saving worlds [10:23:31] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [10:23:31] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Shall we play a game? Time: 29/06/16 10:23 Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at net.minecraft.entity.player.EntityPlayer.getCommandSenderName(EntityPlayer.java:2327) at net.minecraft.entity.Entity.toString(Entity.java:2333) at java.lang.String.valueOf(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at cpw.mods.fml.common.TracingPrintStream.println(TracingPrintStream.java:33) at Channel.ExtendVieLv.Lv(ExtendVieLv.java:157) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_8_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.entity.player.EntityPlayer.getCommandSenderName(EntityPlayer.java:2327) at net.minecraft.entity.Entity.toString(Entity.java:2333) at java.lang.String.valueOf(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at cpw.mods.fml.common.TracingPrintStream.println(TracingPrintStream.java:33) at Channel.ExtendVieLv.Lv(ExtendVieLv.java:157) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_8_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) -- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@4f87e75f Stacktrace: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 895891432 bytes (854 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA extaziliamod{1.2} [Extazilia Mod] (bin) GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [10:23:31] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-29_10.23.31-server.txt [10:23:31] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [10:23:31] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [10:23:31] [Server thread/INFO]: Saving chunks for level 'New World'/The End [10:23:31] [Server thread/INFO] [FML]: Unloading dimension 0 [10:23:31] [Server thread/INFO] [FML]: Unloading dimension -1 [10:23:31] [Server thread/INFO] [FML]: Unloading dimension 1 [10:23:31] [Server thread/INFO] [FML]: Applying holder lookups [10:23:31] [Server thread/INFO] [FML]: Holder lookups applied [10:23:31] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [10:23:31] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release ```</init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init>
-
at Channel.ExtendVieLv.Lv(ExtendVieLv.java:157) ~[ExtendVieLv.class:?]
Il y a quoi à la ligne 157 de ExtendVieLv ? -
C’est le print de player je crois, apparement il y a un problème dans le code/les données du joueur ici : “net.minecraft.entity.player.EntityPlayer.getCommandSenderName(EntityPlayer.java:2327) [EntityPlayer.class:?]”, faut regarder ci qu’il y a ici (j’ai pas de workspace en 1.7.10 donc peux pas le faire).
-
@‘AymericRed’:
C’est le print de player je crois, apparement il y a un problème dans le code/les données du joueur ici : “net.minecraft.entity.player.EntityPlayer.getCommandSenderName(EntityPlayer.java:2327) [EntityPlayer.class:?]”, faut regarder ci qu’il y a ici (j’ai pas de workspace en 1.7.10 donc peux pas le faire).
public String getCommandSenderName() { return this.field_146106_i.getName(); }
il y a écrit cela et field_146106_i correspond à :
private final GameProfile field_146106_i;
-
Donc je pense que c’est null parce que l’entité n’est pas encore contruite (EntityConstructingEvent), mais de toute façon, le pint était pour savoir si player était null, ce qui n’est pas le cas, fais un print de player.getPersistentId().
-
@‘AymericRed’:
Donc je pense que c’est null parce que l’entité n’est pas encore contruite (EntityConstructingEvent), mais de toute façon, le pint était pour savoir si player était null, ce qui n’est pas le cas, fais un print de player.getPersistentId().
cela donne 0e4ee5f1-ac7f-42eb-90e7-3d59849baa34
le rapport de crash :
[16:05:59] [main/INFO] [GradleStart]: Extra: [] [16:05:59] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/yves/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [16:05:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:05:59] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [16:05:59] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91 [16:05:59] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:05:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [16:05:59] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [16:05:59] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [16:05:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:05:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:06:00] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [16:06:02] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [16:06:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:06:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:06:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:06:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [16:06:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [16:06:02] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [16:06:05] [main/INFO]: Setting user: Player312 [16:06:07] [Client thread/INFO]: LWJGL Version: 2.9.1 [16:06:09] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // My bad. Time: 29/06/16 16:06 Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 786090312 bytes (749 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.15.4248' Renderer: 'Intel(R) HD Graphics 4400' [16:06:09] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [16:06:09] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [16:06:09] [Client thread/INFO] [FML]: Replaced 183 ore recipies [16:06:10] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [16:06:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [16:06:10] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [16:06:20] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [16:06:20] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [16:06:20] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [16:06:21] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [16:06:21] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [16:06:21] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [16:06:21] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [16:06:21] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [16:06:21] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [16:06:21] [Client thread/INFO] [FML]: Applying holder lookups [16:06:21] [Client thread/INFO] [FML]: Holder lookups applied [16:06:21] [Client thread/INFO] [FML]: Injecting itemstacks [16:06:21] [Client thread/INFO] [FML]: Itemstack injection complete [16:06:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:06:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [16:06:22] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [16:06:22] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:06:22] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [16:06:22] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:06:22] [Sound Library Loader/INFO]: Sound engine started [16:06:25] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [16:06:25] [Client thread/INFO]: Created: 16x16 textures/items-atlas [16:06:25] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [16:06:25] [Client thread/INFO] [FML]: Injecting itemstacks [16:06:25] [Client thread/INFO] [FML]: Itemstack injection complete [16:06:25] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [16:06:25] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [16:06:26] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [16:06:26] [Client thread/INFO]: Created: 512x256 textures/items-atlas [16:06:26] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:06:26] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [16:06:27] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [16:06:27] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:06:27] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:06:27] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [16:06:27] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [16:06:27] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:06:27] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [16:06:27] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:06:27] [Sound Library Loader/INFO]: Sound engine started [16:06:45] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [16:06:45] [Server thread/INFO]: Generating keypair [16:06:46] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [16:06:46] [Server thread/INFO] [FML]: Applying holder lookups [16:06:46] [Server thread/INFO] [FML]: Holder lookups applied [16:06:46] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@11762ebb) [16:06:46] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@11762ebb) [16:06:46] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@11762ebb) [16:06:46] [Server thread/INFO]: Preparing start region for level 0 [16:06:47] [Server thread/INFO]: Preparing spawn area: 92% [16:06:47] [Server thread/INFO]: Changing view distance to 12, from 10 [16:06:48] [Server thread/INFO] [STDOUT]: [Channel.ExtendVieLv:Lv:156]: DDDD [16:06:48] [Server thread/INFO] [STDOUT]: [Channel.ExtendVieLv:Lv:157]: 0e4ee5f1-ac7f-42eb-90e7-3d59849baa34 [16:06:48] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@2f242806: java.lang.NullPointerException at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) [Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) [EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) [EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) [EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) [ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) [NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) [NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) [NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] [16:06:48] [Server thread/ERROR] [FML]: Index: 1 Listeners: [16:06:48] [Server thread/ERROR] [FML]: 0: NORMAL [16:06:48] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@12f1cdab onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [16:06:48] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking memory connection at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.lang.NullPointerException at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) ~[Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) ~[EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) ~[EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) ~[ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) ~[NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) ~[NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) ~[NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?] … 5 more [16:06:48] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-29_16.06.48-server.txt [16:06:48] [Server thread/INFO]: Stopping server [16:06:48] [Server thread/INFO]: Saving players [16:06:48] [Server thread/INFO]: Saving worlds [16:06:48] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [16:06:48] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Everything's going to plan. No, really, that was supposed to happen. Time: 29/06/16 16:06 Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) -- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@73bbf832 Stacktrace: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 900351488 bytes (858 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA extaziliamod{1.2} [Extazilia Mod] (bin) GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [16:06:48] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-29_16.06.48-server.txt [16:06:48] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [16:06:48] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [16:06:48] [Server thread/INFO]: Saving chunks for level 'New World'/The End [16:06:48] [Server thread/INFO] [FML]: Unloading dimension 0 [16:06:48] [Server thread/INFO] [FML]: Unloading dimension -1 [16:06:48] [Server thread/INFO] [FML]: Unloading dimension 1 [16:06:48] [Server thread/INFO] [FML]: Applying holder lookups [16:06:48] [Server thread/INFO] [FML]: Holder lookups applied [16:06:48] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [16:06:48] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release ```</init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init>
-
Le même rapport qu’avant les println, mais maintenant on a éliminé des causes possibles, cliques sur l’endroit où il y la ligne du crash dans la console, et montre la fonction avec la ligne indiqué par eclipse “mise en valeur” (étant donné qu’on ne peut pas voir ici la ligne précisément car c’est faussé sans les imports).
Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk
-
@‘AymericRed’:
Le même rapport qu’avant les println, mais maintenant on a éliminé des causes possibles, cliques sur l’endroit où il y la ligne du crash dans la console, et montre la fonction avec la ligne indiqué par eclipse “mise en valeur” (étant donné qu’on ne peut pas voir ici la ligne précisément car c’est faussé sans les imports).
Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk
[16:35:52] [main/INFO] [GradleStart]: Extra: [] [16:35:52] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/yves/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [16:35:53] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:35:53] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [16:35:53] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91 [16:35:53] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:35:53] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [16:35:53] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [16:35:53] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [16:35:53] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:35:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:35:53] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [16:35:57] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [16:35:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [16:35:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:35:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [16:35:58] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [16:35:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [16:35:58] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [16:36:00] [main/INFO]: Setting user: Player702 [16:36:02] [Client thread/INFO]: LWJGL Version: 2.9.1 [16:36:04] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // Shall we play a game? Time: 29/06/16 16:36 Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 796908240 bytes (759 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.15.4248' Renderer: 'Intel(R) HD Graphics 4400' [16:36:04] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [16:36:04] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [16:36:04] [Client thread/INFO] [FML]: Replaced 183 ore recipies [16:36:05] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [16:36:05] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [16:36:05] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [16:36:16] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [16:36:17] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [16:36:17] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [16:36:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [16:36:17] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [16:36:17] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [16:36:17] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [16:36:17] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [16:36:17] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [16:36:18] [Client thread/INFO] [FML]: Applying holder lookups [16:36:18] [Client thread/INFO] [FML]: Holder lookups applied [16:36:18] [Client thread/INFO] [FML]: Injecting itemstacks [16:36:18] [Client thread/INFO] [FML]: Itemstack injection complete [16:36:18] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:36:18] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [16:36:18] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [16:36:18] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:36:18] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [16:36:19] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:36:19] [Sound Library Loader/INFO]: Sound engine started [16:36:22] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [16:36:22] [Client thread/INFO]: Created: 16x16 textures/items-atlas [16:36:22] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [16:36:22] [Client thread/INFO] [FML]: Injecting itemstacks [16:36:22] [Client thread/INFO] [FML]: Itemstack injection complete [16:36:22] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [16:36:22] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [16:36:22] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [16:36:24] [Client thread/INFO]: Created: 512x256 textures/items-atlas [16:36:24] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:36:24] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [16:36:24] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [16:36:24] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:36:24] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:36:24] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [16:36:24] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [16:36:24] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [16:36:24] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [16:36:25] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [16:36:25] [Sound Library Loader/INFO]: Sound engine started [16:36:44] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [16:36:44] [Server thread/INFO]: Generating keypair [16:36:44] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [16:36:44] [Server thread/INFO] [FML]: Applying holder lookups [16:36:44] [Server thread/INFO] [FML]: Holder lookups applied [16:36:45] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1943dad3) [16:36:45] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1943dad3) [16:36:45] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1943dad3) [16:36:45] [Server thread/INFO]: Preparing start region for level 0 [16:36:46] [Server thread/INFO]: Preparing spawn area: 74% [16:36:46] [Server thread/INFO]: Changing view distance to 12, from 10 [16:36:47] [Server thread/INFO] [STDOUT]: [Channel.ExtendVieLv:Lv:156]: DDDD [16:36:47] [Server thread/INFO] [STDOUT]: [Channel.ExtendVieLv:Lv:157]: ef448a75-16a1-42b3-a813-c92e583a6561 [16:36:47] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@18893ad6: java.lang.NullPointerException at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) [Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) [EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) [EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) [EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) [ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) [NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) [NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) [NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] [16:36:47] [Server thread/ERROR] [FML]: Index: 1 Listeners: [16:36:47] [Server thread/ERROR] [FML]: 0: NORMAL [16:36:47] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@12f1cdab onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [16:36:47] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking memory connection at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.lang.NullPointerException at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) ~[Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) ~[EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) ~[EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) ~[ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) ~[NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) ~[NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) ~[NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?] … 5 more [16:36:47] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-29_16.36.47-server.txt [16:36:47] [Server thread/INFO]: Stopping server [16:36:47] [Server thread/INFO]: Saving players [16:36:47] [Server thread/INFO]: Saving worlds [16:36:47] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [16:36:47] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 29/06/16 16:36 Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at Channel.ExtendVieLv.Lv(ExtendVieLv.java:161) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) -- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@3f0a95ba Stacktrace: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 895517392 bytes (854 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA extaziliamod{1.2} [Extazilia Mod] (bin) GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [16:36:47] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [16:36:47] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-29_16.36.47-server.txt [16:36:47] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [16:36:47] [Server thread/INFO]: Saving chunks for level 'New World'/The End [16:36:47] [Server thread/INFO] [FML]: Unloading dimension 0 [16:36:47] [Server thread/INFO] [FML]: Unloading dimension -1 [16:36:47] [Server thread/INFO] [FML]: Unloading dimension 1 [16:36:47] [Server thread/INFO] [FML]: Applying holder lookups [16:36:47] [Server thread/INFO] [FML]: Holder lookups applied [16:36:47] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [16:36:47] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
package Channel; import com.google.common.base.Strings; import cpw.mods.fml.common.network.simpleimpl.IMessage; import fr.extazilia.extaziliamod.common.Main; import fr.extazilia.extaziliamod.proxy.CommonProxy; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import net.minecraft.entity.Entity; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.ai.attributes.IAttributeInstance; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.potion.PotionEffect; import net.minecraft.util.ChatComponentText; import net.minecraft.world.World; import net.minecraftforge.common.IExtendedEntityProperties; public class ExtendVieLv implements IExtendedEntityProperties{ public final static String EXT_Vie = "PropVie"; private EntityPlayer player; public String Lv; public long LevelV; public static long LLv; public ExtendVieLv(EntityPlayer player) { this.player = player; this.Lv = ""; this.LevelV = 0; } public static final void register(EntityPlayer player) { player.registerExtendedProperties(ExtendVieLv.EXT_Vie,new ExtendVieLv(player));} public static final ExtendVieLv get(EntityPlayer player) { return (ExtendVieLv) player.getExtendedProperties(EXT_Vie); } @Override public void saveNBTData(NBTTagCompound compound) { NBTTagCompound properties = new NBTTagCompound(); properties.setLong("NiveauxVie", this.LevelV); compound.setTag(EXT_Vie, properties); } @Override public void loadNBTData(NBTTagCompound compound) { NBTTagCompound properties = (NBTTagCompound) compound.getTag(EXT_Vie); this.LevelV = properties.getLong("NiveauxVie"); } public final void sync() { transformation(); MyMessage packetMoney = new MyMessage(this.Lv); Main.network.sendToServer(packetMoney); if (!player.worldObj.isRemote) { EntityPlayerMP player1 = (EntityPlayerMP) player; Main.network.sendTo(packetMoney, player1); } transformation2(); return; } private static String getSaveKey(EntityPlayer player) { return player.getDisplayName() + ":" + EXT_Vie; } public static void saveProxyData(EntityPlayer player) { ExtendVieLv playerData = ExtendVieLv.get(player); NBTTagCompound savedData = new NBTTagCompound(); playerData.saveNBTData(savedData); CommonProxy.storeEntityData(getSaveKey(player), savedData); } public static void loadProxyData(EntityPlayer player) { ExtendVieLv playerData = ExtendVieLv.get(player); NBTTagCompound savedData = CommonProxy.getEntityData(getSaveKey(player)); if (savedData != null) { playerData.loadNBTData(savedData); } playerData.sync(); } public String transformation(){ if (this.LevelV == 0){this.Lv = "0";} if (this.LevelV == 1){this.Lv = "1";} if (this.LevelV == 2){this.Lv = "2";} if (this.LevelV == 3){this.Lv = "3";} if (this.LevelV == 4){this.Lv = "4";} if (this.LevelV == 5){this.Lv = "5";} if (this.LevelV == 6){this.Lv = "6";} if (this.LevelV == 7){this.Lv = "7";} if (this.LevelV == 8){this.Lv = "8";} if (this.LevelV == 9){this.Lv = "9";} if (this.LevelV == 10){this.Lv = "10";} if (this.LevelV == 11){this.Lv = "11";} if (this.LevelV == 12){this.Lv = "12";} if (this.LevelV == 13){this.Lv = "13";} if (this.LevelV == 14){this.Lv = "14";} if (this.LevelV == 15){this.Lv = "15";} if (this.LevelV == 16){this.Lv = "16";} if (this.LevelV == 17){this.Lv = "17";} if (this.LevelV == 18){this.Lv = "18";} if (this.LevelV == 19){this.Lv = "19";} if (this.LevelV == 20){this.Lv = "20";} return Lv;} public Long transformation2(){ if(this.Lv=="0"){this.LevelV=0;}; if(this.Lv=="1"){this.LevelV=1;}; if(this.Lv=="2"){this.LevelV=2;}; if(this.Lv=="3"){this.LevelV=3;}; if(this.Lv=="4"){this.LevelV=4;}; if(this.Lv=="5"){this.LevelV=5;}; if(this.Lv=="6"){this.LevelV=6;}; if(this.Lv=="7"){this.LevelV=7;}; if(this.Lv=="8"){this.LevelV=8;}; if(this.Lv=="9"){this.LevelV=9;}; if(this.Lv=="10"){this.LevelV=10;}; if(this.Lv=="11"){this.LevelV=11;}; if(this.Lv=="12"){this.LevelV=12;}; if(this.Lv=="13"){this.LevelV=13;}; if(this.Lv=="14"){this.LevelV=14;}; if(this.Lv=="15"){this.LevelV=15;}; if(this.Lv=="16"){this.LevelV=16;}; if(this.Lv=="17"){this.LevelV=17;}; if(this.Lv=="18"){this.LevelV=18;}; if(this.Lv=="19"){this.LevelV=19;}; if(this.Lv=="20"){this.LevelV=20;}; return LevelV; } public boolean LvUp() { System.out.println(player); if (LevelV < 10 ){ this.LevelV += 1; this.LLv = this.LevelV ; AttributeModifier moreHealth = new AttributeModifier(player.getPersistentID(), "Test",4*LLv, 0).setSaved(true); IAttributeInstance attributeinstance = player.getEntityAttribute(SharedMonsterAttributes.maxHealth); attributeinstance.removeModifier(moreHealth); attributeinstance.applyModifier(moreHealth); this.sync(); return true;} else{ return false;} } public void Lv(){ this.LLv = this.LevelV ; AttributeModifier moreHealth = new AttributeModifier(player.getPersistentID(), "Test",4*LLv, 0).setSaved(true); IAttributeInstance attributeinstance = player.getEntityAttribute(SharedMonsterAttributes.maxHealth); attributeinstance.removeModifier(moreHealth); attributeinstance.applyModifier(moreHealth); player.addPotionEffect(new PotionEffect(6, 2)); player.addPotionEffect(new PotionEffect(7, 1)); player.addPotionEffect(new PotionEffect(6, 2));} private void Lv1() { // TODO Auto-generated method stub } @Override public void init(Entity entity, World world) {} }
Je te donne avec les importations car j’ais du mal à comprendre les lignes de la console.</init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init>
-
Le NPE se situe ici : ```java
player.addPotionEffect(new PotionEffect(6, 2));"Je te donne avec les importations car j'ais du mal à comprendre les lignes de la console." Il suffisait de cliquer sur la première chose de l'erreur, mais si tu as du mal, je t'invite à regarder la vidéo de robin sur le sujet (je cherche le lien puis je revient). EDIT : https://www.youtube.com/watch?v=pGQcCjFUFmM
-
@‘AymericRed’:
Le NPE se situe ici : ```java
player.addPotionEffect(new PotionEffect(6, 2));"Je te donne avec les importations car j'ais du mal à comprendre les lignes de la console." Il suffisait de cliquer sur la première chose de l'erreur, mais si tu as du mal, je t'invite à regarder la vidéo de robin sur le sujet (je cherche le lien puis je revient).
A oui sa vidéo pourrait vraiment m’aider - et je vais faire un test sans les effets de potion alors___En faite cela crash quand même sans les effets de potions.
[17:17:39] [main/INFO] [GradleStart]: Extra: [] [17:17:40] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/yves/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [17:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [17:17:40] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [17:17:40] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_91 [17:17:40] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [17:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [17:17:40] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [17:17:40] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [17:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:17:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:17:40] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [17:17:43] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [17:17:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:17:43] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:17:44] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:17:44] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [17:17:44] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [17:17:44] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [17:17:48] [main/INFO]: Setting user: Player100 [17:17:52] [Client thread/INFO]: LWJGL Version: 2.9.1 [17:17:53] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] Time: 29/06/16 17:17 Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: –------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 794015224 bytes (757 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.15.4248' Renderer: 'Intel(R) HD Graphics 4400' [17:17:53] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [17:17:53] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [17:17:53] [Client thread/INFO] [FML]: Replaced 183 ore recipies [17:17:54] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [17:17:54] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [17:17:54] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [17:18:07] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [17:18:08] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [17:18:08] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [17:18:09] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [17:18:10] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [17:18:10] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [17:18:10] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [17:18:10] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [17:18:10] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [17:18:10] [Client thread/INFO] [FML]: Applying holder lookups [17:18:10] [Client thread/INFO] [FML]: Holder lookups applied [17:18:10] [Client thread/INFO] [FML]: Injecting itemstacks [17:18:10] [Client thread/INFO] [FML]: Itemstack injection complete [17:18:10] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:18:10] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [17:18:11] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [17:18:11] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:18:11] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [17:18:11] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:18:11] [Sound Library Loader/INFO]: Sound engine started [17:18:17] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [17:18:17] [Client thread/INFO]: Created: 16x16 textures/items-atlas [17:18:17] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [17:18:17] [Client thread/INFO] [FML]: Injecting itemstacks [17:18:17] [Client thread/INFO] [FML]: Itemstack injection complete [17:18:17] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [17:18:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [17:18:18] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [17:18:20] [Client thread/INFO]: Created: 512x256 textures/items-atlas [17:18:20] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:18:20] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [17:18:20] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [17:18:20] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:18:20] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:18:20] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [17:18:20] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [17:18:20] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:18:20] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [17:18:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [17:18:21] [Sound Library Loader/INFO]: Sound engine started [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:47] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:47] [Client thread/ERROR]: @ Post render [17:18:47] [Client thread/ERROR]: 1280: Invalid enum [17:18:48] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:48] [Client thread/ERROR]: @ Post render [17:18:48] [Client thread/ERROR]: 1280: Invalid enum [17:18:48] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:48] [Client thread/ERROR]: @ Post render [17:18:48] [Client thread/ERROR]: 1280: Invalid enum [17:18:48] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:48] [Client thread/ERROR]: @ Post render [17:18:48] [Client thread/ERROR]: 1280: Invalid enum [17:18:48] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:48] [Client thread/ERROR]: @ Post render [17:18:48] [Client thread/ERROR]: 1280: Invalid enum [17:18:48] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:48] [Client thread/ERROR]: @ Post render [17:18:48] [Client thread/ERROR]: 1280: Invalid enum [17:18:48] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:48] [Client thread/ERROR]: @ Post render [17:18:48] [Client thread/ERROR]: 1280: Invalid enum [17:18:51] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [17:18:51] [Server thread/INFO]: Generating keypair [17:18:51] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [17:18:51] [Server thread/INFO] [FML]: Applying holder lookups [17:18:51] [Server thread/INFO] [FML]: Holder lookups applied [17:18:51] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@2114cbe6) [17:18:51] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@2114cbe6) [17:18:51] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@2114cbe6) [17:18:51] [Server thread/INFO]: Preparing start region for level 0 [17:18:52] [Server thread/INFO]: Preparing spawn area: 47% [17:18:53] [Server thread/INFO]: Changing view distance to 12, from 10 [17:18:53] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@25c46706: java.lang.NullPointerException at Channel.ExtendVieLv.Lv(ExtendVieLv.java:159) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) [Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) [EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) [EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) [EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) [ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) [NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) [NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) [NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] [17:18:53] [Server thread/ERROR] [FML]: Index: 1 Listeners: [17:18:53] [Server thread/ERROR] [FML]: 0: NORMAL [17:18:53] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@12f1cdab onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [17:18:53] [Server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking memory connection at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?] Caused by: java.lang.NullPointerException at Channel.ExtendVieLv.Lv(ExtendVieLv.java:159) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) ~[EventHardler.class:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) ~[?:?] at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) ~[ASMEventHandler.class:?] at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?] at net.minecraft.entity.Entity.<init>(Entity.java:224) ~[Entity.class:?] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) ~[EntityLivingBase.class:?] at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) ~[EntityPlayer.class:?] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) ~[EntityPlayerMP.class:?] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) ~[ServerConfigurationManager.class:?] at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) ~[NetHandlerLoginServer.class:?] at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) ~[NetHandlerLoginServer.class:?] at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) ~[NetworkManager.class:?] at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?] … 5 more [17:18:53] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-29_17.18.53-server.txt [17:18:53] [Server thread/INFO]: Stopping server [17:18:53] [Server thread/INFO]: Saving players [17:18:53] [Server thread/INFO]: Saving worlds [17:18:53] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [17:18:53] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Ouch. That hurt :( Time: 29/06/16 17:18 Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at Channel.ExtendVieLv.Lv(ExtendVieLv.java:159) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at Channel.ExtendVieLv.Lv(ExtendVieLv.java:159) at Channel.EventHardler.onEntityConstructing(EventHardler.java:18) at cpw.mods.fml.common.eventhandler.ASMEventHandler_7_EventHardler_onEntityConstructing_EntityConstructing.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.entity.Entity.<init>(Entity.java:224) at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:155) at net.minecraft.entity.player.EntityPlayer.<init>(EntityPlayer.java:165) at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:158) at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:443) at net.minecraft.server.network.NetHandlerLoginServer.func_147326_c(NetHandlerLoginServer.java:105) at net.minecraft.server.network.NetHandlerLoginServer.onNetworkTick(NetHandlerLoginServer.java:64) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:244) -- Ticking connection -- Details: Connection: net.minecraft.network.NetworkManager@7f7da1e5 Stacktrace: at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 900740512 bytes (859 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) UCHIJAAAA extaziliamod{1.2} [Extazilia Mod] (bin) GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [17:18:53] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [17:18:54] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-29_17.18.53-server.txt [17:18:54] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [17:18:54] [Server thread/INFO]: Saving chunks for level 'New World'/The End [17:18:54] [Server thread/INFO] [FML]: Unloading dimension 0 [17:18:54] [Server thread/INFO] [FML]: Unloading dimension -1 [17:18:54] [Server thread/INFO] [FML]: Unloading dimension 1 [17:18:54] [Server thread/INFO] [FML]: Applying holder lookups [17:18:54] [Server thread/INFO] [FML]: Holder lookups applied [17:18:54] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [17:18:54] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
La classe sans les effets de potion :
package Channel; import com.google.common.base.Strings; import cpw.mods.fml.common.network.simpleimpl.IMessage; import fr.extazilia.extaziliamod.common.Main; import fr.extazilia.extaziliamod.proxy.CommonProxy; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import net.minecraft.entity.Entity; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.attributes.AttributeModifier; import net.minecraft.entity.ai.attributes.IAttributeInstance; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.potion.PotionEffect; import net.minecraft.util.ChatComponentText; import net.minecraft.world.World; import net.minecraftforge.common.IExtendedEntityProperties; public class ExtendVieLv implements IExtendedEntityProperties{ public final static String EXT_Vie = "PropVie"; private EntityPlayer player; public String Lv; public long LevelV; public static long LLv; public ExtendVieLv(EntityPlayer player) { this.player = player; this.Lv = ""; this.LevelV = 0; } public static final void register(EntityPlayer player) { player.registerExtendedProperties(ExtendVieLv.EXT_Vie,new ExtendVieLv(player));} public static final ExtendVieLv get(EntityPlayer player) { return (ExtendVieLv) player.getExtendedProperties(EXT_Vie); } @Override public void saveNBTData(NBTTagCompound compound) { NBTTagCompound properties = new NBTTagCompound(); properties.setLong("NiveauxVie", this.LevelV); compound.setTag(EXT_Vie, properties); } @Override public void loadNBTData(NBTTagCompound compound) { NBTTagCompound properties = (NBTTagCompound) compound.getTag(EXT_Vie); this.LevelV = properties.getLong("NiveauxVie"); } public final void sync() { transformation(); MyMessage packetMoney = new MyMessage(this.Lv); Main.network.sendToServer(packetMoney); if (!player.worldObj.isRemote) { EntityPlayerMP player1 = (EntityPlayerMP) player; Main.network.sendTo(packetMoney, player1); } transformation2(); return; } private static String getSaveKey(EntityPlayer player) { return player.getDisplayName() + ":" + EXT_Vie; } public static void saveProxyData(EntityPlayer player) { ExtendVieLv playerData = ExtendVieLv.get(player); NBTTagCompound savedData = new NBTTagCompound(); playerData.saveNBTData(savedData); CommonProxy.storeEntityData(getSaveKey(player), savedData); } public static void loadProxyData(EntityPlayer player) { ExtendVieLv playerData = ExtendVieLv.get(player); NBTTagCompound savedData = CommonProxy.getEntityData(getSaveKey(player)); if (savedData != null) { playerData.loadNBTData(savedData); } playerData.sync(); } public String transformation(){ if (this.LevelV == 0){this.Lv = "0";} if (this.LevelV == 1){this.Lv = "1";} if (this.LevelV == 2){this.Lv = "2";} if (this.LevelV == 3){this.Lv = "3";} if (this.LevelV == 4){this.Lv = "4";} if (this.LevelV == 5){this.Lv = "5";} if (this.LevelV == 6){this.Lv = "6";} if (this.LevelV == 7){this.Lv = "7";} if (this.LevelV == 8){this.Lv = "8";} if (this.LevelV == 9){this.Lv = "9";} if (this.LevelV == 10){this.Lv = "10";} if (this.LevelV == 11){this.Lv = "11";} if (this.LevelV == 12){this.Lv = "12";} if (this.LevelV == 13){this.Lv = "13";} if (this.LevelV == 14){this.Lv = "14";} if (this.LevelV == 15){this.Lv = "15";} if (this.LevelV == 16){this.Lv = "16";} if (this.LevelV == 17){this.Lv = "17";} if (this.LevelV == 18){this.Lv = "18";} if (this.LevelV == 19){this.Lv = "19";} if (this.LevelV == 20){this.Lv = "20";} return Lv;} public Long transformation2(){ if(this.Lv=="0"){this.LevelV=0;}; if(this.Lv=="1"){this.LevelV=1;}; if(this.Lv=="2"){this.LevelV=2;}; if(this.Lv=="3"){this.LevelV=3;}; if(this.Lv=="4"){this.LevelV=4;}; if(this.Lv=="5"){this.LevelV=5;}; if(this.Lv=="6"){this.LevelV=6;}; if(this.Lv=="7"){this.LevelV=7;}; if(this.Lv=="8"){this.LevelV=8;}; if(this.Lv=="9"){this.LevelV=9;}; if(this.Lv=="10"){this.LevelV=10;}; if(this.Lv=="11"){this.LevelV=11;}; if(this.Lv=="12"){this.LevelV=12;}; if(this.Lv=="13"){this.LevelV=13;}; if(this.Lv=="14"){this.LevelV=14;}; if(this.Lv=="15"){this.LevelV=15;}; if(this.Lv=="16"){this.LevelV=16;}; if(this.Lv=="17"){this.LevelV=17;}; if(this.Lv=="18"){this.LevelV=18;}; if(this.Lv=="19"){this.LevelV=19;}; if(this.Lv=="20"){this.LevelV=20;}; return LevelV; } public boolean LvUp() { System.out.println(player); if (LevelV < 10 ){ this.LevelV += 1; this.LLv = this.LevelV ; AttributeModifier moreHealth = new AttributeModifier(player.getPersistentID(), "Test",4*LLv, 0).setSaved(true); IAttributeInstance attributeinstance = player.getEntityAttribute(SharedMonsterAttributes.maxHealth); attributeinstance.removeModifier(moreHealth); attributeinstance.applyModifier(moreHealth); this.sync(); return true;} else{ return false;} } public void Lv(){ this.LLv = this.LevelV ; AttributeModifier moreHealth = new AttributeModifier(player.getPersistentID(), "Test",4*LLv, 0).setSaved(true); IAttributeInstance attributeinstance = player.getEntityAttribute(SharedMonsterAttributes.maxHealth); attributeinstance.removeModifier(moreHealth); attributeinstance.applyModifier(moreHealth);} private void Lv1() { // TODO Auto-generated method stub } @Override public void init(Entity entity, World world) {} } ```</init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init>
-
Attention double post !
Ajoute la classes sans les trucs de potions pour avoir la ligne du crash (edite ton message).
Et as-tu des classes de rendu ? Car tu as ça comme erreur :[17:18:48] [Client thread/ERROR]: ########## GL ERROR ########## [17:18:48] [Client thread/ERROR]: @ Post render [17:18:48] [Client thread/ERROR]: 1280: Invalid enum ``` (ce n'est pas lié au crash).
-
Ici “attributeinstance.removeModifier(moreHealth);” tu devrais vérifier que le joueur a le modifieur.
PS : fait attention à la convention java, ton code est incompréhensible.
-
@‘AymericRed’:
Le NPE se situe ici : ```java
player.addPotionEffect(new PotionEffect(6, 2));"Je te donne avec les importations car j'ais du mal à comprendre les lignes de la console." Il suffisait de cliquer sur la première chose de l'erreur, mais si tu as du mal, je t'invite à regarder la vidéo de robin sur le sujet (je cherche le lien puis je revient). EDIT : ~~https://www.youtube.com/watch?v=pGQcCjFUFmM~~
https://www.youtube.com/watch?v=Uipvf_DmyQc
la vidéo que tu as mit c’est mon test pour jouer un son en asm x)
-
@‘SCAREX’:
Ici “attributeinstance.removeModifier(moreHealth);” tu devrais vérifier que le joueur a le modifieur.
PS : fait attention à la convention java, ton code est incompréhensible.
Pour ce qui est de la convention j’apprends encore et j’ais vérifier si c’était pas null mais cela crash quand même.
-
@‘robin4002’:
@‘AymericRed’:
Le NPE se situe ici : ```java
player.addPotionEffect(new PotionEffect(6, 2));"Je te donne avec les importations car j'ais du mal à comprendre les lignes de la console." Il suffisait de cliquer sur la première chose de l'erreur, mais si tu as du mal, je t'invite à regarder la vidéo de robin sur le sujet (je cherche le lien puis je revient). EDIT : ~~https://www.youtube.com/watch?v=pGQcCjFUFmM~~
https://www.youtube.com/watch?v=Uipvf_DmyQc
la vidéo que tu as mit c’est mon test pour jouer un son en asm x)
Merci pour la vidéo je la regarderé dés que je pourrais.
-
J’avais ça dans mon historique yt ? Bizarre je ne me souviens pas avoir vu ça.
-
Grâce à la vidéo sur les rapports de crash j’ais peut régler les crash mais il me reste un soucis avec l’event quand le joueur meurt.
Il n’y a pas de crash mais ne fais pas ce qu’il faut pour réactialiser la vie maximal du joueur.La fonction qui est utilisé pour actialiser la vie du joueur (Cela marche pour quand le joueur rejoind un monde mais pas quand il meurt).
public void Lv(){ System.out.println("Ca lance"); this.transformation(); System.out.print(Lv); if (this.LevelV > 0){ AttributeModifier moreHealth = new AttributeModifier(player.getPersistentID(), "Test",4*LevelV, 0).setSaved(true); IAttributeInstance attributeinstance = player.getEntityAttribute(SharedMonsterAttributes.maxHealth); attributeinstance.removeModifier(moreHealth); attributeinstance.applyModifier(moreHealth); System.out.println("Ca lance version 2"); player.addPotionEffect(new PotionEffect(6,1)); player.addPotionEffect(new PotionEffect(7,1)); player.addPotionEffect(new PotionEffect(10,800,1));}}
Une partie de la console :
[13:28:14] [Client thread/INFO]: [CHAT] Player882 suffocated in a wall [13:28:15] [Server thread/INFO] [STDOUT]: [Channel.ExtendVieLv:Lv:155]: Ca lance 0[13:28:15] [Server thread/INFO] [STDOUT]: [Channel.MyMessage$Handler:onMessage:33]: Received 10 from Player882
Je pense que cela veut bien dire que LevelV est bien supérieur à zéro mais je n’arrive pas alors à comprendre pourquoi la vie n’est pas appliqué.
-
print la valeur de this.LevelV
-
@‘robin4002’:
print la valeur de this.LevelV
Il renvoie 10 qui est bien sa valeur.
-
Étrange qu’il n’y ait pas Ca lance version 2 dans les logs ni l’effet