Chicken-Bones / CodeChickenCore

MIT License
39 stars 34 forks source link

1.7.10 crash when attempting to spawn in an item into creative+ portion of inventory #21

Open malice936 opened 9 years ago

malice936 commented 9 years ago

---- Minecraft Crash Report ---- // Don't be sad. I'll do better next time, I promise!

Time: 1/15/15 1:09 AM Description: Updating screen events

java.lang.NullPointerException: Updating screen events at com.google.common.collect.Iterables$3.transform(Iterables.java:508) at com.google.common.collect.Iterables$3.transform(Iterables.java:505) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$5.hasNext(Iterators.java:543) at codechicken.nei.NEIClientUtils.giveStack(NEIClientUtils.java:155) at codechicken.nei.NEIClientUtils.giveStack(NEIClientUtils.java:140) at codechicken.nei.NEIClientUtils.cheatItem(NEIClientUtils.java:122) at codechicken.nei.ItemPanel.mouseUp(ItemPanel.java:267) at codechicken.nei.LayoutManager.onMouseUp(LayoutManager.java:166) at codechicken.nei.guihook.GuiContainerManager.mouseUp(GuiContainerManager.java:365) at codechicken.nei.guihook.GuiContainerManager.overrideMouseUp(GuiContainerManager.java:357) at net.minecraft.client.gui.inventory.GuiContainer.func_146286_b(GuiContainer.java) at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:306) at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java) at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1628) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887) at net.minecraft.client.main.Main.main(SourceFile:148) 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:286) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:376) at org.multimc.EntryPoint.listen(EntryPoint.java:165) at org.multimc.EntryPoint.main(EntryPoint.java:54)

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

-- Head -- Stacktrace: at com.google.common.collect.Iterables$3.transform(Iterables.java:508) at com.google.common.collect.Iterables$3.transform(Iterables.java:505) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$5.hasNext(Iterators.java:543) at codechicken.nei.NEIClientUtils.giveStack(NEIClientUtils.java:155) at codechicken.nei.NEIClientUtils.giveStack(NEIClientUtils.java:140) at codechicken.nei.NEIClientUtils.cheatItem(NEIClientUtils.java:122) at codechicken.nei.ItemPanel.mouseUp(ItemPanel.java:267) at codechicken.nei.LayoutManager.onMouseUp(LayoutManager.java:166) at codechicken.nei.guihook.GuiContainerManager.mouseUp(GuiContainerManager.java:365) at codechicken.nei.guihook.GuiContainerManager.overrideMouseUp(GuiContainerManager.java:357) at net.minecraft.client.gui.inventory.GuiContainer.func_146286_b(GuiContainer.java) at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:306) at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java) at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)

-- Affected screen -- Details: Screen name: codechicken.nei.GuiExtendedCreativeInv

-- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['malice936'/417, l='MpServer', x=490.80, y=71.90, z=930.98]] Chunk stats: MultiplayerChunkCache: 615, 615 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (0,67,0), Chunk: (at 0,4,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 124342 game time, 124342 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: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 38 total; [EntityBat['Bat'/153860, l='MpServer', x=449.66, y=24.00, z=861.94], EntityCow['Cow'/559, l='MpServer', x=496.91, y=64.00, z=952.03], EntityBat['Bat'/173344, l='MpServer', x=526.25, y=17.33, z=847.39], EntityCow['Cow'/562, l='MpServer', x=484.49, y=65.00, z=956.33], EntityCow['Cow'/561, l='MpServer', x=488.72, y=65.00, z=952.78], EntityCow['Cow'/560, l='MpServer', x=487.66, y=65.00, z=956.25], EntityBat['Bat'/168196, l='MpServer', x=450.75, y=29.00, z=921.66], EntityBat['Bat'/173331, l='MpServer', x=472.75, y=34.10, z=946.75], EntityBat['Bat'/173329, l='MpServer', x=470.94, y=24.00, z=947.09], EntityBat['Bat'/173328, l='MpServer', x=462.91, y=23.00, z=948.78], EntityBat['Bat'/173339, l='MpServer', x=472.75, y=27.39, z=940.41], EntityMinecartChest['entity.MinecartChest.name'/524, l='MpServer', x=471.50, y=41.50, z=858.50], EntityHat['unknown'/1622, l='MpServer', x=490.80, y=71.90, z=930.98], EntityTrail['unknown'/1574, l='MpServer', x=490.80, y=71.90, z=930.98], EntityMinecartChest['entity.MinecartChest.name'/580, l='MpServer', x=500.50, y=35.50, z=870.50], EntityBat['Bat'/161745, l='MpServer', x=464.59, y=26.58, z=931.53], EntitySheep['Sheep'/593, l='MpServer', x=490.50, y=65.00, z=966.50], EntitySheep['Sheep'/592, l='MpServer', x=488.50, y=65.00, z=966.50], EntitySheep['Sheep'/595, l='MpServer', x=490.50, y=66.00, z=963.81], EntitySheep['Sheep'/594, l='MpServer', x=495.03, y=65.00, z=957.97], EntityBat['Bat'/161743, l='MpServer', x=459.25, y=34.10, z=920.75], EntityBat['Bat'/161741, l='MpServer', x=466.50, y=23.00, z=946.25], EntityBat['Bat'/161736, l='MpServer', x=436.75, y=24.00, z=965.72], EntityBat['Bat'/168343, l='MpServer', x=421.22, y=30.00, z=951.78], EntityCaveSpider['Cave Spider'/22690, l='MpServer', x=0.20, y=-34.90, z=-39.98], EntityBat['Bat'/139127, l='MpServer', x=535.61, y=27.00, z=899.32], EntityHat['unknown'/22679, l='MpServer', x=490.50, y=66.00, z=963.81], EntityClientPlayerMP['malice936'/417, l='MpServer', x=490.80, y=71.90, z=930.98], l['unknown'/438, l='MpServer', x=0.00, y=0.00, z=0.00], EntityBat['Bat'/166445, l='MpServer', x=527.50, y=23.00, z=966.00], EntityCaveSpider['Cave Spider'/122064, l='MpServer', x=-13.02, y=-34.88, z=-52.93], EntityHighwayman['entity.steamcraft.Highwayman.name'/63068, l='MpServer', x=0.70, y=-42.13, z=-41.31], EntityHighwayman['entity.steamcraft.Highwayman.name'/16965, l='MpServer', x=13.47, y=-54.99, z=26.37], EntityBlock['unknown'/23288, l='MpServer', x=535.40, y=43.00, z=908.40], EntityBlock['unknown'/23287, l='MpServer', x=535.25, y=76.25, z=903.75], EntityBlock['unknown'/23286, l='MpServer', x=535.25, y=44.00, z=908.25], EntityBlock['unknown'/23285, l='MpServer', x=527.75, y=76.25, z=908.25], EntityMechanicalArm['unknown'/23284, l='MpServer', x=532.00, y=72.00, z=914.00]] 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:373) at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2432) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:909) at net.minecraft.client.main.Main.main(SourceFile:148) 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:286) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:376) at org.multimc.EntryPoint.listen(EntryPoint.java:165) at org.multimc.EntryPoint.main(EntryPoint.java:54)

-- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_71, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 418266872 bytes (398 MB) / 2275409920 bytes (2170 MB) up to 3340763136 bytes (3186 MB) Mod Pack: Unknown / None LiteLoader Mods: 1 loaded mod(s)

Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [Resource pack template 1.7.2.zip]
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)
Dooglesmile commented 9 years ago

I'm getting the same crash on my self-made mod pack. I can fill my inventory from the creative+ NEI, but if I then try to add just one more item the game shuts down to desktop.

http://pastebin.com/Rn5iXDYm

I tried it both with and without Optifine installed as there were a few mentions of Optifine not being supported by some of the mods I've included. On my old mod pack on MC1.6.4, trying to add another item once my inventory was full just said "adding 0 of item to username"

crunkazcanbe commented 9 years ago

Same crash as me

smbridges3094 commented 9 years ago

I am still having this issue. It happens regardless of what mod the item comes from. It's really annoying having to load the game again and again