Résolu Une aide pour des events.
-
Bonjour à tous. Je vous présente mon cas j’ais fais une classe pour pouvoir augmenter la vie maximal du joueur. T’en que le joueur reste dans le même monde ou meurt, la vie n’as pas de probléme mais s’il meurt ou change de monde sa vie maximal est remis à la limite normal. Pour compenser ca j’ais fais une fonction qui fonctionne (vérifié via un item et son itemRightClic).
Le probléme c’est que j’ais voulue que cette fonction sois utilisé dans des events mais alors le jeu crash.
Le rapport de crash :
[14:47:15] [main/INFO] [GradleStart]: Extra: [] [14:47:15] [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] [14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [14:47:16] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [14:47:16] [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 [14:47:16] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [14:47:16] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [14:47:16] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [14:47:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [14:47:16] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [14:47:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [14:47:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [14:47:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [14:47:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [14:47:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [14:47:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [14:47:21] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [14:47:22] [main/INFO]: Setting user: Player678 [14:47:25] [Client thread/INFO]: LWJGL Version: 2.9.1 [14:47:27] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // I feel sad now :( Time: 28/06/16 14:47 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: 791459256 bytes (754 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' [14:47:27] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [14:47:27] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [14:47:27] [Client thread/INFO] [FML]: Replaced 183 ore recipies [14:47:27] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [14:47:28] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [14:47:28] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [14:47:36] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [14:47:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [14:47:36] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [14:47:37] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [14:47:37] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [14:47:37] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [14:47:37] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [14:47:37] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [14:47:37] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [14:47:37] [Client thread/INFO] [FML]: Applying holder lookups [14:47:37] [Client thread/INFO] [FML]: Holder lookups applied [14:47:37] [Client thread/INFO] [FML]: Injecting itemstacks [14:47:37] [Client thread/INFO] [FML]: Itemstack injection complete [14:47:38] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [14:47:38] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [14:47:38] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [14:47:38] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [14:47:38] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [14:47:38] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [14:47:38] [Sound Library Loader/INFO]: Sound engine started [14:47:42] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [14:47:42] [Client thread/INFO]: Created: 16x16 textures/items-atlas [14:47:42] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [14:47:42] [Client thread/INFO] [FML]: Injecting itemstacks [14:47:42] [Client thread/INFO] [FML]: Itemstack injection complete [14:47:42] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [14:47:42] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [14:47:42] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [14:47:43] [Client thread/INFO]: Created: 512x256 textures/items-atlas [14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [14:47:43] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [14:47:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [14:47:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [14:47:43] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [14:47:43] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [14:47:43] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [14:47:43] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [14:47:43] [Sound Library Loader/INFO]: Sound engine started [14:47:53] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [14:47:53] [Server thread/INFO]: Generating keypair [14:47:53] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [14:47:53] [Server thread/INFO] [FML]: Applying holder lookups [14:47:53] [Server thread/INFO] [FML]: Holder lookups applied [14:47:53] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@55f79d5e) [14:47:53] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@55f79d5e) [14:47:53] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@55f79d5e) [14:47:53] [Server thread/INFO]: Preparing start region for level 0 [14:47:54] [Server thread/INFO]: Preparing spawn area: 78% [14:47:55] [Server thread/INFO]: Changing view distance to 12, from 10 [14:47:55] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@4a0d1cf2: java.lang.NullPointerException at Channel.ExtendVieLv.get(ExtendVieLv.java:40) ~[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:?] [14:47:55] [Server thread/ERROR] [FML]: Index: 1 Listeners: [14:47:55] [Server thread/ERROR] [FML]: 0: NORMAL [14:47:55] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@74943348 onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [14:47:55] [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.get(ExtendVieLv.java:40) ~[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 [14:47:55] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-28_14.47.55-server.txt [14:47:55] [Server thread/INFO]: Stopping server [14:47:55] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Sorry :( Time: 28/06/16 14:47 Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at Channel.ExtendVieLv.get(ExtendVieLv.java:40) 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.get(ExtendVieLv.java:40) 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@5c693daf 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: 903982696 bytes (862 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' [14:47:55] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-28_14.47.55-server.txt [14:47:55] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [14:47:55] [Server thread/INFO]: Saving players [14:47:55] [Server thread/INFO]: Saving worlds [14:47:55] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:47:55] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [14:47:55] [Server thread/INFO]: Saving chunks for level 'New World'/The End [14:47:55] [Server thread/INFO] [FML]: Unloading dimension 0 [14:47:55] [Server thread/INFO] [FML]: Unloading dimension -1 [14:47:55] [Server thread/INFO] [FML]: Unloading dimension 1 [14:47:55] [Server thread/INFO] [FML]: Applying holder lookups [14:47:55] [Server thread/INFO] [FML]: Holder lookups applied [14:47:55] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [14:47:55] [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
Ma classe d’event :
public class EventHardler { private EntityPlayer player; @SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(player); props.Lv();} @SubscribeEvent public void onLivingDeathEvent(LivingDeathEvent event) { if (!event.entity.worldObj.isRemote&& event.entity instanceof EntityPlayer) { NBTTagCompound playerData = new NBTTagCompound(); ExtendVieLv props = ExtendVieLv.get(player); props.Lv(); ((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).saveNBTData(playerData); CommonProxy.storeEntityData(((EntityPlayer) event.entity).getDisplayName(), playerData); ExtendVieLv.saveProxyData((EntityPlayer) event.entity);} else {} } @SubscribeEvent public void onEntityJoinWorld(EntityJoinWorldEvent event) { if (!event.entity.worldObj.isRemote&& event.entity instanceof EntityPlayer) { NBTTagCompound playerData = CommonProxy.getEntityData(((EntityPlayer) event.entity).getDisplayName()); if (playerData != null) { ExtendVieLv props = ExtendVieLv.get(player); props.Lv(); ((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).loadNBTData(playerData);} ((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).sync();}}}
Ce qui permettrais normalement à réactualiser la vie maximal du joeur :
ExtendVieLv props = ExtendVieLv.get(player); props.Lv();
Merci d’avance pour votre aide.</init></init></init></init></init></init></init></init></init></init></init></init></init></init></init></init>
-
On ne peut pas bien voir à quelle ligne il y a un problème, j’ai cru voir que c’était à la 40
-
“java.lang.NullPointerException
at Channel.ExtendVieLv.get(ExtendVieLv.java:40) ~[ExtendVieLv.class:?]”
Il y a un NullPointer dans ta classe ExtendVieLv à la ligne 40 dans la fonction get, montre la fonction. -
ma classe ExtendVieLv :
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() { 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) {} }
-
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;}
Devient :
public String transformation() { this.Lv = new String(this.LevelV); return Lv; }
Ça a rien avoir ton problème mais faut pas abuser
-
@SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(player); props.Lv();} ```Tu utilises la variable player quand tu appelles la fonction get sauf que je ne vois nulle part où tu la défini. PS: Quand tu postes ta classe quand il y a eu un rapport de crash avec une ligne d'indiquée, mets le avec les imports et la déclaration de package afin que les lignes restent correctes, là ce n'était pas compliqué à trouver mais des fois ça peu l'être plus.
-
@‘BrokenSwing’:
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;}
Devient :
public String transformation() { this.Lv = new String(this.LevelV); return Lv; }
Ça a rien avoir ton problème mais faut pas abuser
Merci pour le code je suis un débutant donc je savais pas comment le faire ^^
-
@‘AymericRed’:
@SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(player); props.Lv();} ```Tu utilises la variable player quand tu appelles la fonction get sauf que je ne vois nulle part où tu la défini. PS: Quand tu postes ta classe quand il y a eu un rapport de crash avec une ligne d'indiquée, mets le avec les imports et la déclaration de package afin que les lignes restent correctes, là ce n'était pas compliqué à trouver mais des fois ça peu l'être plus.
Au début de la classe EventHardler j’ais mis la ligne :
```java
private EntityPlayer player; -
Oui m’as t’as mis aucun player = quelque chose.
Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk
-
@‘AymericRed’:
Oui m’as t’as mis aucun player = quelque chose.
Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk
J’ais essayé de mettre cela mais ca ne marche quand même pas aprés.
public EventHardler(EntityPlayer player) { this.player = player; }
-
une fois ca ajouté :
public EventHardler(EntityPlayer player) { this.player = player; }
Le crash est toujours présent et est :
[18:37:54] [main/INFO] [GradleStart]: Extra: [] [18:37:54] [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] [18:37:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [18:37:54] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [18:37:54] [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 [18:37:54] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [18:37:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [18:37:54] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [18:37:54] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [18:37:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [18:37:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:37:55] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [18:38:00] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [18:38:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [18:38:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [18:38:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [18:38:01] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [18:38:01] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [18:38:01] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [18:38:04] [main/INFO]: Setting user: Player186 [18:38:09] [Client thread/INFO]: LWJGL Version: 2.9.1 [18:38:11] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // I let you down. Sorry :( Time: 28/06/16 18:38 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: 793979184 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: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.54' Renderer: 'GeForce 840M/PCIe/SSE2' [18:38:11] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [18:38:11] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [18:38:12] [Client thread/INFO] [FML]: Replaced 183 ore recipies [18:38:12] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [18:38:15] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [18:38:15] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [18:38:31] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [18:38:32] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [18:38:32] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [18:38:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [18:38:33] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [18:38:33] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [18:38:33] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [18:38:33] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [18:38:33] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [18:38:33] [Client thread/INFO] [FML]: Applying holder lookups [18:38:33] [Client thread/INFO] [FML]: Holder lookups applied [18:38:33] [Client thread/INFO] [FML]: Injecting itemstacks [18:38:33] [Client thread/INFO] [FML]: Itemstack injection complete [18:38:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:38:33] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [18:38:34] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [18:38:34] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [18:38:34] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [18:38:34] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:38:34] [Sound Library Loader/INFO]: Sound engine started [18:38:38] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [18:38:38] [Client thread/INFO]: Created: 16x16 textures/items-atlas [18:38:38] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [18:38:38] [Client thread/INFO] [FML]: Injecting itemstacks [18:38:38] [Client thread/INFO] [FML]: Itemstack injection complete [18:38:38] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [18:38:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [18:38:39] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [18:38:39] [Client thread/INFO]: Created: 512x256 textures/items-atlas [18:38:39] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:38:39] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [18:38:39] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [18:38:39] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:38:39] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:38:39] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [18:38:40] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [18:38:40] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [18:38:40] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [18:38:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [18:38:40] [Sound Library Loader/INFO]: Sound engine started [18:38:58] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [18:38:58] [Server thread/INFO]: Generating keypair [18:38:59] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [18:38:59] [Server thread/INFO] [FML]: Applying holder lookups [18:38:59] [Server thread/INFO] [FML]: Holder lookups applied [18:39:00] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@52592a3c) [18:39:00] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@52592a3c) [18:39:00] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@52592a3c) [18:39:00] [Server thread/INFO]: Preparing start region for level 0 [18:39:01] [Server thread/INFO]: Preparing spawn area: 27% [18:39:02] [Server thread/INFO]: Changing view distance to 12, from 10 [18:39:02] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@328b7a1d: java.lang.NullPointerException at Channel.ExtendVieLv.get(ExtendVieLv.java:40) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:21) ~[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:?] [18:39:02] [Server thread/ERROR] [FML]: Index: 1 Listeners: [18:39:02] [Server thread/ERROR] [FML]: 0: NORMAL [18:39:02] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@74943348 onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [18:39:02] [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.get(ExtendVieLv.java:40) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:21) ~[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 [18:39:02] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-28_18.39.02-server.txt [18:39:02] [Server thread/INFO]: Stopping server [18:39:02] [Server thread/INFO]: Saving players [18:39:02] [Server thread/INFO]: Saving worlds [18:39:02] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [18:39:02] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Would you like a cupcake? Time: 28/06/16 18:39 Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at Channel.ExtendVieLv.get(ExtendVieLv.java:40) at Channel.EventHardler.onEntityConstructing(EventHardler.java:21) 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 Channel.ExtendVieLv.get(ExtendVieLv.java:40) at Channel.EventHardler.onEntityConstructing(EventHardler.java:21) 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@5058987f 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: 895691616 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' [18:39:02] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-28_18.39.02-server.txt [18:39:02] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [18:39:02] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [18:39:02] [Server thread/INFO]: Saving chunks for level 'New World'/The End [18:39:02] [Server thread/INFO] [FML]: Unloading dimension 0 [18:39:02] [Server thread/INFO] [FML]: Unloading dimension -1 [18:39:02] [Server thread/INFO] [FML]: Unloading dimension 1 [18:39:02] [Server thread/INFO] [FML]: Applying holder lookups [18:39:02] [Server thread/INFO] [FML]: Holder lookups applied [18:39:03] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [18:39:03] [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>
-
…
Bon alors déjà supprime cette variable totalement inutile, puis ceci :@SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(player); props.Lv();} ```devient ça : ```java @SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(((EntityPlayer) event.entity); props.Lv();} ```, je me demande pourquoi tu avais créé cette variable...
-
Ligne 40 de ExtendVieLv.java, stp
-
@‘AymericRed’:
…
Bon alors déjà supprime cette variable totalement inutile, puis ceci :@SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(player); props.Lv();} ```devient ça : ```java @SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(((EntityPlayer) event.entity); props.Lv();} ```, je me demande pourquoi tu avais créé cette variable...
J’ais changé comme ma classe en :
public class EventHardler { public EntityPlayer player; @SubscribeEvent public void onEntityConstructing(EntityConstructing event) { if (event.entity instanceof EntityPlayer&& ExtendVieLv.get((EntityPlayer) event.entity) == null) ExtendVieLv.register((EntityPlayer) event.entity); ExtendVieLv props = ExtendVieLv.get(((EntityPlayer) event.entity)); props.Lv();} @SubscribeEvent public void onLivingDeathEvent(LivingDeathEvent event) { if (!event.entity.worldObj.isRemote&& event.entity instanceof EntityPlayer) { NBTTagCompound playerData = new NBTTagCompound(); ExtendVieLv props = ExtendVieLv.get(((EntityPlayer) event.entity)); props.Lv(); ((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).saveNBTData(playerData); CommonProxy.storeEntityData(((EntityPlayer) event.entity).getDisplayName(), playerData); ExtendVieLv.saveProxyData((EntityPlayer) event.entity);} else {} } @SubscribeEvent public void onEntityJoinWorld(EntityJoinWorldEvent event) { if (!event.entity.worldObj.isRemote&& event.entity instanceof EntityPlayer) { NBTTagCompound playerData = CommonProxy.getEntityData(((EntityPlayer) event.entity).getDisplayName()); if (playerData != null) { ExtendVieLv props = ExtendVieLv.get(((EntityPlayer) event.entity)); props.Lv(); ((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).loadNBTData(playerData);} ((ExtendVieLv) (event.entity.getExtendedProperties(ExtendVieLv.EXT_Vie))).sync();}}}
et le crash est toujours présent. J’ais essayé en gardant “ExtendVieLv props = ExtendVieLv.get(player);”
dans les events de morts et de connection au monde mais cela crash quand même.
Le rapport de crash :[20:00:02] [main/INFO] [GradleStart]: Extra: [] [20:00:02] [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] [20:00:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [20:00:02] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [20:00:02] [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 [20:00:02] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:00:02] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [20:00:02] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [20:00:02] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [20:00:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:00:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [20:00:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [20:00:09] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [20:00:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [20:00:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [20:00:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:00:11] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [20:00:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [20:00:11] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [20:00:16] [main/INFO]: Setting user: Player361 [20:00:21] [Client thread/INFO]: LWJGL Version: 2.9.1 [20:00:29] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // Who set us up the TNT? Time: 28/06/16 20:00 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: 802380384 bytes (765 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' [20:00:36] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [20:00:36] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [20:00:36] [Client thread/INFO] [FML]: Replaced 183 ore recipies [20:00:37] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [20:00:38] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [20:00:38] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [20:00:57] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [20:00:57] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [20:00:57] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [20:00:58] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [20:00:59] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [20:00:59] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [20:00:59] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [20:00:59] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [20:00:59] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [20:00:59] [Client thread/INFO] [FML]: Applying holder lookups [20:00:59] [Client thread/INFO] [FML]: Holder lookups applied [20:00:59] [Client thread/INFO] [FML]: Injecting itemstacks [20:00:59] [Client thread/INFO] [FML]: Itemstack injection complete [20:00:59] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:00:59] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [20:00:59] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [20:00:59] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [20:01:00] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [20:01:00] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:01:00] [Sound Library Loader/INFO]: Sound engine started [20:01:04] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [20:01:04] [Client thread/INFO]: Created: 16x16 textures/items-atlas [20:01:04] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [20:01:04] [Client thread/INFO] [FML]: Injecting itemstacks [20:01:04] [Client thread/INFO] [FML]: Itemstack injection complete [20:01:05] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [20:01:05] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [20:01:05] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [20:01:06] [Client thread/INFO]: Created: 512x256 textures/items-atlas [20:01:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:01:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [20:01:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [20:01:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:01:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:01:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [20:01:06] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [20:01:06] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [20:01:06] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [20:01:07] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:01:07] [Sound Library Loader/INFO]: Sound engine started [20:01:16] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [20:01:16] [Server thread/INFO]: Generating keypair [20:01:16] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [20:01:16] [Server thread/INFO] [FML]: Applying holder lookups [20:01:16] [Server thread/INFO] [FML]: Holder lookups applied [20:01:16] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@230ef4f) [20:01:16] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@230ef4f) [20:01:16] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@230ef4f) [20:01:16] [Server thread/INFO]: Preparing start region for level 0 [20:01:17] [Server thread/INFO]: Preparing spawn area: 30% [20:01:18] [Server thread/INFO]: Changing view distance to 12, from 10 [20:01:19] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@45db1acb: java.lang.NullPointerException at Channel.ExtendVieLv.Lv(ExtendVieLv.java:158) ~[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:?] [20:01:19] [Server thread/ERROR] [FML]: Index: 1 Listeners: [20:01:19] [Server thread/ERROR] [FML]: 0: NORMAL [20:01:19] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@74943348 onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [20:01:19] [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:158) ~[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 [20:01:19] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-28_20.01.19-server.txt [20:01:19] [Server thread/INFO]: Stopping server [20:01:19] [Server thread/INFO]: Saving players [20:01:19] [Server thread/INFO]: Saving worlds [20:01:19] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [20:01:19] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Why did you do that? Time: 28/06/16 20:01 Description: Ticking memory connection java.lang.NullPointerException: Ticking memory connection at Channel.ExtendVieLv.Lv(ExtendVieLv.java:158) 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 Channel.ExtendVieLv.Lv(ExtendVieLv.java:158) 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@6e6ca1c3 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: 903384048 bytes (861 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' [20:01:19] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-28_20.01.19-server.txt [20:01:19] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [20:01:19] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [20:01:19] [Server thread/INFO]: Saving chunks for level 'New World'/The End [20:01:19] [Server thread/INFO] [FML]: Unloading dimension 0 [20:01:19] [Server thread/INFO] [FML]: Unloading dimension -1 [20:01:19] [Server thread/INFO] [FML]: Unloading dimension 1 [20:01:19] [Server thread/INFO] [FML]: Applying holder lookups [20:01:19] [Server thread/INFO] [FML]: Holder lookups applied [20:01:19] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [20:01:19] [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>
-
Déjà le crash est différent.
Le NPE est dans ta fonction Lv, ça doit être player qui est null, fais un print de cette variable au début du résultat et dis-nous le résultat.
PS : Essaye de respecter la convention java, c’est plus propre. -
@‘AymericRed’:
Déjà le crash est différent.
Le NPE est dans ta fonction Lv, ça doit être player qui est null, fais un print de cette variable au début du résultat et dis-nous le résultat.
PS : Essaye de respecter la convention java, c’est plus propre.J’ais voulue juste donner le résultat mais je n’est pas réussie malheureusement. ( Ps : J’apprendrais la convention java alors)
[20:41:06] [main/INFO] [GradleStart]: Extra: [] [20:41:06] [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] [20:41:06] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [20:41:06] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading [20:41:06] [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 [20:41:06] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:41:06] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [20:41:06] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [20:41:06] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [20:41:06] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [20:41:06] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [20:41:06] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [20:41:09] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [20:41:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [20:41:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [20:41:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:41:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker [20:41:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker [20:41:09] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [20:41:11] [main/INFO]: Setting user: Player279 [20:41:15] [Client thread/INFO]: LWJGL Version: 2.9.1 [20:41:19] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ---- // Why is it breaking :( Time: 28/06/16 20:41 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: 791473960 bytes (754 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' [20:41:19] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [20:41:19] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized [20:41:19] [Client thread/INFO] [FML]: Replaced 183 ore recipies [20:41:20] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [20:41:20] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [20:41:20] [Client thread/INFO] [FML]: Searching C:\Users\yves\Desktop\mod exta\forge\eclipse\mods for mods [20:41:33] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [20:41:34] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at CLIENT [20:41:34] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, extaziliamod] at SERVER [20:41:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [20:41:35] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [20:41:35] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations [20:41:35] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [20:41:35] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [20:41:36] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [20:41:36] [Client thread/INFO] [FML]: Applying holder lookups [20:41:36] [Client thread/INFO] [FML]: Holder lookups applied [20:41:36] [Client thread/INFO] [FML]: Injecting itemstacks [20:41:36] [Client thread/INFO] [FML]: Itemstack injection complete [20:41:36] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:41:36] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [20:41:36] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [20:41:36] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [20:41:36] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [20:41:36] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:41:36] [Sound Library Loader/INFO]: Sound engine started [20:41:39] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas [20:41:39] [Client thread/INFO]: Created: 16x16 textures/items-atlas [20:41:39] [Client thread/INFO] [STDOUT]: [fr.extazilia.extaziliamod.proxy.ClientProxy:registerRender:32]: &4test client [20:41:39] [Client thread/INFO] [FML]: Injecting itemstacks [20:41:39] [Client thread/INFO] [FML]: Itemstack injection complete [20:41:39] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [20:41:39] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Extazilia Mod [20:41:40] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [20:41:40] [Client thread/INFO]: Created: 512x256 textures/items-atlas [20:41:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:41:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down… [20:41:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com [20:41:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:41:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:41:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem… [20:41:40] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL [20:41:40] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [20:41:40] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized. [20:41:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: [20:41:40] [Sound Library Loader/INFO]: Sound engine started [20:42:08] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [20:42:08] [Server thread/INFO]: Generating keypair [20:42:08] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [20:42:08] [Server thread/INFO] [FML]: Applying holder lookups [20:42:08] [Server thread/INFO] [FML]: Holder lookups applied [20:42:08] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@73a33323) [20:42:08] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@73a33323) [20:42:08] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@73a33323) [20:42:08] [Server thread/INFO]: Preparing start region for level 0 [20:42:09] [Server thread/INFO]: Changing view distance to 12, from 10 [20:42:10] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@4799bc65: 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.get(ExtendVieLv.java:40) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:15) ~[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:?] [20:42:10] [Server thread/ERROR] [FML]: Index: 1 Listeners: [20:42:10] [Server thread/ERROR] [FML]: 0: NORMAL [20:42:10] [Server thread/ERROR] [FML]: 1: ASM: Channel.EventHardler@74943348 onEntityConstructing(Lnet/minecraftforge/event/entity/EntityEvent$EntityConstructing;)V [20:42:10] [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.get(ExtendVieLv.java:40) ~[ExtendVieLv.class:?] at Channel.EventHardler.onEntityConstructing(EventHardler.java:15) ~[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 [20:42:10] [Server thread/ERROR]: This crash report has been saved to: C:\Users\yves\Desktop\mod exta\forge\eclipse\.\crash-reports\crash-2016-06-28_20.42.10-server.txt [20:42:10] [Server thread/INFO]: Stopping server [20:42:10] [Server thread/INFO]: Saving players [20:42:10] [Server thread/INFO]: Saving worlds [20:42:10] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [20:42:10] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ---- // Quite honestly, I wouldn't worry myself about that. Time: 28/06/16 20:42 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.get(ExtendVieLv.java:40) at Channel.EventHardler.onEntityConstructing(EventHardler.java:15) 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 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.get(ExtendVieLv.java:40) at Channel.EventHardler.onEntityConstructing(EventHardler.java:15) 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@6a3a2082 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: 904427392 bytes (862 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' [20:42:10] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-28_20.42.10-server.txt [20:42:10] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [20:42:10] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [20:42:10] [Server thread/INFO]: Saving chunks for level 'New World'/The End [20:42:10] [Server thread/INFO] [FML]: Unloading dimension 0 [20:42:10] [Server thread/INFO] [FML]: Unloading dimension -1 [20:42:10] [Server thread/INFO] [FML]: Unloading dimension 1 [20:42:10] [Server thread/INFO] [FML]: Applying holder lookups [20:42:10] [Server thread/INFO] [FML]: Holder lookups applied [20:42:10] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [20:42:10] [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>
-
@‘AymericRed’:
Déjà le crash est différent.
Le NPE est dans ta fonction Lv, ça doit être player qui est null, fais un print de cette variable au début du résultat et dis-nous le résultat.
PS : Essaye de respecter la convention java, c’est plus propre.J’ais la réponse c’est [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@73034037:
java.lang.NullPointerException
-
Nope ça c’est la ligne qui indique l’erreur, la ligne qui nous intéresse est juste au dessus (celle avec le nom de la classe et la ligne où tu as mis le System.out.println).
Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk
-
@‘AymericRed’:
Nope ça c’est la ligne qui indique l’erreur, la ligne qui nous intéresse est juste au dessus (celle avec le nom de la classe et la ligne où tu as mis le System.out.println).
Envoyé de mon RAINBOW LITE 4G en utilisant Tapatalk
Une partie du rapport de crash :
[01:28:11] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10 [01:28:11] [Server thread/INFO]: Generating keypair [01:28:12] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance [01:28:12] [Server thread/INFO] [FML]: Applying holder lookups [01:28:12] [Server thread/INFO] [FML]: Holder lookups applied [01:28:12] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@75819b05) [01:28:12] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@75819b05) [01:28:12] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@75819b05) [01:28:12] [Server thread/INFO]: Preparing start region for level 0 [01:28:13] [Server thread/INFO]: Preparing spawn area: 88% [01:28:13] [Server thread/INFO]: Changing view distance to 12, from 10 [01:28:14] [Server thread/INFO] [STDOUT]: [Channel.ExtendVieLv:Lv:156]: DDDD [01:28:14] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.EntityEvent$EntityConstructing@552a9e91: java.lang.NullPointerException
J’ais fais System.out.println(“DDDD”) avant le System.out.println(player); pour savoir exactement où trouver la ligne.
La fonction avec les System.out.println():
public void Lv(){ System.out.println("DDDD"); System.out.println(player); 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);
-
Un rapport de crash sans le stacktrace c’est inutile.