FlansMods / FlansMod

Flan's Mod for Minecraft
Other
236 stars 149 forks source link

Nullpointer upon entering a vehicle. #320

Closed pixe1reality closed 10 years ago

pixe1reality commented 10 years ago

Basically, when I go for a ride in any vehicle, mech and plane, it crashes my game: Basic error log:

---- Minecraft Crash Report ----
// Sorry :(

Time: 08/12/13 11:44
Description: Updating screen events

java.lang.IndexOutOfBoundsException: -99
    at java.nio.DirectByteBuffer.get(Unknown Source)
    at org.lwjgl.input.Keyboard.isKeyDown(Keyboard.java:407)
    at co.uk.flansmods.client.GuiDriveableController.func_73862_m(GuiDriveableController.java:170)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1566)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
    at net.minecraft.client.main.Main.main(SourceFile:101)
    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:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

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

-- Head --
Stacktrace:
    at java.nio.DirectByteBuffer.get(Unknown Source)
    at org.lwjgl.input.Keyboard.isKeyDown(Keyboard.java:407)
    at co.uk.flansmods.client.GuiDriveableController.func_73862_m(GuiDriveableController.java:170)

-- Affected screen --
Details:
    Screen name: co.uk.flansmods.client.GuiDriveableController

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['T10a'/172, l='MpServer', x=77.36, y=5.62, z=-222.45]]
    Chunk stats: MultiplayerChunkCache: 441
    Level seed: 0
    Level generator: ID 01 - flat, ver 0. Features enabled: false
    Level generator options: 
    Level spawn location: World: (71,4,-170), Chunk: (at 7,0,6 in 4,-11; contains blocks 64,0,-176 to 79,255,-161), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Level time: 21995 game time, 21995 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Forced entities: 20 total; [EntityHat['unknown'/279, l='MpServer', x=77.36, y=5.39, z=-222.45], EntityClientPlayerMP['T10a'/172, l='MpServer', x=77.36, y=5.62, z=-222.45], EntityBat['Bat'/129, l='MpServer', x=90.56, y=8.39, z=-271.31], EntityBat['Bat'/128, l='MpServer', x=80.74, y=6.44, z=-226.64], EntityPlane['Lancaster Bomber'/131, l='MpServer', x=86.89, y=5.45, z=-227.68], EntityBat['Bat'/130, l='MpServer', x=84.16, y=10.05, z=-218.76], EntityBat['Bat'/109, l='MpServer', x=17.13, y=17.19, z=-196.61], EntityBat['Bat'/106, l='MpServer', x=17.51, y=21.37, z=-289.60], EntityBat['Bat'/107, l='MpServer', x=0.02, y=8.82, z=-269.24], EntityBat['Bat'/119, l='MpServer', x=35.34, y=53.10, z=-293.25], EntitySeat['entity.Seat.name'/152, l='MpServer', x=82.21, y=6.75, z=-224.77], EntitySeat['entity.Seat.name'/153, l='MpServer', x=83.27, y=6.60, z=-225.43], EntitySeat['entity.Seat.name'/154, l='MpServer', x=89.66, y=7.32, z=-229.39], EntityBat['Bat'/86, l='MpServer', x=0.53, y=4.25, z=-206.06], EntitySeat['entity.Seat.name'/155, l='MpServer', x=93.77, y=5.73, z=-231.94], EntityBat['Bat'/127, l='MpServer', x=36.66, y=4.53, z=-199.50], EntityBat['Bat'/121, l='MpServer', x=40.75, y=53.10, z=-293.25], EntitySeat['entity.Seat.name'/150, l='MpServer', x=80.96, y=7.56, z=-223.99], EntityBat['Bat'/120, l='MpServer', x=39.53, y=53.10, z=-293.53], EntitySeat['entity.Seat.name'/151, l='MpServer', x=79.10, y=6.69, z=-222.84]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:440)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2312)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:856)
    at net.minecraft.client.main.Main.main(SourceFile:101)
    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:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

-- System Details --
Details:
    Minecraft Version: 1.6.4
    Operating System: Windows 7 (x86) version 6.1
    Java Version: 1.7.0_45, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 77264992 bytes (73 MB) / 518979584 bytes (494 MB) up to 518979584 bytes (494 MB)
    JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M
    AABB Pool Size: 18501 (1036056 bytes; 0 MB) allocated, 4 (224 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v8.11 FML v6.4.45.953 Minecraft Forge 9.11.1.953 59 mods loaded, 59 mods active
    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{6.4.45.953} [Forge Mod Loader] (minecraftforge-9.11.1.953.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{9.11.1.953} [Minecraft Forge] (minecraftforge-9.11.1.953.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    AppliedEnergistics-Core{rv13.c} [AppliedEnergistics Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CodeChickenCore{0.9.0.6} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NotEnoughItems{1.6.1.5} [Not Enough Items] (NotEnoughItems 1.6.1.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    DamageIndicatorsMod{2.9.1.6} [Damage Indicators] (1.6.4 DamageIndicatorsv2.9.1.6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    bspkrsCore{v5.0(1.6.4)} [bspkrsCore] ([1.6.4]bspkrsCorev5.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    mod_bspkrsCore{v5.0(1.6.4)} [bspkrsCore] ([1.6.4]bspkrsCorev5.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    AppliedEnergistics{rv13.c} [Applied Energistics] (appeng-rv13-c-mc162.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ArchimedesShipsMod{1.6.4 v1.4.5} [Archimedes' Ships] (ArchimedesShips.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    BuildCraft|Core{4.1.2} [BuildCraft] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    BuildCraft|Builders{4.1.2} [BC Builders] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    BuildCraft|Energy{4.1.2} [BC Energy] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    BuildCraft|Factory{4.1.2} [BC Factory] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    BuildCraft|Transport{4.1.2} [BC Transport] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    BuildCraft|Silicon{4.1.2} [BC Silicon] (buildcraft-A-1.6.2-4.1.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ChickenChunks{1.3.3.3} [ChickenChunks] (ChickenChunks 1.3.3.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CoFHCore{2.0.0.b8a} [CoFH Core] (CoFHCore-2.0.0.b8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CoFHLoot{2.0.0.b8a} [CoFH Loot] (CoFHCore-2.0.0.b8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CoFHMasquerade{2.0.0.b8a} [CoFH Masquerade] (CoFHCore-2.0.0.b8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CoFHSocial{2.0.0.b8a} [CoFH Social] (CoFHCore-2.0.0.b8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CoFHWorld{2.0.0.b8a} [CoFH World] (CoFHCore-2.0.0.b8a.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ComputerCraft{1.57} [ComputerCraft] (ComputerCraft1.57.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    CCTurtle{1.57} [ComputerCraft Turtles] (ComputerCraft1.57.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    DungeonPack{1.6.4} [DungeonPack] (DungeonPack 1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    EnderStorage{1.4.3.5} [EnderStorage] (EnderStorage 1.4.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ExtendedRenderer{v1.0} [Extended Renderer] (ExtendedRenderer for MC v1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Hats{2.0.2} [Hats] (files^Hats2.0.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    HatStand{2.0.0} [HatStand] (files^HatStand2.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FlansMod{4.0.1} [Flans Mod] (FlansMod-4.0.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FlenixRoads{0.5.1} [FlenixRoads] (FlenixRoads_0.5.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ThermalExpansion{3.0.0.b8} [Thermal Expansion] (ThermalExpansion-3.0.0.b8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    IC2{2.0.306-experimental} [IndustrialCraft 2] (industrialcraft-2_2.0.306-experimental.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forestry{2.3.0.7} [Forestry for Minecraft] (forestry-A-2.3.0.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    guilib{1.0.6.1} [GUI Library] (Forge_GuiLibv1.0.6.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    PaintingSelGui{1.6.4.0} [PaintingSelectionGui] (Forge_PaintingSelectionGuiv1.6.4.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    GraveStoneMod{1.6.2 v5.2} [GraveStone] (GraveStones Mod 1.6.4 v1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    iChunUtil{2.3.0} [iChunUtil] (iChunUtil2.3.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    GraviGun{2.0.0} [GraviGun] (GravityGun2.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Railcraft{8.2.0.0} [Railcraft] (Railcraft_1.6.2-8.2.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    gregtech_addon{MC162} [GregTech-Addon] (gregtechmod.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    IC2NuclearControl{1.6.2c} [Nuclear Control] (IC2NuclearControl-1.6.2c-ic2-experimental.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    inventorytweaks{1.56} [Inventory Tweaks] (InventoryTweaks-MC1.6.2-1.56-b77.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    LightBridgesAndDoors{0.1.7} [kris91268's Light Bridges and Doors] (Light bridges and doors V1.7.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NEIAddons{1.9.3.r47} [NEI Addons] (neiaddons-1.6.2-1.9.3.r47.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NEIAddons|AE{1.9.3.r47} [NEI Addons: Applied Energistics] (neiaddons-1.6.2-1.9.3.r47.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NEIAddons|CraftingTables{1.9.3.r47} [NEI Addons: Crafting Tables] (neiaddons-1.6.2-1.9.3.r47.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NEIAddons|ExtraBees{1.9.3.r47} [NEI Addons: Extra Bees] (neiaddons-1.6.2-1.9.3.r47.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NEIAddons|Forestry{1.9.3.r47} [NEI Addons: Forestry] (neiaddons-1.6.2-1.9.3.r47.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NEIAddons|MiscPeripherals{1.9.3.r47} [NEI Addons: Misc Peripherals] (neiaddons-1.6.2-1.9.3.r47.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    NEIPlugins{1.1.0.6} [NEI Plugins] (NEIPlugins-1.1.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    RopesPlus{1.5.0} [Ropes+] (RopePlus_1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ForgeMultipart{1.0.0.212} [Forge Multipart] (ForgeMultipart-universal-1.6.4-1.0.0.212.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    WR-CBE|Core{1.4.0.6} [WR-CBE Core] (WR-CBE 1.4.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    WR-CBE|Addons{1.4.0.6} [WR-CBE Addons] (WR-CBE 1.4.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    WR-CBE|Logic{1.4.0.6} [WR-CBE Logic] (WR-CBE 1.4.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    McMultipart{1.0.0.212} [Minecraft Multipart Plugin] (ForgeMultipart-universal-1.6.4-1.0.0.212.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ForgeMicroblock{1.0.0.212} [Forge Microblocks] (ForgeMultipart-universal-1.6.4-1.0.0.212.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Launched Version: 1.6.4-Forge9.11.1.953
    LWJGL: 2.9.0
    OpenGL: GeForce G 105M/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Pack: Default
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 209 (11704 bytes; 0 MB) allocated, 18 (1008 bytes; 0 MB) used
ChrisLane commented 10 years ago

Please let us know the version of Minecraft and Flan's mod you are using too.

pixe1reality commented 10 years ago

I was using Flan's Mod v.4.0.1, and Minecraft 1.6.4 Also, added FULL log. Hope it helps. (Is there a way to hide the log in a way similar to the spoiler thing in the Minecraft Forums in Github?)

ChrisLane commented 10 years ago

Did you change any of the Flan's Mod control keys?

pixe1reality commented 10 years ago

I bound the 'bomb' key to RMB, and the 'gun' key to LMB.

ChrisLane commented 10 years ago

To stop the crash you need to reset your keys. I believe that the crash is caused by RMB being the bomb key and also the key used for entering the plane. I'll create a bug report for this to get fixed.