mkalam-alami/inventory-tweaks — Issue #214: Crash on file access denied
Author: mkalam-alami
Created: 2012-02-13 15:04:14+00:00
State: open
Labels: Bug

Report by crazymalte:

Hi,
I probably found a bug, that I can reproduce on my Client.
First I cannot open the invtweaks.cfg form my client, it says me "access denied". If I manually open the File there is no problem, but If I change the hotkeys, I get the following Nullpointer Exception:

Minecraft: Minecraft 1.1
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_02, Oracle Corporation
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.8.3
OpenGL: AMD Radeon HD 6800 Series version 4.2.11318 Compatibility Profile Context, ATI Technologies Inc.

java.lang.NullPointerException
at InvTweaksHandlerShortcuts.handleShortcut(InvTweaksHandlerShortcuts.java:155)
at InvTweaks.handleShortcuts(InvTweaks.java:600)
at InvTweaks.onTickInGUI(InvTweaks.java:117)
at mod_InvTweaks.OnTickInGUI(mod_InvTweaks.java:66)
at ModLoader.OnTick(ModLoader.java:1141)
at EntityRendererProxy.b(EntityRendererProxy.java:16)
at net.minecraft.client.Minecraft.x(SourceFile:742)
at net.minecraft.client.Minecraft.run(SourceFile:662)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT a17957fe ----------

I use Windows 7 x64 Professionel.