Crash with item handler
grim3212 opened this issue ยท 0 comments
Minecraft Version: 1.12.2
GrimPack Version: 5.2.11.68
Forge Version: 14.23.1.2562
Crashed while opening up a backpack.
[00:59:51] [main/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_151] at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_151] at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1086) [bib.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) [bib.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151] 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] Caused by: java.lang.NullPointerException at com.grim3212.mc.pack.core.inventory.ItemHandlerBase.setStackInSlot(ItemHandlerBase.java:42) ~[ItemHandlerBase.class:?] at net.minecraftforge.items.SlotItemHandler.func_75215_d(SlotItemHandler.java:80) ~[SlotItemHandler.class:?] at net.minecraft.inventory.Container.func_190896_a(Container.java:527) ~[afr.class:?] at net.minecraft.client.network.NetHandlerPlayClient.func_147241_a(NetHandlerPlayClient.java:1191) ~[brz.class:?] at net.minecraft.network.play.server.SPacketWindowItems.func_148833_a(SourceFile:50) ~[is.class:?] at net.minecraft.network.play.server.SPacketWindowItems.func_148833_a(SourceFile:12) ~[is.class:?] at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_151] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_151] at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?] ... 17 more [00:59:57] [Netty Client IO #2/INFO] [Astral Sorcery]: [AstralSorcery] Cleaning client cache... [00:59:57] [Netty Client IO #2/INFO] [Astral Sorcery]: [AstralSorcery] Cleared cached client data! Disconnected from server. [00:59:57] [Netty Client IO #2/INFO] [waterstrainer]: Importing waterstrainer_loottables.cfg ... [00:59:57] [Netty Client IO #2/INFO] [waterstrainer]: No errors were found! [00:59:57] [main/INFO] [journeymap]: Mapping halted in F:\Minecraft\MultiMC\instances\allthemods 3 v.5.4\minecraft\journeymap\data\mp\Marshall\DIM0 [00:59:59] [Forestry Greenhouse Client/WARN] [forestry]: GREENHOUSE TAKING 1256 ms LONGER THAN NORMAL [01:00:13] [main/INFO] [FML]: Applying holder lookups [01:00:13] [main/INFO] [FML]: Holder lookups applied [01:00:24] [main/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Rendering screen at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1479) ~[buq.class:?] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117) ~[bib.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) [bib.class:?] at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151] 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] Caused by: java.lang.NullPointerException at com.grim3212.mc.pack.core.inventory.ItemHandlerBase.getStackInSlot(ItemHandlerBase.java:27) ~[ItemHandlerBase.class:?] at net.minecraftforge.items.SlotItemHandler.func_75211_c(SlotItemHandler.java:73) ~[SlotItemHandler.class:?] at com.grim3212.mc.pack.core.client.gui.GuiGrimContainer.drawSlot(GuiGrimContainer.java:228) ~[GuiGrimContainer.class:?] at com.grim3212.mc.pack.core.client.gui.GuiGrimContainer.func_73863_a(GuiGrimContainer.java:112) ~[GuiGrimContainer.class:?] at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:353) ~[ForgeHooksClient.class:?] at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151] at Reflector.callVoid(Reflector.java:614) ~[Reflector.class:?] at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1449) ~[buq.class:?] ... 17 more [01:00:25] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:553]: ---- Minecraft Crash Report ----
WARNING: coremods are present:
AppleCore (AppleCore-mc1.12.2-3.1.0.jar)
IELoadingPlugin (ImmersiveEngineering-0.12-75-core.jar)
LoadingPlugin (Quark-r1.4-120.jar)
CTMCorePlugin (CTM-MC1.12-0.2.3.9.jar)
Wizardry Plugin (wizardry-0.6.2.jar)
Plugin (NotEnoughIDs-1.5.4.2.jar)
FMLPlugin (elulib-0.1.11.jar)
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
AstralCore (astralsorcery-1.12.2-1.8.3.jar)
AdvancedRocketryPlugin (AdvancedRocketry-1.12.2-1.2.6-5.jar)
ForgelinPlugin (Forgelin-1.6.0.jar)
LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)
ShetiPhian-ASM (shetiphiancore-1.12.0-3.5.5.jar)
CoreMod (Aroma1997Core-1.12.2-2.0.0.0.b129.jar)
TransformerLoader (OpenComputers-MC1.12.1-1.7.1.43.jar)
LibrarianLib Plugin (librarianlib-1.12-4.3.jar)
Do not report to Forge! Remove FoamFixAPI (or replace with FoamFixAPI-Lawful) and try again. (foamfix-0.8.2-1.12.2-anarchy.jar)
Contact their authors BEFORE contacting forge
// I bet Cylons wouldn't have this problem.
Time: 12/19/17 1:00 AM
Description: Rendering screen
java.lang.NullPointerException: Rendering screen
at com.grim3212.mc.pack.core.inventory.ItemHandlerBase.getStackInSlot(ItemHandlerBase.java:27)
at net.minecraftforge.items.SlotItemHandler.func_75211_c(SlotItemHandler.java:73)
at com.grim3212.mc.pack.core.client.gui.GuiGrimContainer.drawSlot(GuiGrimContainer.java:228)
at com.grim3212.mc.pack.core.client.gui.GuiGrimContainer.func_73863_a(GuiGrimContainer.java:112)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:353)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Reflector.callVoid(Reflector.java:614)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1449)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
at net.minecraft.client.main.Main.main(SourceFile:123)
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 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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Client thread
Stacktrace:
at com.grim3212.mc.pack.core.inventory.ItemHandlerBase.getStackInSlot(ItemHandlerBase.java:27)
at net.minecraftforge.items.SlotItemHandler.func_75211_c(SlotItemHandler.java:73)
at com.grim3212.mc.pack.core.client.gui.GuiGrimContainer.drawSlot(GuiGrimContainer.java:228)
at com.grim3212.mc.pack.core.client.gui.GuiGrimContainer.func_73863_a(GuiGrimContainer.java:112)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:353)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Reflector.callVoid(Reflector.java:614)
-- Screen render details --
Details:
Screen name: com.grim3212.mc.pack.tools.client.gui.GuiBackpack
Mouse location: Scaled: (480, 254). Absolute: (960, 508)
Screen size: Scaled: (960, 509). Absolute: (1920, 1017). Scale factor of 2
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_151, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2749799952 bytes (2622 MB) / 5646057472 bytes (5384 MB) up to 5726797824 bytes (5461 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms3096m -Xmx6144m
IntCache: cache: 0, tcache: 0, allocated: 4, tallocated: 105
FML: MCP 9.42 Powered by Forge 14.23.1.2562 Optifine OptiFine_1.12.2_HD_U_C7 222 mods loaded, 222 mods active