Problème Armes Flans.



  • Bonjour, je suis actuellement dans une situation très embarrassante. Le mod Flans contient des Bullet (Munitions d'armes (Balle)) qui font crash mon serveur.

    Ce crash est très connu mais n'a jamais été régler je crois. J'ai essayer de démarrer le serveur sans Flans mais au redémarrage avec, les bullets sont toujours là. 
    Le crash se produit sourtout quand on s'approche de l'eau

    :::
    –-- Minecraft Crash Report ----
    // Surprise! Haha. Well, this is awkward.

    Time: 04/01/18 16:59
    Description: Ticking entity

    java.lang.NullPointerException: Ticking entity
    at com.flansmod.common.guns.EntityBullet.func_70071_h_(EntityBullet.java:225)
    at net.minecraft.world.World.func_72866_a(World.java:2740)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:877)
    at net.minecraft.world.World.func_72870_g(World.java:2678)
    at net.minecraft.world.World.func_72939_s(World.java:2480)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:673)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:986)
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693)
    at java.lang.Thread.run(Unknown Source)

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

    -- Head --
    Stacktrace:
    at com.flansmod.common.guns.EntityBullet.func_70071_h_(EntityBullet.java:225)
    at net.minecraft.world.World.func_72866_a(World.java:2740)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:877)
    at net.minecraft.world.World.func_72870_g(World.java:2678)

    -- Entity being ticked --
    Details:
    Entity Type: flansmod.Bullet (com.flansmod.common.guns.EntityBullet)
    Entity ID: 11023
    Entity Name: entity.flansmod.Bullet.name
    Entity's Exact location: 1007,46, 1190,50, 155,70
    Entity's Block location: World: (1007,1190,155), Chunk: (at 15,74,11 in 62,9; contains blocks 992,0,144 to 1007,255,159), Region: (1,0; contains chunks 32,0 to 63,31, blocks 512,0,0 to 1023,255,511)
    Entity's Momentum: -3,11, -0,13, -7,26
    Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:2480)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:673)

    -- Affected level --
    Details:
    Level name: AltisLife
    All players: 1 total; [EntityPlayerMP['WarZEdd'/6850, l='AltisLife', x=1101,87, y=70,23, z=106,99](WarZEdd at 1101.8715580910657,70.22545567488793,106.9923191952964)]
    Chunk stats: ServerChunkCache: 560 Drop: 0
    Level seed: 27594263
    Level generator: ID 02 - largeBiomes, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (361,64,1246), Chunk: (at 9,4,14 in 22,77; contains blocks 352,0,1232 to 367,255,1247), Region: (0,2; contains chunks 0,64 to 31,95, blocks 0,0,1024 to 511,255,1535)
    Level time: 407471378 game time, 185387000 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 143705 (now: false), thunder time: 14411 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
    Stacktrace:
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:986)
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693)
    at java.lang.Thread.run(Unknown Source)

    – System Details --
    Details:
    Minecraft Version: 1.7.10
    Thermos Version: cyberdynecc:Thermos:1.7.10-1614.58
    Plugins: SimpleAutoMessage, WorldEdit, Skript, Essentials, GroupManager, RegenBlock, Lift, ClearLag, ExertSK, SkQuery, WorldBorder, TuSKe, Handcuffs, ProtocolLib, SkStuff, WorldGuard, SkinsRestorer, skRayFall, VoxelSniper, WildSkript, EssentialsChat, AltisMine, skUtilities, MineResetLite, Vault, EssentialsSpawn, AreaShop, MineWeb_BukkitBridge, ChestCommands
    Disabled Plugins: 
    Operating System: Windows Server 2012 R2 (amd64) version 6.3
    Java Version: 1.8.0_151, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 2209039472 bytes (2106 MB) / 3115843584 bytes (2971 MB) up to 5726797824 bytes (5461 MB)
    JVM Flags: 1 total; -Xmx6G
    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 21 mods loaded, 21 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] (thermos.jar) 
    UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (thermos.jar) 
    UCHIJAAAA kimagine{0.2} [KImagine] (minecraft.jar) 
    UCHIJAAAA amm{1.0} [AltisMineMod] (AltisWorldMod V1 (1.7.10).jar) 
    UCHIJAAAA BiblioCraft{1.9.0} [BiblioCraft] (BiblioCraft[v1.9.0][MC1.7.10].jar) 
    UCHIJAAAA CarpentersBlocks{3.2.5} [Carpenter's Blocks] (Carpenters-Blocks-Mod-1.7.10.zip) 
    UCHIJAAAA chisel{1.5.7} [Chisel] (Chisel.jar) 
    UCHIJAAAA customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_mod-1.7.10.jar) 
    UCHIJAAAA PTRModelLib{1.0.0} [PTRModelLib] (Decocraft-2.1.1_1.7.10.jar) 
    UCHIJAAAA props{2.1.1} [Decocraft] (Decocraft-2.1.1_1.7.10.jar) 
    UCHIJAAAA Dynmap{2.2-143} [Dynmap] (Dynmap-2.2-forge-1.7.10.jar) 
    UCHIJAAAA flansmod{@VERSION@} [Flan's Mod] (Flan.jar) 
    UCHIJAAAA flenixcities{0.17.0} [FlenixCities] (FlenixCitiesCore_[1.7.10]-0.17.0-b137.jar) 
    UCHIJAAAA mcheli{0.10.7} [MC Helicopter] (mcheli) 
    UCHIJAAAA Monoblocks{1.9.11} [§1M§2o§3n§4o§5b§6l§7o§8c§9k§as] (Monoblocks (Edited).jar) 
    UCHIJAAAA MonoblocksMultipart{1.9.11} [MonoblocksMultipart] (Monoblocks (Edited).jar) 
    UCHIJAAAA cfm{3.3.5} [§6MrCrayfish's Furniture Mod] (MrCrayfishs-Furniture-Mod-1.7.10.jar) 
    UCHIJAAAA mw{1.10.3} [Modern Warfare] (mw-1.10.3_mc1.7.10.jar) 
    UCHIJAAAA modpowerdeco{1.1.3} [Mod Power Deco] (powerdeco-1.1.3.5.jar) 
    UCHIJAAAA thirstmod{1.8.8} [Thirst Mod] (Thirst-Mod-1.7.10.jar) 
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Player Count: 1 / 50; [EntityPlayerMP['WarZEdd'/6850, l='AltisLife', x=1101,87, y=70,23, z=106,99](WarZEdd at 1101.8715580910657,70.22545567488793,106.9923191952964)]
    Is Modded: Definitely; Server brand changed to 'thermos,cauldron,craftbukkit,mcpc,kcauldron,fml,forge'
    Type: Dedicated Server (map_server.txt)
    :::

    Merci à ceux qui pourront m'aider a résoudre ce bug.



  • Salut, oui ce crash est très connu et si il a déjà été fixé de nombreuses fois ^^
    C'est du à des entités de muntions appartenant à un pack enlevé depuis. Donc soit tu recodes Flan, soit tu prends le mod FlansModPlus qui fixe ce bug et d'autres du même genre.



  • Bonsoir merci, que dois-je recoder pour le corriger ?



  • Les sources de Flans (dispo sur github) et plus précisément la classe pointée par le crash report : "com.flansmod.common.guns.EntityBullet.func_70071_h_(EntityBullet.java:225)" (ligne 225 donc, tu dois tomber sur la fonction update() de mémoire).
    Tu pourras aussi en profiter pour faire la même choses avec les grenades (pas la même ligne bien sur, dans EntityGrenade.


Log in to reply