Cooking Chore Crash when used with Chisel
ClockwerkKaiser opened this issue ยท 3 comments
I'm currently in the process of playtesting a modpack get the following crash when asking my spouse to cook for me.
I have verified that this only happens when Chisel is present.
Based on other similar crashes with other mods that used to have the same crash with chisel, it seems the IFuelHandler is giving invalid itemstacks.
Description: Ticking entity
java.lang.IllegalArgumentException: Stack can not be invalid!
at net.minecraftforge.oredict.OreDictionary.getOreIDs(OreDictionary.java:493)
at team.chisel.common.init.ChiselFuelHandler.getBurnTime(ChiselFuelHandler.java:10)
at net.minecraftforge.fml.common.registry.GameRegistry.getFuelValueLegacy(GameRegistry.java:269)
at net.minecraftforge.event.ForgeEventFactory.getItemBurnTime(ForgeEventFactory.java:271)
at net.minecraftforge.fml.common.registry.GameRegistry.getFuelValue(GameRegistry.java:257)
at mca.actions.ActionCook.getFuelFromInventory(ActionCook.java:122)
at mca.actions.ActionCook.onUpdateServer(ActionCook.java:65)
at mca.entity.VillagerBehaviors.onUpdate(VillagerBehaviors.java:95)
at mca.entity.EntityVillagerMCA.func_70071_h_(EntityVillagerMCA.java:178)
at net.minecraft.world.World.func_72866_a(World.java:1990)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1952)
at net.minecraft.world.World.func_72939_s(World.java:1756)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Unknown Source)
I know this is a bit old, but I'm getting this or a very similar error, which i posted in another thread, with the stove in Landlust furniture mod. Happens when fuel is left in the stove on logout/login. Is there any way to fix this? I love both mods....
edit sorry didn't realize this was in MCA thread and not chisel... but if anyone knows how i might fix this I'd really appreciate any info
Same here
---- Minecraft Crash Report ----
WARNING: coremods are present:
FarseekCoreMod (Farseek-1.12-2.3.1.jar)
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
CTMCorePlugin (CTM-MC1.12.2-0.3.2.18.jar)
AppleCore (AppleCore-mc1.12.2-3.1.4.jar)
BetterFoliageLoader (BetterFoliage-MC1.12-2.1.10.jar)
Contact their authors BEFORE contacting forge
// You're mean.
Time: 9/14/18 6:15 PM
Description: Ticking entity
java.lang.IllegalArgumentException: Stack can not be invalid!
at net.minecraftforge.oredict.OreDictionary.getOreIDs(OreDictionary.java:499)
at team.chisel.common.init.ChiselFuelHandler.getBurnTime(ChiselFuelHandler.java:10)
at net.minecraftforge.fml.common.registry.GameRegistry.getFuelValueLegacy(GameRegistry.java:269)
at net.minecraftforge.event.ForgeEventFactory.getItemBurnTime(ForgeEventFactory.java:273)
at net.minecraftforge.fml.common.registry.GameRegistry.getFuelValue(GameRegistry.java:257)
at mca.actions.ActionCook.getFuelFromInventory(ActionCook.java:122)
at mca.actions.ActionCook.onUpdateServer(ActionCook.java:65)
at mca.entity.VillagerBehaviors.onUpdate(VillagerBehaviors.java:95)
at mca.entity.EntityVillagerMCA.func_70071_h_(EntityVillagerMCA.java:178)
at net.minecraft.world.World.func_72866_a(World.java:1990)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1952)
at net.minecraft.world.World.func_72939_s(World.java:1756)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:748)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at net.minecraftforge.oredict.OreDictionary.getOreIDs(OreDictionary.java:499)
at team.chisel.common.init.ChiselFuelHandler.getBurnTime(ChiselFuelHandler.java:10)
at net.minecraftforge.fml.common.registry.GameRegistry.getFuelValueLegacy(GameRegistry.java:269)
at net.minecraftforge.event.ForgeEventFactory.getItemBurnTime(ForgeEventFactory.java:273)
at net.minecraftforge.fml.common.registry.GameRegistry.getFuelValue(GameRegistry.java:257)
at mca.actions.ActionCook.getFuelFromInventory(ActionCook.java:122)
at mca.actions.ActionCook.onUpdateServer(ActionCook.java:65)
at mca.entity.VillagerBehaviors.onUpdate(VillagerBehaviors.java:95)
at mca.entity.EntityVillagerMCA.func_70071_h_(EntityVillagerMCA.java:178)
at net.minecraft.world.World.func_72866_a(World.java:1990)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1952)
-- Entity being ticked --
Details:
Entity Type: mca:villagermca (mca.entity.EntityVillagerMCA)
Entity ID: 174337
Entity Name: Ila
Entity's Exact location: 327.99, 63.00, 1942.50
Entity's Block location: World: (327,63,1942), Chunk: (at 7,3,6 in 20,121; contains blocks 320,0,1936 to 335,255,1951), Region: (0,3; contains chunks 0,96 to 31,127, blocks 0,0,1536 to 511,255,2047)
Entity's Momentum: -0.01, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1756)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
-- Affected level --
Details:
Level name: world
All players: 2 total; [EntityPlayerMP['PsyVirus'/188995, l='world', x=309.40, y=160.00, z=2289.41], EntityPlayerMP['BugsGerman'/294265, l='world', x=322.27, y=63.00, z=1945.92]]
Chunk stats: ServerChunkCache: 931 Drop: 0
Level seed: 4209520796579142338
Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: true
Level generator options:
Level spawn location: World: (264,75,1881), Chunk: (at 8,4,9 in 16,117; contains blocks 256,0,1872 to 271,255,1887), Region: (0,3; contains chunks 0,96 to 31,127, blocks 0,0,1536 to 511,255,2047)
Level time: 8618114 game time, 9109778 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 8319 (now: true), thunder time: 34053 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:748)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Linux (amd64) version 4.4.0-135-generic
Java Version: 1.8.0_181, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 2189243536 bytes (2087 MB) / 5435985920 bytes (5184 MB) up to 10468982784 bytes (9984 MB)
JVM Flags: 8 total; -Xms512M -Xmx10G -XX:NewSize=512M -XX:MaxNewSize=1G -XX:SurvivorRatio=2 -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+AggressiveOpts
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 104
FML: MCP 9.42 Powered by Forge 14.23.4.2759 70 mods loaded, 70 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:--------- |:------------------------- |:------------------------ |:----------------------------------------------- |:---------------------------------------- |
| UCHIJAAAA | minecraft | 1.12.2 | minecraft.jar | None |
| UCHIJAAAA | mcp | 9.42 | minecraft.jar | None |
| UCHIJAAAA | FML | 8.0.99.99 | forge-1.12.2-14.23.4.2759-universal.jar | None |
| UCHIJAAAA | forge | 14.23.4.2759 | forge-1.12.2-14.23.4.2759-universal.jar | None |
| UCHIJAAAA | antiqueatlas | 4.4.9 | antiqueatlas-1.12.2-4.4.9.jar | None |
| UCHIJAAAA | examplemod | 1.0 | antiqueatlas-1.12.2-4.4.9.jar | None |
| UCHIJAAAA | applecore | 3.1.4 | AppleCore-mc1.12.2-3.1.4.jar | None |
| UCHIJAAAA | jei | 4.11.0.212 | jei_1.12.2-4.11.0.212.jar | None |
| UCHIJAAAA | appleskin | 1.0.9 | AppleSkin-mc1.12-1.0.9.jar | None |
| UCHIJAAAA | architecturecraft | @VERSION@ | architecturecraft-1.12-2.68.jar | None |
| UCHIJAAAA | autoplant | 1.12-1.0.0 | autoplant-1.12-1.0.0.jar | None |
| UCHIJAAAA | backpack | 3.0.2 | backpack-3.0.2-1.12.2.jar | None |
| UCHIJAAAA | bibliocraft | 2.4.5 | BiblioCraft[v2.4.5][MC1.12.2].jar | None |
| UCHIJAAAA | biomesoplenty | 7.0.1.2399 | BiomesOPlenty-1.12.2-7.0.1.2399-universal.jar | None |
| UCHIJAAAA | bookshelf | 2.3.553 | Bookshelf-1.12.2-2.3.553.jar | d476d1b22b218a10d845928d1665d45fce301b27 |
| UCHIJAAAA | chameleon | 1.12-4.1.3 | Chameleon-1.12-4.1.3.jar | None |
| UCHIJAAAA | chisel | MC1.12.2-0.2.1.34 | Chisel-MC1.12.2-0.2.1.34.jar | None |
| UCHIJAAAA | codechickenlib | 3.2.1.351 | CodeChickenLib-1.12.2-3.2.1.351-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| UCHIJAAAA | redstoneflux | 2.0.2 | RedstoneFlux-1.12-2.0.2.3-universal.jar | 8a6abf2cb9e141b866580d369ba6548732eff25f |
| UCHIJAAAA | cofhcore | 4.5.3 | CoFHCore-1.12.2-4.5.3.20-universal.jar | None |
| UCHIJAAAA | cofhworld | 1.2.0 | CoFHWorld-1.12.2-1.2.0.5-universal.jar | 8a6abf2cb9e141b866580d369ba6548732eff25f |
| UCHIJAAAA | ic2 | 2.8.99-ex112 | industrialcraft-2-2.8.99-ex112.jar | de041f9f6187debbc77034a344134053277aa3b0 |
| UCHIJAAAA | compactsolars | 1.12.2-5.0.17.340 | CompactSolars-1.12.2-5.0.17.340-universal.jar | None |
| UCHIJAAAA | customspawner | 3.11.4 | CustomMobSpawner-3.11.4.jar | None |
| UCHIJAAAA | customnpcs | 1.12 | CustomNPCs_1.12.2(26aug18).jar | None |
| UCHIJAAAA | ptrmodellib | 1.0.2 | PTRLib-1.0.2.jar | None |
| UCHIJAAAA | props | 2.6.1 | Decocraft-2.6.1_1.12.2.jar | None |
| UCHIJAAAA | mocreatures | 12.0.5 | DrZharks MoCreatures Mod-12.0.5.jar | None |
| UCHIJAAAA | dynmap | 2.6-beta-1-23 | dynmap.jar | None |
| UCHIJAAAA | dynmapblockscan | 3.0-alpha-1-8 | DynmapBlockScan-3.0-alpha-1-forge-1.12.2.jar | None |
| UCHIJAAAA | farseek | 2.3.1 | Farseek-1.12-2.3.1.jar | None |
| UCHIJAAAA | forgemultipartcbe | 2.5.0.71 | ForgeMultipart-1.12.2-2.5.0.71-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| UCHIJAAAA | microblockcbe | 2.5.0.71 | ForgeMultipart-1.12.2-2.5.0.71-universal.jar | None |
| UCHIJAAAA | minecraftmultipartcbe | 2.5.0.71 | ForgeMultipart-1.12.2-2.5.0.71-universal.jar | None |
| UCHIJAAAA | gardenstuff | 1.12-2.1.1 | GardenStuff-1.12-2.1.1.jar | None |
| UCHIJAAAA | gravestone | 1.0.18 | GraveStone-1.12.2-Graves-1.0.18.jar | None |
| UCHIJAAAA | gravestone-extended | 1.2.6 | GraveStone-1.12.2-Extended-1.2.6.jar | None |
| UCHIJAAAA | ichunutil | 7.1.4 | iChunUtil-1.12.2-7.1.4.jar | None |
| UCHIJAAAA | hats | 7.0.0 | Hats-1.12.2-7.0.2.jar | None |
| UCHIJAAAA | hatstand | 7.0.0 | HatStand-1.12.2-7.0.1.jar | None |
| UCHIJAAAA | hopperducts | 1.5 | hopperducts-mc1.12-1.5.jar | None |
| UCHIJAAAA | inventorytweaks | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |
| UCHIJAAAA | mantle | 1.12-1.3.2.24 | Mantle-1.12-1.3.2.24.jar | None |
| UCHIJAAAA | radixcore | 1.12.x-2.2.1 | RadixCore-1.12.x-2.2.1-universal.jar | None |
| UCHIJAAAA | mca | 1.12.2-5.3.1 | MCA-1.12.x-5.3.1-universal.jar | None |
| UCHIJAAAA | mrtjpcore | 2.1.3.35 | MrTJPCore-1.12.2-2.1.3.35-universal.jar | None |
| UCHIJAAAA | nei | 2.4.1 | NotEnoughItems-1.12.2-2.4.1.238-universal.jar | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
| UCHIJAAAA | harvestcraft | 1.12.2z | Pam's+HarvestCraft+1.12.2z.jar | None |
| UCHIJAAAA | projectred-core | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-Base.jar | None |
| UCHIJAAAA | projectred-compat | 1.0 | ProjectRed-1.12.2-4.9.1.92-compat.jar | None |
| UCHIJAAAA | projectred-integration | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-integration.jar | None |
| UCHIJAAAA | projectred-transmission | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-integration.jar | None |
| UCHIJAAAA | projectred-fabrication | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-fabrication.jar | None |
| UCHIJAAAA | projectred-illumination | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-lighting.jar | None |
| UCHIJAAAA | projectred-expansion | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-mechanical.jar | None |
| UCHIJAAAA | projectred-relocation | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-mechanical.jar | None |
| UCHIJAAAA | projectred-transportation | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-mechanical.jar | None |
| UCHIJAAAA | projectred-exploration | 4.9.1.92 | ProjectRed-1.12.2-4.9.1.92-world.jar | None |
| UCHIJAAAA | rangedpumps | 0.5 | rangedpumps-0.5.jar | None |
| UCHIJAAAA | ruins | 17.1 | Ruins-1.12.2.jar | None |
| UCHIJAAAA | storagedrawers | 1.12-5.3.5 | StorageDrawers-1.12.2-5.3.7.jar | None |
| UCHIJAAAA | storagedrawersextra | @VERSION@ | StorageDrawersExtras-1.12-3.1.0.jar | None |
| UCHIJAAAA | tconstruct | 1.12.2-2.10.1.84 | TConstruct-1.12.2-2.10.1.84.jar | None |
| UCHIJAAAA | thermalfoundation | 2.5.0 | ThermalFoundation-1.12.2-2.5.0.19-universal.jar | 8a6abf2cb9e141b866580d369ba6548732eff25f |
| UCHIJAAAA | thermalexpansion | 5.5.0 | ThermalExpansion-1.12.2-5.5.0.29-universal.jar | 8a6abf2cb9e141b866580d369ba6548732eff25f |
| UCHIJAAAA | thermaldynamics | 2.5.1 | ThermalDynamics-1.12.2-2.5.1.14-universal.jar | 8a6abf2cb9e141b866580d369ba6548732eff25f |
| UCHIJAAAA | thutcore | 5.19.7 | thutcore-1.12.2-5.19.7.jar | None |
| UCHIJAAAA | thutcore_compat | 1.0 | thutcore-1.12.2-5.19.7.jar | None |
| UCHIJAAAA | thuttech | 6.1.4 | thuttech-1.12.2-6.1.4.jar | None |
| UCHIJAAAA | hungeroverhaul | 1.12.2-1.3.3.jenkins148 | HungerOverhaul-1.12.2-1.3.3.jenkins148.jar | None |
Loaded coremods (and transformers):
FarseekCoreMod (Farseek-1.12-2.3.1.jar)
farseek.core.FarseekClassTransformer
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
invtweaks.forge.asm.ContainerTransformer
CTMCorePlugin (CTM-MC1.12.2-0.3.2.18.jar)
team.chisel.ctm.client.asm.CTMTransformer
AppleCore (AppleCore-mc1.12.2-3.1.4.jar)
squeek.applecore.asm.TransformerModuleHandler
BetterFoliageLoader (BetterFoliage-MC1.12-2.1.10.jar)
mods.betterfoliage.loader.BetterFoliageTransformer
Pulsar/tconstruct loaded Pulses:
- TinkerCommons (Enabled/Forced)
- TinkerWorld (Enabled/Not Forced)
- TinkerTools (Enabled/Not Forced)
- TinkerHarvestTools (Enabled/Forced)
- TinkerMeleeWeapons (Enabled/Forced)
- TinkerRangedWeapons (Enabled/Forced)
- TinkerModifiers (Enabled/Forced)
- TinkerSmeltery (Enabled/Not Forced)
- TinkerGadgets (Enabled/Not Forced)
- TinkerOredict (Enabled/Forced)
- TinkerIntegration (Enabled/Forced)
- TinkerFluids (Enabled/Forced)
- TinkerMaterials (Enabled/Forced)
- TinkerModelRegister (Enabled/Forced)
- chiselIntegration (Enabled/Not Forced)
Profiler Position: N/A (disabled)
Player Count: 2 / 20; [EntityPlayerMP['PsyVirus'/188995, l='world', x=309.40, y=160.00, z=2289.41], EntityPlayerMP['BugsGerman'/294265, l='world', x=322.27, y=63.00, z=1945.92]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
This should be an isEmpty check, not a null check.