Carpenter's Blocks

Carpenter's Blocks

23M Downloads

[1.12] Collapseble block crashes when placed

MarcusElg opened this issue ยท 4 comments

commented

---- Minecraft Crash Report ----

WARNING: coremods are present:
CTMCorePlugin (CTM-MC1.12-0.2.3.12.jar)
Contact their authors BEFORE contacting forge

// I just don't know what went wrong :(

Time: 3/30/18 12:51 PM
Description: Tesselating block model

java.lang.NullPointerException: Tesselating block model
at java.util.Objects.requireNonNull(Objects.java:203)
at java.util.Arrays$ArrayList.(Arrays.java:3813)
at java.util.Arrays.asList(Arrays.java:3800)
at com.carpentersblocks.renderer.Quad.applyFacing(Quad.java:308)
at com.carpentersblocks.renderer.Quad.(Quad.java:38)
at com.carpentersblocks.renderer.Quad.getQuad(Quad.java:102)
at com.carpentersblocks.renderer.Quad.getQuad(Quad.java:86)
at com.carpentersblocks.renderer.helper.RenderHelperCollapsible.getQuadYPosZNeg(RenderHelperCollapsible.java:19)
at com.carpentersblocks.renderer.bakedblock.BakedCollapsibleBlock.fillQuads(BakedCollapsibleBlock.java:31)
at com.carpentersblocks.renderer.AbstractBakedModel.func_188616_a(AbstractBakedModel.java:48)
at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.render(ForgeBlockModelRenderer.java:99)
at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.func_187498_b(ForgeBlockModelRenderer.java:85)
at net.minecraft.client.renderer.BlockModelRenderer.func_187493_a(BlockModelRenderer.java:47)
at net.minecraft.client.renderer.BlockModelRenderer.func_178267_a(BlockModelRenderer.java:38)
at net.minecraft.client.renderer.BlockRendererDispatcher.func_175018_a(BlockRendererDispatcher.java:80)
at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:200)
at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(SourceFile:100)
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.func_178505_b(ChunkRenderDispatcher.java:172)
at net.minecraft.client.renderer.RenderGlobal.func_174970_a(RenderGlobal.java:976)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1316)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1062)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
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 --
Thread: Client thread
Stacktrace:
at java.util.Objects.requireNonNull(Objects.java:203)
at java.util.Arrays$ArrayList.(Arrays.java:3813)
at java.util.Arrays.asList(Arrays.java:3800)
at com.carpentersblocks.renderer.Quad.applyFacing(Quad.java:308)
at com.carpentersblocks.renderer.Quad.(Quad.java:38)
at com.carpentersblocks.renderer.Quad.getQuad(Quad.java:102)
at com.carpentersblocks.renderer.Quad.getQuad(Quad.java:86)
at com.carpentersblocks.renderer.helper.RenderHelperCollapsible.getQuadYPosZNeg(RenderHelperCollapsible.java:19)
at com.carpentersblocks.renderer.bakedblock.BakedCollapsibleBlock.fillQuads(BakedCollapsibleBlock.java:31)
at com.carpentersblocks.renderer.AbstractBakedModel.func_188616_a(AbstractBakedModel.java:48)
at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.render(ForgeBlockModelRenderer.java:99)
at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.func_187498_b(ForgeBlockModelRenderer.java:85)

-- Block model being tesselated --
Details:
Block: carpentersblocks:carpenters_collapsible_block[facing=up]
Block location: World: (30,67,-96), Chunk: (at 14,4,0 in 1,-6; contains blocks 16,0,-96 to 31,255,-81), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Using AO: true
Stacktrace:
at net.minecraft.client.renderer.BlockModelRenderer.func_187493_a(BlockModelRenderer.java:47)
at net.minecraft.client.renderer.BlockModelRenderer.func_178267_a(BlockModelRenderer.java:38)

-- Block being tesselated --
Details:
Block type: ID #534 (tile.blockCarpentersCollapsibleBlock // com.carpentersblocks.block.BlockCarpentersCollapsibleBlock)
Block data value: 0 / 0x0 / 0b0000
Block location: World: (30,67,-96), Chunk: (at 14,4,0 in 1,-6; contains blocks 16,0,-96 to 31,255,-81), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
at net.minecraft.client.renderer.BlockRendererDispatcher.func_175018_a(BlockRendererDispatcher.java:80)
at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:200)
at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(SourceFile:100)
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.func_178505_b(ChunkRenderDispatcher.java:172)
at net.minecraft.client.renderer.RenderGlobal.func_174970_a(RenderGlobal.java:976)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1316)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['MCrafterzz'/303, l='MpServer', x=31.74, y=67.00, z=-93.23]]
Chunk stats: MultiplayerChunkCache: 289, 289
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (28,64,-64), Chunk: (at 12,4,0 in 1,-4; contains blocks 16,0,-64 to 31,255,-49), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 22648 game time, 7096 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: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 107 total; [EntitySkeleton['Skeleton'/526, l='MpServer', x=15.53, y=30.00, z=-49.23], EntitySkeleton['Skeleton'/527, l='MpServer', x=13.38, y=32.88, z=-37.51], EntityWitch['Witch'/532, l='MpServer', x=11.89, y=32.00, z=-43.50], EntityCreeper['Creeper'/796, l='MpServer', x=42.50, y=47.00, z=-51.50], EntityPlayerSP['MCrafterzz'/303, l='MpServer', x=31.74, y=67.00, z=-93.23], EntityZombie['Zombie'/307, l='MpServer', x=53.50, y=17.00, z=-48.50], EntityRabbit['Rabbit'/71, l='MpServer', x=-49.10, y=66.00, z=-61.50], EntityCreeper['Creeper'/73, l='MpServer', x=-39.70, y=18.00, z=-113.36], EntityCreeper['Creeper'/74, l='MpServer', x=-39.54, y=15.00, z=-110.84], EntityRabbit['Rabbit'/76, l='MpServer', x=-43.55, y=69.00, z=-53.93], EntityCreeper['Creeper'/588, l='MpServer', x=53.50, y=33.00, z=-117.50], EntityCreeper['Creeper'/593, l='MpServer', x=18.15, y=22.00, z=-136.39], EntityCreeper['Creeper'/594, l='MpServer', x=16.50, y=21.00, z=-132.50], EntityChicken['Chicken'/85, l='MpServer', x=-23.50, y=70.00, z=-166.50], EntityChicken['Chicken'/86, l='MpServer', x=-23.50, y=70.00, z=-167.50], EntityChicken['Chicken'/87, l='MpServer', x=-23.50, y=70.00, z=-167.50], EntityChicken['Chicken'/88, l='MpServer', x=-15.86, y=64.00, z=-158.55], EntityDonkey['Donkey'/92, l='MpServer', x=-24.84, y=65.00, z=-152.02], EntitySkeleton['Skeleton'/93, l='MpServer', x=-17.56, y=30.00, z=-50.22], EntitySkeleton['Skeleton'/94, l='MpServer', x=-16.50, y=30.00, z=-55.50], EntitySkeleton['Skeleton'/96, l='MpServer', x=-6.52, y=22.00, z=-147.72], EntityChicken['Chicken'/97, l='MpServer', x=-8.50, y=65.00, z=-147.50], EntityChicken['Chicken'/98, l='MpServer', x=-8.50, y=65.00, z=-147.50], EntityChicken['Chicken'/99, l='MpServer', x=-8.50, y=65.00, z=-147.50], EntityChicken['Chicken'/100, l='MpServer', x=-2.58, y=68.00, z=-151.50], EntityItem['item.item.egg'/101, l='MpServer', x=-8.02, y=65.00, z=-147.23], EntityItem['item.item.egg'/102, l='MpServer', x=-10.00, y=65.00, z=-148.43], EntityHorse['Horse'/103, l='MpServer', x=4.92, y=72.00, z=-117.87], EntityItem['item.item.egg'/104, l='MpServer', x=-3.81, y=72.00, z=-110.11], EntityHorse['Horse'/105, l='MpServer', x=-13.90, y=72.00, z=-93.87], EntitySkeleton['Skeleton'/875, l='MpServer', x=55.50, y=25.00, z=-49.50], EntitySkeleton['Skeleton'/876, l='MpServer', x=59.50, y=25.00, z=-51.50], EntitySkeleton['Skeleton'/625, l='MpServer', x=41.50, y=36.00, z=-105.50], EntityCreeper['Creeper'/114, l='MpServer', x=3.50, y=59.00, z=-122.50], EntityChicken['Chicken'/115, l='MpServer', x=6.07, y=72.00, z=-110.91], EntityHorse['Horse'/116, l='MpServer', x=7.05, y=73.00, z=-128.91], EntityChicken['Chicken'/117, l='MpServer', x=8.35, y=73.00, z=-122.16], EntityRabbit['Rabbit'/118, l='MpServer', x=7.49, y=71.00, z=-131.02], EntityItem['item.item.egg'/119, l='MpServer', x=8.23, y=73.00, z=-120.04], EntityItem['item.item.egg'/120, l='MpServer', x=8.94, y=73.00, z=-121.85], EntityChicken['Chicken'/121, l='MpServer', x=24.13, y=67.00, z=-129.23], EntityChicken['Chicken'/122, l='MpServer', x=3.42, y=72.00, z=-118.10], EntityZombie['Zombie'/123, l='MpServer', x=15.50, y=48.00, z=-101.72], EntityCreeper['Creeper'/124, l='MpServer', x=10.96, y=50.07, z=-88.75], EntityZombie['Zombie'/125, l='MpServer', x=10.20, y=51.00, z=-88.17], EntitySkeleton['Skeleton'/126, l='MpServer', x=11.70, y=50.00, z=-88.30], EntitySkeleton['Skeleton'/127, l='MpServer', x=12.26, y=51.00, z=-89.54], EntitySkeleton['Skeleton'/128, l='MpServer', x=21.70, y=51.00, z=-85.50], EntitySpider['Spider'/129, l='MpServer', x=4.52, y=60.00, z=-64.22], EntityHorse['Horse'/130, l='MpServer', x=19.32, y=71.00, z=-74.57], EntitySkeleton['Skeleton'/131, l='MpServer', x=6.30, y=28.00, z=-48.50], EntityHorse['Horse'/132, l='MpServer', x=8.97, y=71.00, z=-46.11], EntityCreeper['Creeper'/646, l='MpServer', x=27.50, y=30.00, z=-50.50], EntityZombie['Zombie'/143, l='MpServer', x=28.53, y=57.00, z=-175.20], EntityZombie['Zombie'/144, l='MpServer', x=27.84, y=56.00, z=-174.70], EntityChicken['Chicken'/145, l='MpServer', x=26.63, y=64.00, z=-162.19], EntityChicken['Chicken'/146, l='MpServer', x=25.90, y=64.00, z=-160.09], EntityChicken['Chicken'/149, l='MpServer', x=19.90, y=67.00, z=-130.19], EntityBat['Bat'/151, l='MpServer', x=19.25, y=53.10, z=-107.25], EntityBat['Bat'/152, l='MpServer', x=16.75, y=51.10, z=-107.52], EntityItem['item.tile.chisel.lavastone'/153, l='MpServer', x=21.11, y=67.00, z=-85.64], EntityItem['item.tile.chisel.bricks'/154, l='MpServer', x=16.84, y=67.00, z=-88.79], EntityItem['item.tile.chisel.wool_white'/155, l='MpServer', x=19.53, y=67.06, z=-90.33], EntityItem['item.tile.chisel.wool_white'/156, l='MpServer', x=19.36, y=67.06, z=-90.55], EntitySkeleton['Skeleton'/157, l='MpServer', x=23.30, y=40.01, z=-76.30], EntityBat['Bat'/158, l='MpServer', x=31.25, y=53.10, z=-68.25], EntityBat['Bat'/159, l='MpServer', x=22.86, y=41.10, z=-38.75], EntityHorse['Horse'/160, l='MpServer', x=36.86, y=71.00, z=-54.86], EntityBat['Bat'/417, l='MpServer', x=28.69, y=35.33, z=-29.40], EntityBat['Bat'/418, l='MpServer', x=33.25, y=36.10, z=-40.25], EntitySkeleton['Skeleton'/930, l='MpServer', x=58.74, y=59.00, z=-88.52], EntityBat['Bat'/419, l='MpServer', x=60.37, y=17.39, z=-44.26], EntitySkeleton['Skeleton'/931, l='MpServer', x=66.50, y=57.00, z=-94.50], EntityChicken['Chicken'/164, l='MpServer', x=32.64, y=64.00, z=-163.12], EntitySkeleton['Skeleton'/932, l='MpServer', x=68.50, y=57.00, z=-95.50], EntityChicken['Chicken'/166, l='MpServer', x=33.50, y=64.00, z=-156.50], EntityItem['item.item.egg'/167, l='MpServer', x=34.42, y=64.00, z=-156.23], EntityChicken['Chicken'/168, l='MpServer', x=37.69, y=67.00, z=-130.13], EntityItem['item.item.egg'/169, l='MpServer', x=38.23, y=67.00, z=-130.03], EntityItem['item.item.egg'/170, l='MpServer', x=39.44, y=67.00, z=-128.17], EntityChicken['Chicken'/171, l='MpServer', x=40.02, y=67.00, z=-127.48], EntityZombie['Zombie'/172, l='MpServer', x=45.78, y=55.00, z=-84.55], EntityHorse['Horse'/173, l='MpServer', x=32.12, y=69.00, z=-76.12], EntityCreeper['Creeper'/174, l='MpServer', x=47.18, y=57.00, z=-70.54], EntityBat['Bat'/175, l='MpServer', x=44.25, y=57.10, z=-76.69], EntityBat['Bat'/176, l='MpServer', x=47.75, y=57.10, z=-75.81], EntityZombie['Zombie'/177, l='MpServer', x=46.51, y=25.00, z=-36.80], EntityDonkey['Donkey'/178, l='MpServer', x=47.50, y=63.00, z=-34.50], EntityChicken['Chicken'/192, l='MpServer', x=51.65, y=67.00, z=-111.12], EntityItem['item.item.egg'/193, l='MpServer', x=62.97, y=67.00, z=-105.23], EntityCreeper['Creeper'/194, l='MpServer', x=47.54, y=54.00, z=-85.78], EntityHorse['Horse'/195, l='MpServer', x=61.31, y=67.00, z=-92.11], EntityHorse['Horse'/196, l='MpServer', x=59.94, y=67.00, z=-92.97], EntityBat['Bat'/454, l='MpServer', x=76.20, y=19.68, z=-59.75], EntityCreeper['Creeper'/967, l='MpServer', x=-35.50, y=16.00, z=-134.50], EntityRabbit['Rabbit'/207, l='MpServer', x=67.74, y=68.00, z=-135.50], EntityRabbit['Rabbit'/208, l='MpServer', x=72.52, y=66.00, z=-137.98], EntitySkeleton['Skeleton'/209, l='MpServer', x=65.49, y=26.00, z=-109.73], EntitySpider['Spider'/210, l='MpServer', x=71.50, y=16.00, z=-86.50], EntityRabbit['Rabbit'/211, l='MpServer', x=74.50, y=68.00, z=-84.50], EntityRabbit['Rabbit'/218, l='MpServer', x=71.53, y=67.00, z=-88.63], EntitySpider['Spider'/226, l='MpServer', x=101.55, y=34.00, z=-175.03], EntityBat['Bat'/994, l='MpServer', x=-31.53, y=37.05, z=-68.72], EntityCreeper['Creeper'/485, l='MpServer', x=109.50, y=15.00, z=-72.50], EntityCreeper['Creeper'/492, l='MpServer', x=60.50, y=25.00, z=-44.50], EntityCreeper['Creeper'/500, l='MpServer', x=-27.50, y=20.00, z=-118.50], EntityZombie['Zombie'/503, l='MpServer', x=46.50, y=13.00, z=-59.50]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:420)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2748)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:418)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 644167080 bytes (614 MB) / 1056964608 bytes (1008 MB) up to 1073741824 bytes (1024 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP 9.42 Powered by Forge 14.23.2.2631 9 mods loaded, 9 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.2631.jar                   | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | forge             | 14.23.2.2631      | forge-1.12.2-14.23.2.2631.jar                   | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAAAA | mercurius_updater | 1.0               | MercuriusUpdater-1.12.2.jar                     | None                                     |
| UCHIJAAAA | carpentersblocks  | 3.4.003 POC       | Carpenter's Blocks v3.4.003 POC - MC 1.12.2.jar | None                                     |
| UCHIJAAAA | ctm               | MC1.12-0.2.3.12   | CTM-MC1.12-0.2.3.12.jar                         | None                                     |
| UCHIJAAAA | chisel            | MC1.12.2-0.2.0.31 | Chisel-MC1.12.2-0.2.0.31.jar                    | None                                     |
| UCHIJAAAA | styledblocks      | 4.0.0             | styledblocks-mc1.12-4.0.0.jar                   | None                                     |

Loaded coremods (and transformers): 

CTMCorePlugin (CTM-MC1.12-0.2.3.12.jar)
team.chisel.ctm.client.asm.CTMTransformer
GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 20.19.15.4642' Renderer: 'Intel(R) HD Graphics 4400'
Launched Version: 1.12.2-forge1.12.2-14.23.2.2631
LWJGL: 2.9.4
OpenGL: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build 20.19.15.4642, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: vanilla
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz

I know that it currently isn't even in alpha but I thought that I'll let you know about this if you didn't already.

commented

Alright, our server has now had two different people with the same bug, which is currently everyone who has tried to use collapseble blocks. Crash logs for each person are attached.
crash-2018-05-25_15.32.50-client.txt
crash-2018-05-25_11.40.26-client.txt

.

commented

I see the issue. Working on it.

commented

Just to give you guys an update: this isn't a quick fix. I have a code change that resolves the crash but texture UV mapping on sloped surfaces are inconsistent. If you require use of the collapsible block, I'd suggest downgrading for the time being.