Weather, Storms & Tornadoes

Weather, Storms & Tornadoes

11M Downloads

java.lang.ClassCastException

dagobertdu94 opened this issue · 4 comments

commented

`---- Minecraft Crash Report ----

WARNING: coremods are present:
DLFMLCorePlugin (DynamicLights-1.12.1.jar)
TransformerLoader (OpenComputers-MC1.12.2-1.7.2.67.jar)
AppleCore (AppleCore-1.12.2.jar)
MalisisCorePlugin (MalisisCore-1.12.2.jar)
MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.2.190.jar)
Contact their authors BEFORE contacting forge

// Uh... Did I do that?

Time: 3/28/19 6:31 PM
Description: Ticking entity

java.lang.ClassCastException: weather2.entity.EntityMovingBlock cannot be cast to net.minecraft.entity.EntityLivingBase
at com.samuel.spectrite.eventhandlers.SpectriteGeneralEventHandler.onApplyLootingLevel(SpectriteGeneralEventHandler.java:749)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_221_SpectriteGeneralEventHandler_onApplyLootingLevel_LootingLevelEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraftforge.common.ForgeHooks.getLootingLevel(ForgeHooks.java:627)
at net.minecraftforge.common.ForgeHooks.getLootingLevel(ForgeHooks.java:619)
at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:1180)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1014)
at net.minecraft.entity.passive.EntityAnimal.func_70097_a(SourceFile:66)
at weather2.entity.EntityMovingBlock.func_70071_h_(EntityMovingBlock.java:253)
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:765)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at java.lang.Thread.run(Thread.java:745)

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

-- Head --
Thread: Server thread
Stacktrace:
at com.samuel.spectrite.eventhandlers.SpectriteGeneralEventHandler.onApplyLootingLevel(SpectriteGeneralEventHandler.java:749)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_221_SpectriteGeneralEventHandler_onApplyLootingLevel_LootingLevelEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179)
at net.minecraftforge.common.ForgeHooks.getLootingLevel(ForgeHooks.java:627)
at net.minecraftforge.common.ForgeHooks.getLootingLevel(ForgeHooks.java:619)
at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:1180)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1014)
at net.minecraft.entity.passive.EntityAnimal.func_70097_a(SourceFile:66)
at weather2.entity.EntityMovingBlock.func_70071_h_(EntityMovingBlock.java:253)
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: weather2:moving_block (weather2.entity.EntityMovingBlock)
Entity ID: 1678
Entity Name: entity.moving_block.name
Entity's Exact location: 14886.63, 94.13, 23304.42
Entity's Block location: World: (14886,94,23304), Chunk: (at 6,5,8 in 930,1456; contains blocks 14880,0,23296 to 14895,255,23311), Region: (29,45; contains chunks 928,1440 to 959,1471, blocks 14848,0,23040 to 15359,255,23551)
Entity's Momentum: 0.02, 1.72, -0.08
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: Neue Welt
All players: 1 total; [GCEntityPlayerMP['dagobertdu94'/317, l='Neue Welt', x=14872.87, y=177.39, z=23283.85]]
Chunk stats: ServerChunkCache: 603 Drop: 0
Level seed: 0
Level generator: ID 04 - customized, ver 0. Features enabled: true
Level generator options: {}
Level spawn location: World: (1000,70,1000), Chunk: (at 8,4,8 in 62,62; contains blocks 992,0,992 to 1007,255,1007), Region: (1,1; contains chunks 32,32 to 63,63, blocks 512,0,512 to 1023,255,1023)
Level time: 556917 game time, 46584 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 36542 (now: false), thunder time: 56229 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:765)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
Minecraft Version: 1.12.2
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 993137264 bytes (947 MB) / 3388997632 bytes (3232 MB) up to 12884901888 bytes (12288 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx12G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP 9.42 Powered by Forge 14.23.2.2638 Optifine OptiFine_1.12.2_HD_U_E3 55 mods loaded, 55 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.2.2638.jar             | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | forge                       | 14.23.2.2638            | forge-1.12.2-14.23.2.2638.jar             | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | micdoodlecore               |                         | minecraft.jar                             | None                                     |
| UCHIJAAAA | opencomputers|core          | 1.7.2.67                | minecraft.jar                             | None                                     |
| UCHIJAAAA | applecore                   | 3.2.0                   | AppleCore-1.12.2.jar                      | None                                     |
| UCHIJAAAA | jei                         | 4.14.4.264              | jei_1.12.2-4.14.4.264.jar                 | None                                     |
| UCHIJAAAA | base                        | 3.3.1                   | B.A.S.E-Mod-1.12.1.jar                    | None                                     |
| UCHIJAAAA | betaplus                    | 0.4back                 | Beta-Plus-Mod-1.12.2.jar                  | None                                     |
| UCHIJAAAA | carryon                     | 1.6.1                   | Carry-On-Mod-1.12.1.jar                   | None                                     |
| UCHIJAAAA | cloneland                   | 1.7                     | CloneLand-1.7.jar                         | None                                     |
| UCHIJAAAA | clumps                      | 3.1.2                   | Clumps-Mod-1.12.2.jar                     | None                                     |
| UCHIJAAAA | asielib                     | 1.0.0                   | Computronics-1.12.1-1.6.5.jar             | None                                     |
| UCHIJAAAA | opencomputers               | 1.7.2.67                | OpenComputers-MC1.12.2-1.7.2.67.jar       | None                                     |
| UCHIJAAAA | computronics                | 1.6.5                   | Computronics-1.12.1-1.6.5.jar             | None                                     |
| UCHIJAAAA | extendedrenderer            | v1.0                    | coroutil-1.12.1-1.2.31.jar                | None                                     |
| UCHIJAAAA | coroutil                    | 1.12.1-1.2.31           | coroutil-1.12.1-1.2.31.jar                | None                                     |
| UCHIJAAAA | configmod                   | v1.0                    | coroutil-1.12.1-1.2.31.jar                | None                                     |
| UCHIJAAAA | custombackgrounds           | 1.0                     | Custom-Backgrounds-Mod-1.12.2.jar         | None                                     |
| UCHIJAAAA | ducktools                   | 1.0.0                   | DuckTools.jar                             | None                                     |
| UCHIJAAAA | duckcore                    | 1.0.0                   | DuckCore.jar                              | None                                     |
| UCHIJAAAA | durabilitynotifier          | 1.0.0                   | Durability-Notifier-Mod-1.12.2.jar        | None                                     |
| UCHIJAAAA | dynamiclights               | 1.4.6                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_onfire        | 1.0.7                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_creepers      | 1.0.6                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_dropitems     | 1.1.0                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_entityclasses | 1.0.1                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_mobequipment  | 1.1.0                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_flamearrows   | 1.0.1                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_floodlights   | 1.0.3                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_otherplayers  | 1.0.9                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | dynamiclights_theplayer     | 1.1.3                   | DynamicLights-1.12.1.jar                  | None                                     |
| UCHIJAAAA | endercrop                   | 1.12.2-1.6.0            | endercrop-1.12.2-1.6.0.jar                | None                                     |
| UCHIJAAAA | quickleafdecay              | 1.2.4                   | Fast-Leave-Decay-Mod-1.12.1.jar           | None                                     |
| UCHIJAAAA | fp                          | 26.3.417                | Futurepack-1.12.2-26.3.417.jar            | 3ad693059337b95c41b649ec9f29c4a6e8282586 |
| UCHIJAAAA | fp.api                      | 1.1.0                   | Futurepack-1.12.2-26.3.417.jar            | None                                     |
| UCHIJAAAA | galacticraftcore            | 4.0.2.190               | GalacticraftCore-1.12.2-4.0.2.190.jar     | None                                     |
| UCHIJAAAA | galacticraftplanets         | 4.0.2.190               | Galacticraft-Planets-1.12.2-4.0.2.190.jar | None                                     |
| UCHIJAAAA | generaldisasters            | 1.0                     | General-Disasters-Mod-1.12.2.zip          | None                                     |
| UCHIJAAAA | globalxp                    | v1.4.1                  | Global-XP-Mod-1.12.2.jar                  | None                                     |
| UCHIJAAAA | malisiscore                 | 1.12.2-6.4.0            | MalisisCore-1.12.2.jar                    | None                                     |
| UCHIJAAAA | malisisdoors                | 1.12.2-7.3.0            | MalisisDoors-Mod-1.12.2.jar               | None                                     |
| UCHIJAAAA | mobends                     | 0.24                    | Mo-Bends-Mod-1.12.jar                     | None                                     |
| UCHIJAAAA | ocjs                        | 0.5.1                   | ocjs-0.5.1-1.12.2.jar                     | None                                     |
| UCHIJAAAA | personalcars                | 1.4                     | Personal-Cars-1.12.jar                    | None                                     |
| UCHIJAAAA | sekcphysics                 | 0.1.0                   | SekC-Physics-Mod-1.12.2.jar               | None                                     |
| UCHIJAAAA | harvest                     | 1.12-1.2.7-20           | SimpleHarvest-Mod-1.12.2.jar              | None                                     |
| UCHIJAAAA | spectrite                   | 1.6.1                   | Spectrite-Mod-1.12.jar                    | 00119cfc089819bbcd2f9166a50c7f3df88ded78 |
| UCHIJAAAA | uncraftingtable             | 1.8-beta6               | Uncrafting-Table-Mod-1.12.1.jar           | None                                     |
| UCHIJAAAA | weather2                    | 1.12.1-2.6.12           | weather2-1.12.1-2.6.12.jar                | None                                     |
| UCHIJAAAA | wit                         | 1.0.25                  | WIT-Mod-1.12.2.jar                        | None                                     |
| UCHIJAAAA | worldedit                   | 6.1.8                   | worldedit-forge-mc1.12-6.1.8-dist.jar     | None                                     |
| UCHIJAAAA | xray                        | 1.4.0                   | xray-1.12.2-1.4.0.jar                     | None                                     |
| UCHIJAAAA | hungeroverhaul              | 1.12.2-1.3.0.jenkins139 | Hunger-Overhaul-Mod-1.12.2.jar            | None                                     |

Loaded coremods (and transformers): 

DLFMLCorePlugin (DynamicLights-1.12.1.jar)
atomicstryker.dynamiclights.common.DLTransformer
TransformerLoader (OpenComputers-MC1.12.2-1.7.2.67.jar)
li.cil.oc.common.asm.ClassTransformer
AppleCore (AppleCore-1.12.2.jar)
squeek.applecore.asm.TransformerModuleHandler
MalisisCorePlugin (MalisisCore-1.12.2.jar)

MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.2.190.jar)
micdoodle8.mods.miccore.MicdoodleTransformer
GL info: ERROR RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [GCEntityPlayerMP['dagobertdu94'/317, l='Neue Welt', x=14872.87, y=177.39, z=23283.85]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
OptiFine Version: OptiFine_1.12.2_HD_U_E3
OptiFine Build: 20181210-121000
Render Distance Chunks: 8
Mipmaps: 0
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: (internal)

Ich bekomme diesen Crash-Report jedes Mal, wenn ich einen großen Tornado hab, der viele Blöcke aufsammelt. Und ich würde mich freuen, wenn das behoben werden könnte, weil es mich nervt, mitten drin einen Spielabsturz zu haben...

commented

Ich will ja nicht angeben, aber ich hätte das Problem so ähnlich gelöst:

Entity e = [...] (Wo es auch immer herkommt)
if (e instanceof EntityMovingBlock) {
(Mach irgendwas)
else if (e instanceof EntityLivingBase) {
(Mach erneut irgendwas)
} else {
(Mach irgendwas anderes...)
}

Es ist an sich nur ein Vorschlag, aber es würde das Problem beheben.

commented

Report it to spectrite mod, its their code not checking things correctly.

commented

Dann werde ich es eben schnell nur mit der Weather 2-Mod testen, gib mir einen Moment...

commented

Hab es gerade getestet und es liegt tatsächlich an Spectrite, was ich hinterher auch am Crashreport gesehen hab, worauf ich vorher nicht geachtet hatte. Sorry, wenn ich deine Zeit verschwendet hab.