This section is closed. Please do bug reports over at the FTB GitHub repos.
The FTB Forum is now read-only, and is here as an archive.
To participate in our community discussions, please join our Discord! https://ftb.team/discord
java.lang.NullPointerException: Rendering Block Entity
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1011)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:990)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)
-- Block Entity Details --
Details:
Name: openblocks_sky // openblocks.common.tileentity.TileEntitySky
Block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Block data value: 1 / 0x1 / 0b0001
Block location: World: (-931,5,408), Chunk: (at 13,0,8 in -59,25; contains blocks -944,0,400 to -929,255,415), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
Actual block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Actual block data value: 1 / 0x1 / 0b0001
Stacktrace:
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)
java.lang.NullPointerException: Rendering Block Entity
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1011)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:990)
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)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at openblocks.client.renderer.tileentity.TileEntitySkyRenderer.func_147500_a(TileEntitySkyRenderer.java:42)
-- Block Entity Details --
Details:
Name: openblocks_sky // openblocks.common.tileentity.TileEntitySky
Block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Block data value: 1 / 0x1 / 0b0001
Block location: World: (-931,5,408), Chunk: (at 13,0,8 in -59,25; contains blocks -944,0,400 to -929,255,415), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
Actual block type: ID #1532 (tile.openblocks.sky // openblocks.common.block.BlockSky)
Actual block data value: 1 / 0x1 / 0b0001
Stacktrace:
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:483)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1224)
In my case, the Inverted Sky Block has an ID of #1532/1
Two possible 'fixes':
1, disable openblocks, restart world, all openblocks items will be removed. Tends to be a bit overkill but works.
2. Use mIDas Gold v0.2.5 on the world save file and replace the offending block(s) with something that doesn't crash.
In my case, I replaced the Inverted Sky Block (1532/1) with Stone (1/0)
Here is the patchfile for mIDas Gold v0.2.5:
filename: fixskyblock.txt
1532:1 -> 1:0
If your ID is different, change as appropriate. I pulled mine out of the crash log above.
Not that it shows much, since you can't screenshot the block being placed, here is a shot of the world *after* running mIDas on the offending save and reloading the world:
Another possible fix (we had this same issue on our server) is to change "sky=true" to false in the openblocks.cfg file. This will only remove the sky blocks but leave everything else intact.