Jump to content

[1.13.2]getDrops causing NPE?


Krevik

Recommended Posts

Hello there! Actually I am having a problem - my custom dimension is randomly crashing and I cannot find out why. I am using forge build 0.84
Here's the crash log:
 

Spoiler

[11:52:38.706] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 225 ms
[11:52:39.191] [Client thread/INFO] [minecraft/AdvancementList]: Loaded 0 advancements
[11:52:39.605] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 142 ms
[11:52:39.911] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 184 ms
[11:52:40.403] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 309 ms
[11:52:40.687] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 105 ms
[11:52:40.958] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 2022ms or 40 ticks behind
[11:52:43.173] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 142 ms
[11:52:43.349] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 124 ms
[11:52:43.568] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 104 ms
[11:52:45.630] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 154 ms
[11:52:46.060] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 149 ms
[11:53:12.900] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 137 ms
[11:53:15.420] [Client thread/INFO] [minecraft/ChunkProviderClient]: Warning: Clientside chunk ticking took 110 ms
[11:53:15.942] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception while ticking
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:742) ~[?:?]
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) ~[?:?]
	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) ~[?:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]
Caused by: java.lang.NullPointerException
	at net.minecraftforge.common.extensions.IForgeBlock.getDrops(IForgeBlock.java:969) ~[?:?]
	at net.minecraft.block.Block.dropBlockAsItemWithChance(Block.java:502) ~[?:?]
	at net.minecraft.block.state.IBlockState.dropBlockAsItemWithChance(IBlockState.java:277) ~[?:?]
	at net.minecraft.block.state.IBlockState.dropBlockAsItem(IBlockState.java:273) ~[?:?]
	at net.minecraft.fluid.WaterFluid.beforeReplacingBlock(SourceFile:69) ~[?:?]
	at net.minecraft.fluid.FlowingFluid.flowInto(SourceFile:260) ~[?:?]
	at net.minecraft.fluid.FlowingFluid.flowAround(SourceFile:135) ~[?:?]
	at net.minecraft.fluid.FlowingFluid.tick(SourceFile:458) ~[?:?]
	at net.minecraft.fluid.IFluidState.tick(IFluidState.java:54) ~[?:?]
	at net.minecraft.world.WorldServer.tickFluid(WorldServer.java:521) ~[?:?]
	at net.minecraft.world.ServerTickList.tick(SourceFile:79) ~[?:?]
	at net.minecraft.world.WorldServer.tickPending(WorldServer.java:514) ~[?:?]
	at net.minecraft.world.WorldServer.tick(WorldServer.java:197) ~[?:?]
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:738) ~[?:?]
	... 4 more
[11:53:15.946] [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: C:\Users\Krevik\Desktop\minecraft modding\1.13.2 test\run\.\crash-reports\crash-2019-03-09_11.53.15-server.txt
[11:53:15.946] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[11:53:15.947] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[11:53:15.953] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Test lost connection: Disconnected
[11:53:15.955] [Server thread/INFO] [minecraft/MinecraftServer]: Test left the game
[11:53:15.965] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: Stopping singleplayer server as player logged out
[11:53:15.966] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[11:53:15.966] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/minecraft:kathairis
---- Minecraft Crash Report ----
// Shall we play a game?

Time: 09.03.19 11:53
Description: Exception while ticking

java.lang.NullPointerException: Exception while ticking
	at net.minecraftforge.common.extensions.IForgeBlock.getDrops(IForgeBlock.java:969)
	at net.minecraft.block.Block.dropBlockAsItemWithChance(Block.java:502)
	at net.minecraft.block.state.IBlockState.dropBlockAsItemWithChance(IBlockState.java:277)
	at net.minecraft.block.state.IBlockState.dropBlockAsItem(IBlockState.java:273)
	at net.minecraft.fluid.WaterFluid.beforeReplacingBlock(SourceFile:69)
	at net.minecraft.fluid.FlowingFluid.flowInto(SourceFile:260)
	at net.minecraft.fluid.FlowingFluid.flowAround(SourceFile:135)
	at net.minecraft.fluid.FlowingFluid.tick(SourceFile:458)
	at net.minecraft.fluid.IFluidState.tick(IFluidState.java:54)
	at net.minecraft.world.WorldServer.tickFluid(WorldServer.java:521)
	at net.minecraft.world.ServerTickList.tick(SourceFile:79)
	at net.minecraft.world.WorldServer.tickPending(WorldServer.java:514)
	at net.minecraft.world.WorldServer.tick(WorldServer.java:197)
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:738)
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565)
	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: Client thread
Stacktrace:
	at net.minecraftforge.common.extensions.IForgeBlock.getDrops(IForgeBlock.java:969)
	at net.minecraft.block.Block.dropBlockAsItemWithChance(Block.java:502)
	at net.minecraft.block.state.IBlockState.dropBlockAsItemWithChance(IBlockState.java:277)
	at net.minecraft.block.state.IBlockState.dropBlockAsItem(IBlockState.java:273)
	at net.minecraft.fluid.WaterFluid.beforeReplacingBlock(SourceFile:69)
	at net.minecraft.fluid.FlowingFluid.flowInto(SourceFile:260)
	at net.minecraft.fluid.FlowingFluid.flowAround(SourceFile:135)
	at net.minecraft.fluid.FlowingFluid.tick(SourceFile:458)
	at net.minecraft.fluid.IFluidState.tick(IFluidState.java:54)
	at net.minecraft.world.WorldServer.tickFluid(WorldServer.java:521)

-- Block being ticked --
Details:
	Block location: World: (459,64,-112), Chunk: (at 11,4,0 in 28,-7; contains blocks 448,0,-112 to 463,255,-97), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
	at net.minecraft.world.ServerTickList.tick(SourceFile:79)
	at net.minecraft.world.WorldServer.tickPending(WorldServer.java:514)
	at net.minecraft.world.WorldServer.tick(WorldServer.java:197)

-- Affected level --
Details:
	Level name: New World
	All players: 1 total; [EntityPlayerMP['Test'/321, l='New World', x=344.51, y=114.86, z=43.87]]
	Chunk stats: ServerChunkCache: 602 Drop: 0
	Level seed: -1157399126168766846
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: {}
	Level spawn location: World: (0,0,0), Chunk: (at 0,0,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: 0 game time, 0 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: ~~ERROR~~ NullPointerException: null
Stacktrace:
	at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:738)
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669)
	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565)
	at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
	Minecraft Version: 1.13.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_162, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 384107032 bytes (366 MB) / 1223688192 bytes (1167 MB) up to 1862270976 bytes (1776 MB)
	JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
	FML: New FML!
	Loaded coremods (and transformers): Nothing
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [EntityPlayerMP['Test'/321, l='New World', x=344.51, y=114.86, z=43.87]]
	Data Packs: vanilla, mod:kathairis, mod:forge
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'forge'
#@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2019-03-09_11.53.15-server.txt
[11:53:15.990] [Client Shutdown Thread/INFO] [minecraft/MinecraftServer]: Stopping server
[11:53:15.994] [Client Shutdown Thread/INFO] [minecraft/MinecraftServer]: Saving players
[11:53:15.994] [Client Shutdown Thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[11:53:15.994] [Client Shutdown Thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'New World'/minecraft:kathairis
[11:53:15.995] [Thread-4/FATAL] [ne.mi.fm.pa.ModFileResourcePack/]: Failed to clean up tempdir C:\Users\Krevik\AppData\Local\Temp\modpacktmp1531305072297809000
AL lib: (EE) alc_cleanup: 1 device not closed

Process finished with exit code -1

 

And yeah - I know how to read the crash log and what it means. The question is can I do something with it or is it actually forge bug?

Here is my code : https://github.com/Krevik/1.13.2-test

Edited by Krevik
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.