View Issue Details

IDProjectCategoryView StatusLast Update
0002542Industrial-Craft²tools / electric itemspublic2019-08-04 22:46
ReportermcBegins2Snow Assigned To 
PriorityimmediateSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Summary0002542: Game crash about using IC2's ov/od scanner
DescriptionIC2 version: industrialcraft-2-2.8.152-ex112
Thermal Dynamics version: ThermalDynamics-1.12.2-2.5.4.18-universal
There are some Thermal Dynamics's pipes near me when using IC2's ov or od scanner.
Steps To ReproduceI put some Thermal Dynamics's pipes;
I used an ov scanner near them.
Because of Vanilla Fix mod, nothing on GUI.
TagsThermal Dynamics
Minecraft Version1.12.2

Activities

mcBegins2Snow

2019-05-13 01:02

reporter  

2019-05-13_09.00.42.png (406,014 bytes)
crash-2019-05-13_09.00.39-server.txt (14,401 bytes)   
---- Minecraft Crash Report ----
// There are four lights!

Time: 2019-05-13 09:00:39 CST
Description: Error executing task

java.util.concurrent.ExecutionException: java.lang.ClassCastException: net.minecraft.world.ChunkCache cannot be cast to net.minecraft.world.World
    at java.util.concurrent.FutureTask.report(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at net.minecraft.util.Util.runTask(Util.java:531)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:723)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:256)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: net.minecraft.world.ChunkCache cannot be cast to net.minecraft.world.World
    at cofh.thermaldynamics.block.BlockTDBase.dropDelegate(BlockTDBase.java:148)
    at cofh.core.block.BlockCoreTile.getDrops(BlockCoreTile.java:214)
    at ic2.core.util.StackUtil.getDrops(StackUtil.java:1162)
    at ic2.core.util.StackUtil.getDrops(StackUtil.java:1154)
    at ic2.core.item.tool.ItemScanner.scan(ItemScanner.java:132)
    at ic2.core.item.tool.ItemScanner.onItemRightClick(ItemScanner.java:80)
    at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:217)
    at net.minecraft.server.management.PlayerInteractionManager.processRightClick(PlayerInteractionManager.java:358)
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItem(NetHandlerPlayServer.java:765)
    at net.minecraft.network.play.client.CPacketPlayerTryUseItem.processPacket(SourceFile:32)
    at net.minecraft.network.play.client.CPacketPlayerTryUseItem.processPacket(SourceFile:9)
    at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:22)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at net.minecraft.util.Util.runTask(Util.java:529)
    ... 5 more


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

-- System Details --
  Minecraft Version: 1.12.2
  Operating System: Windows 7 (amd64) version 6.1
  Java Version: 1.8.0_211, Oracle Corporation
  Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
  Memory: 2074285024 bytes (1978 MB) / 3392143360 bytes (3235 MB) up to 3392143360 bytes (3235 MB)
  JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms2000m -Xmx3600m
  IntCache: cache: 16, tcache: 1, allocated: 12, tallocated: 94
  FML: MCP 9.42 Powered by Forge 14.23.5.2837 Optifine OptiFine_1.12.2_HD_U_E4_pre4 54 mods loaded, 54 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                                |
       |:------ |:-------------------- |:-------------------- |:----------------------------------------------- |:---------------------------------------- |
       | LCHIJA | minecraft            | 1.12.2               | minecraft.jar                                   | None                                     |
       | LCHIJA | mcp                  | 9.42                 | minecraft.jar                                   | None                                     |
       | LCHIJA | FML                  | 8.0.99.99            | forge-1.12.2-14.23.5.2837-universal.jar         | e3c3d50c7c986df74c645c0ac54639741c90a557 |
       | LCHIJA | forge                | 14.23.5.2837         | forge-1.12.2-14.23.5.2837-universal.jar         | e3c3d50c7c986df74c645c0ac54639741c90a557 |
       | LCHIJA | jecharacters         | 1.12.0-3.3.0         | JustEnoughCharacters-1.12.0-3.3.0.jar           | None                                     |
       | LCHIJA | smoothfontcore       | mc1.12.2-1.16        | minecraft.jar                                   | None                                     |
       | LCHIJA | foamfixcore          | 7.7.4                | minecraft.jar                                   | None                                     |
       | LCHIJA | smoothfont           | mc1.12.2-1.16.1      | SmoothFont-mc1.12.2-1.16.1.jar                  | None                                     |
       | LCHIJA | jei                  | 4.15.0.278           | jei_1.12.2-4.15.0.278.jar                       | None                                     |
       | LCHIJA | appleskin            | 1.0.9                | AppleSkin-mc1.12-1.0.9.jar                      | None                                     |
       | LCHIJA | aroma1997core        | 2.0.0.2              | Aroma1997Core-1.12.2-2.0.0.2.jar                | dfbfe4c473253d8c5652417689848f650b2cbe32 |
       | LCHIJA | aroma1997sdimension  | 2.0.0.2              | Aroma1997s-Dimensional-World-1.12.2-2.0.0.2.jar | dfbfe4c473253d8c5652417689848f650b2cbe32 |
       | LCHIJA | baubles              | 1.5.2                | Baubles-1.12-1.5.2.jar                          | None                                     |
       | LCHIJA | betteradvancements   | 0.0.17.75            | BetterAdvancements-1.12.2-0.0.17.75.jar         | None                                     |
       | LCHIJA | xaerobetterpvp       | 1.16.7               | BetterPvP_1.16.7_Forge_1.12.jar                 | None                                     |
       | LCHIJA | carryon              | 1.12.1               | CarryOn+MC1.12.2+v1.12.1.jar                    | 55e88f24d04398481ae6f1ce76f65fd776f14227 |
       | LCHIJA | codechickenlib       | 3.2.2.353            | CodeChickenLib-1.12.2-3.2.2.353-universal.jar   | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
       | LCHIJA | chickenchunks        | 2.4.1.73             | ChickenChunks-1.12.2-2.4.1.73-universal.jar     | f1850c39b2516232a2108a7bd84d1cb5df93b261 |
       | LCHIJA | redstoneflux         | 2.1.0                | RedstoneFlux-1.12-2.1.0.6-universal.jar         | 8a6abf2cb9e141b866580d369ba6548732eff25f |
       | LCHIJA | cofhcore             | 4.6.2                | CoFHCore-1.12.2-4.6.2.25-universal.jar          | None                                     |
       | LCHIJA | cofhworld            | 1.3.0                | CoFHWorld-1.12.2-1.3.0.6-universal.jar          | 8a6abf2cb9e141b866580d369ba6548732eff25f |
       | LCHIJA | mantle               | 1.12-1.3.3.49        | Mantle-1.12-1.3.3.49.jar                        | None                                     |
       | LCHIJA | tconstruct           | 1.12.2-2.12.0.135    | TConstruct-1.12.2-2.12.0.135.jar                | None                                     |
       | LCHIJA | conarm               | 1.2.3.4              | conarm-1.12.2-1.2.3.4.jar                       | 5d5b8aee896a4f5ea3f3114784742662a67ad32f |
       | LCHIJA | cookingforblockheads | 6.4.69               | CookingForBlockheads_1.12.2-6.4.69.jar          | None                                     |
       | LCHIJA | cyclicmagic          | 1.19.9               | Cyclic-1.12.2-1.19.9.jar                        | 1bc8f8dbe770187a854cef35dad0ff40ba441bbe |
       | LCHIJA | fastleafdecay        | v14                  | FastLeafDecay-v14.jar                           | None                                     |
       | LCHIJA | foamfix              | 0.10.5-1.12.2        | foamfix-0.10.5-1.12.2.jar                       | None                                     |
       | LCHIJA | theoneprobe          | 1.4.27               | theoneprobe-1.12-1.4.27.jar                     | None                                     |
       | LCHIJA | thermalfoundation    | 2.6.2                | ThermalFoundation-1.12.2-2.6.2.26-universal.jar | 8a6abf2cb9e141b866580d369ba6548732eff25f |
       | LCHIJA | immersiveengineering | 0.12-89              | ImmersiveEngineering-0.12-89.jar                | 4cb49fcde3b43048c9889e0a3d083225da926334 |
       | LCHIJA | immersivepetroleum   | 1.1.9                | immersivepetroleum-1.12.2-1.1.9.jar             | None                                     |
       | LCHIJA | trackapi             | 1.1                  | TrackAPI-1.1_1.12.jar                           | None                                     |
       | LCHIJA | immersiverailroading | 1.6.1                | ImmersiveRailroading-1.6.1_1.12-1138.jar        | None                                     |
       | LCHIJA | immersivetech        | 1.3.10               | immersivetech-1.12-1.3.10.jar                   | None                                     |
       | LCHIJA | ic2                  | 2.8.152-ex112        | industrialcraft-2-2.8.152-ex112.jar             | de041f9f6187debbc77034a344134053277aa3b0 |
       | LCHIJA | inventorytweaks      | 1.64+dev.146.2180b27 | InventoryTweaks-1.64+dev.146.jar                | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |
       | LCHIJA | ironchest            | 1.12.2-7.0.59.842    | ironchest-1.12.2-7.0.59.842.jar                 | None                                     |
       | LCHIJA | japaricraftmod       | 5.4.1                | japaricraftmod-1.12.2-5.4.1.jar                 | None                                     |
       | LCHIJA | harvestcraft         | 1.12.2zb             | Pam's+HarvestCraft+1.12.2zb.jar                 | None                                     |
       | LCHIJA | jehc                 | 1.6.3                | jehc-1.12.2-1.6.3.jar                           | None                                     |
       | LCHIJA | journeymap           | 1.12.2-5.5.5b5       | journeymap-1.12.2-5.5.5b5.jar                   | None                                     |
       | LCHIJA | mousetweaks          | 2.10                 | MouseTweaks-2.10-mc1.12.2.jar                   | None                                     |
       | LCHIJA | naturescompass       | 1.5.1                | NaturesCompass-1.12.2-1.5.1.jar                 | None                                     |
       | LCHIJA | oreexcavation        | 1.4.137              | OreExcavation-1.4.137.jar                       | None                                     |
       | LCHIJA | realfilingcabinet    | 0.1.84               | realfilingcabinet-1.12.1-0.1.84.jar             | None                                     |
       | LCHIJA | rustic               | 1.1.0                | rustic-1.1.0.jar                                | None                                     |
       | LCHIJA | taiga                | 1.12.2-1.3.3         | taiga-1.12.2-1.3.4.jar                          | None                                     |
       | LCHIJA | tatw                 | 1.0.1.2.b27          | Tatw-1.12.2-1.0.1.2.b27.jar                     | dfbfe4c473253d8c5652417689848f650b2cbe32 |
       | LCHIJA | thermalexpansion     | 5.5.3                | ThermalExpansion-1.12.2-5.5.3.41-universal.jar  | 8a6abf2cb9e141b866580d369ba6548732eff25f |
       | LCHIJA | thermaldynamics      | 2.5.4                | ThermalDynamics-1.12.2-2.5.4.18-universal.jar   | 8a6abf2cb9e141b866580d369ba6548732eff25f |
       | LCHIJA | tinker_io            | rw2.7.1              | tinker_io-1.12.2-rw2.7.1.jar                    | None                                     |
       | LCHIJA | topaddons            | 1.12.2-1.11.0        | topaddons-1.12.2-1.11.0.jar                     | None                                     |
       | LCHIJA | vanillafix           | 1.0.10-SNAPSHOT      | VanillaFix-1.0.10-98.jar                        | None                                     |
  Loaded coremods (and transformers): JechCore (JustEnoughCharacters-1.12.0-3.3.0.jar)
                                        me.towdium.jecharacters.core.JechClassTransformer
                                      IELoadingPlugin (ImmersiveEngineering-core-0.12-89.jar)
                                        blusunrize.immersiveengineering.common.asm.IEClassTransformer
                                      VanillaFixLoadingPlugin (VanillaFix-1.0.10-98.jar)
                                        
                                      CorePlugin (SmoothFont-mc1.12.2-1.16.1.jar)
                                        bre.smoothfont.asm.Transformer
                                      Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.5-1.12.2.jar)
                                        pl.asie.foamfix.coremod.FoamFixTransformer
                                      Inventory Tweaks Coremod (InventoryTweaks-1.64+dev.146.jar)
                                        invtweaks.forge.asm.ContainerTransformer
                                      CoreMod (Aroma1997Core-1.12.2-2.0.0.2.jar)
  GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
  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)
                                   - theoneprobeIntegration (Enabled/Not Forced)
  Suspected Mods: Thermal Dynamics (thermaldynamics), CoFH Core (cofhcore), IndustrialCraft 2 (ic2)

Player

2019-05-13 13:04

administrator   ~0006012

This is a problem in Thermal Dynamics, not IC2.

They are doing an unchecked downcast from IBlockAccess to World, which is not covered by the APi signature and isn't even in line with Forge's own code ("Random rand = world instanceof World ? ((World)world).rand : RANDOM;" in net.minecraft.block.Block.getDrops(NonNullList<ItemStack>, IBlockAccess, BlockPos, IBlockState, int)).

Chocohead

2019-05-14 08:07

developer   ~0006015

This has been fixed in Thermal Dynamics dev: https://github.com/CoFH/ThermalDynamics/commit/a47b122

Will have to wait for a release with it in though

Chocohead

2019-08-04 22:46

developer   ~0006082

Fixed in Thermal Dynamics 2.5.5

Issue History

Date Modified Username Field Change
2019-05-13 01:02 mcBegins2Snow New Issue
2019-05-13 01:02 mcBegins2Snow File Added: 2019-05-13_09.00.42.png
2019-05-13 01:02 mcBegins2Snow File Added: crash-2019-05-13_09.00.39-server.txt
2019-05-13 01:02 mcBegins2Snow Tag Attached: Thermal Dynamics
2019-05-13 13:04 Player Note Added: 0006012
2019-05-14 08:07 Chocohead Note Added: 0006015
2019-08-04 22:46 Chocohead Status new => resolved
2019-08-04 22:46 Chocohead Resolution open => no change required
2019-08-04 22:46 Chocohead Note Added: 0006082