Probleme Crash



  • Bonjour je suis actuellement en train de codée un mod pour mon serveur mais a chaque fois que je lance ce jeu il me met ce crash report que je n'arrive pas a resoudre:

    –-- Minecraft Crash Report ----
    // I blame Dinnerbone.
    
    Time: 28/05/18 17:10
    Description: Registering texture
    
    java.lang.NullPointerException: Registering texture
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
    at com.google.common.collect.StandardTable.put(StandardTable.java:139)
    at com.google.common.collect.HashBasedTable.put(HashBasedTable.java:55)
    at cpw.mods.fml.client.FMLClientHandler.trackBrokenTexture(FMLClientHandler.java:924)
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:184)
    at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:98)
    at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89)
    at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:172)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:143)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:121)
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:662)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:327)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
    at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
    at com.google.common.collect.StandardTable.put(StandardTable.java:139)
    at com.google.common.collect.HashBasedTable.put(HashBasedTable.java:55)
    at cpw.mods.fml.client.FMLClientHandler.trackBrokenTexture(FMLClientHandler.java:924)
    at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:184)
    at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:98)
    
    -- Resource location being registered --
    Details:
    Resource location: minecraft:textures/atlas/items.png
    Texture object class: net.minecraft.client.renderer.texture.TextureMap
    Stacktrace:
    at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89)
    at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:172)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:143)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:121)
    at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:662)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:327)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
    
    -- Initialization --
    Details:
    Stacktrace:
    at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_171, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 927256696 bytes (884 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 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: 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
    UCHIJA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
    UCHIJA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar) 
    UCHIJA uramod{1.0.0} [UraMod] (bin) 
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '3.3.11672 Compatibility Profile Context' Renderer: 'ATI Radeon HD 4770'
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: ATI Radeon HD 4770 GL version 3.3.11672 Compatibility Profile Context, ATI Technologies Inc.
    GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.
    
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    

  • Moddeurs confirmés Rédacteurs Administrateurs

    Salut,
    Pourrais-tu envoyer les logs complet ?
    Visiblement le crash a un rapport avec une texture manquante / invalide.



  • Je pense que c't celle-ci

    [16:56:15] [main/INFO]: Setting user: Player635
    [16:56:17] [Client thread/INFO]: LWJGL Version: 2.9.1
    [16:56:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:UraMod
    [16:56:36] [Sound Library Loader/INFO]: Sound engine started
    [16:56:41] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
    [16:56:41] [Client thread/INFO]: Created: 16x16 textures/items-atlas
    [16:56:42] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:UraMod
    [16:56:43] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
    [16:56:43] [Client thread/INFO]: Caught error stitching, removing all assigned resourcepacks
    net.minecraft.util.ReportedException: Registering texture
    	at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:111) ~[TextureManager.class:?]
    	at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:172) ~[TextureManager.class:?]
    	at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:143) ~[SimpleReloadableResourceManager.class:?]
    	at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:121) ~[SimpleReloadableResourceManager.class:?]
    	at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:654) [Minecraft.class:?]
    	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:327) [FMLClientHandler.class:?]
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:597) [Minecraft.class:?]
    	at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
    	at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171]
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    	at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    	at GradleStart.main(Unknown Source) [start/:?]
    Caused by: java.lang.NullPointerException
    	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) ~[guava-17.0.jar:?]
    	at com.google.common.collect.StandardTable.put(StandardTable.java:139) ~[guava-17.0.jar:?]
    	at com.google.common.collect.HashBasedTable.put(HashBasedTable.java:55) ~[guava-17.0.jar:?]
    	at cpw.mods.fml.client.FMLClientHandler.trackBrokenTexture(FMLClientHandler.java:924) ~[FMLClientHandler.class:?]
    	at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:184) ~[TextureMap.class:?]
    	at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:98) ~[TextureMap.class:?]
    	at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) ~[TextureManager.class:?]
    	... 16 more
    [16:56:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:UraMod
    [16:56:43] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
    
    
    

  • Moddeurs confirmés Rédacteurs Administrateurs

    Envoies plutôt le contenu de fml-client-latest.log et non celui de latest.log (ce dernier ne contient pas les logs de forge).



  • J'essaye de l'envoyer mais je ne peux pas car il y a trop de caractère dans le fichier log




  • Moddeurs confirmés Rédacteurs Administrateurs

    Je ne vois rien dans les logs qui pourrait aider à trouver quelle texture cause problème malheureusement 😕
    Du-coup je ne vois pas d'autres solutions que retirer toutes les textures de ton mod, puis les remettre une par une et tester à chaque fois.



  • Moi au début ce que j'ai fait c'est que j'ai enlever le register de certain item et ça marchais mais en faite je me suis rendu compte que ça ne dépendait pas des item que je choisissait j'avais juste a enlever 3 item au hasard et ça se lançait



  • c'est bon j'ai résolu le problème c'était juste destextures qui était endommage


Log in to reply