Project Red - Core

Project Red - Core

43M Downloads

[CRASH] [1.10.2] Tessellating CCL Block in World

Utildayael opened this issue · 14 comments

commented

Crash on joining MP server. Doesn't happen all the time. Looks like PR Transmission. I know the area I loaded in has some red alloy wires...

Description: Tessellating CCL block in world

java.lang.ArrayIndexOutOfBoundsException: 44
	at mrtjp.projectred.transmission.WireModelGen$$anonfun$addVerts$1.apply$mcVI$sp(RenderWire.scala:392)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
	at mrtjp.projectred.transmission.WireModelGen$.addVerts(RenderWire.scala:392)
	at mrtjp.projectred.transmission.WireModelGen$.mrtjp$projectred$transmission$WireModelGen$$generateSide(RenderWire.scala:257)
	at mrtjp.projectred.transmission.WireModelGen$$anonfun$generateModel$1.apply$mcVI$sp(RenderWire.scala:202)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
	at mrtjp.projectred.transmission.WireModelGen$.generateModel(RenderWire.scala:202)
	at mrtjp.projectred.transmission.RenderWire$.getOrGenerateModel(RenderWire.scala:59)
	at mrtjp.projectred.transmission.RenderWire$.render(RenderWire.scala:72)
	at mrtjp.projectred.transmission.WirePart.doStaticTessellation(wireabstracts.scala:284)
	at mrtjp.projectred.transmission.TWireCommons$class.renderStatic(wireabstracts.scala:148)
	at mrtjp.projectred.transmission.WirePart.renderStatic(wireabstracts.scala:191)
	at codechicken.multipart.TileMultipartClient$$anonfun$renderStatic$1.apply(TileMultipart.scala:557)
	at codechicken.multipart.TileMultipartClient$$anonfun$renderStatic$1.apply(TileMultipart.scala:557)
	at scala.collection.TraversableOnce$$anonfun$count$1.apply(TraversableOnce.scala:115)
	at scala.collection.TraversableOnce$$anonfun$count$1.apply(TraversableOnce.scala:114)
	at scala.collection.immutable.List.foreach(List.scala:383)
	at scala.collection.TraversableOnce$class.count(TraversableOnce.scala:114)
	at scala.collection.AbstractTraversable.count(Traversable.scala:104)
	at codechicken.multipart.TileMultipartClient$class.renderStatic(TileMultipart.scala:557)
	at TileMultipart_cmp$$0.renderStatic(Unknown Source)
	at codechicken.multipart.MultipartRenderer$.renderBlock(MultipartRenderer.scala:92)
	at codechicken.lib.render.block.BlockRenderingRegistry.renderBlock(BlockRenderingRegistry.java:94)
	at codechicken.lib.render.block.CCBlockRendererDispatcher.func_175018_a(CCBlockRendererDispatcher.java:53)
	at mods.betterfoliage.client.Hooks.renderWorldBlock(Hooks.kt:97)
	at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:290)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(ChunkRenderWorker.java:119)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.run(ChunkRenderWorker.java:47)
	at java.lang.Thread.run(Unknown Source)

Full log:
https://pastebin.com/6EuDYYDP

MC 1.10.2
Forge 12.18.3.2254
PR 4.8.1.25

commented

I have several players on my server also experiencing this issue. We are running FTB Beyond 1.2.1.

java.lang.ArrayIndexOutOfBoundsException: 48
	at mrtjp.projectred.transmission.WireModelGen$$anonfun$addVerts$1.apply$mcVI$sp(RenderWire.scala:392)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
	at mrtjp.projectred.transmission.WireModelGen$.addVerts(RenderWire.scala:392)
	at mrtjp.projectred.transmission.WireModelGen$.mrtjp$projectred$transmission$WireModelGen$$generateSide(RenderWire.scala:257)
	at mrtjp.projectred.transmission.WireModelGen$$anonfun$generateModel$1.apply$mcVI$sp(RenderWire.scala:202)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
	at mrtjp.projectred.transmission.WireModelGen$.generateModel(RenderWire.scala:202)
	at mrtjp.projectred.transmission.RenderWire$.getOrGenerateModel(RenderWire.scala:59)
	at mrtjp.projectred.transmission.RenderWire$.render(RenderWire.scala:72)
	at mrtjp.projectred.transmission.WirePart.doStaticTessellation(wireabstracts.scala:284)
	at mrtjp.projectred.transmission.TWireCommons$class.renderStatic(wireabstracts.scala:148)
	at mrtjp.projectred.transmission.WirePart.renderStatic(wireabstracts.scala:191)
	at codechicken.multipart.TileMultipartClient$$anonfun$renderStatic$1.apply(TileMultipart.scala:557)
	at codechicken.multipart.TileMultipartClient$$anonfun$renderStatic$1.apply(TileMultipart.scala:557)
	at scala.collection.TraversableOnce$$anonfun$count$1.apply(TraversableOnce.scala:115)
	at scala.collection.TraversableOnce$$anonfun$count$1.apply(TraversableOnce.scala:114)
	at scala.collection.immutable.List.foreach(List.scala:383)
	at scala.collection.TraversableOnce$class.count(TraversableOnce.scala:114)
	at scala.collection.AbstractTraversable.count(Traversable.scala:104)
	at codechicken.multipart.TileMultipartClient$class.renderStatic(TileMultipart.scala:557)
	at TileMultipart_cmp$$2.renderStatic(Unknown Source)
	at codechicken.multipart.MultipartRenderer$.renderBlock(MultipartRenderer.scala:92)
	at codechicken.lib.render.block.BlockRenderingRegistry.renderBlock(BlockRenderingRegistry.java:93)
	at codechicken.lib.render.block.CCBlockRendererDispatcher.func_175018_a(CCBlockRendererDispatcher.java:53)
	at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:199)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(SourceFile:100)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.run(SourceFile:43)
	at java.lang.Thread.run(Thread.java:745)

Full log: https://pastebin.com/pizK5sdb

MC 1.10.2
Forge 12.18.3.2254
PR 4.8.1.25
Forge Multipart CBE 2.0.0.29

commented

Same:

Description: Tessellating CCL block in world

java.lang.ArrayIndexOutOfBoundsException: 44
	at mrtjp.projectred.transmission.WireModelGen$$anonfun$addVerts$1.apply$mcVI$sp(RenderWire.scala:392)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
	at mrtjp.projectred.transmission.WireModelGen$.addVerts(RenderWire.scala:392)
	at mrtjp.projectred.transmission.WireModelGen$.mrtjp$projectred$transmission$WireModelGen$$generateSide(RenderWire.scala:257)
	at mrtjp.projectred.transmission.WireModelGen$$anonfun$generateModel$1.apply$mcVI$sp(RenderWire.scala:202)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
	at mrtjp.projectred.transmission.WireModelGen$.generateModel(RenderWire.scala:202)
	at mrtjp.projectred.transmission.RenderWire$.getOrGenerateModel(RenderWire.scala:59)
	at mrtjp.projectred.transmission.RenderWire$.render(RenderWire.scala:72)
	at mrtjp.projectred.transmission.WirePart.doStaticTessellation(wireabstracts.scala:284)
	at mrtjp.projectred.transmission.TWireCommons$class.renderStatic(wireabstracts.scala:148)
	at mrtjp.projectred.transmission.WirePart.renderStatic(wireabstracts.scala:191)
	at codechicken.multipart.TileMultipartClient$$anonfun$renderStatic$1.apply(TileMultipart.scala:557)
	at codechicken.multipart.TileMultipartClient$$anonfun$renderStatic$1.apply(TileMultipart.scala:557)
	at scala.collection.TraversableOnce$$anonfun$count$1.apply(TraversableOnce.scala:115)
	at scala.collection.TraversableOnce$$anonfun$count$1.apply(TraversableOnce.scala:114)
	at scala.collection.immutable.List.foreach(List.scala:383)
	at scala.collection.TraversableOnce$class.count(TraversableOnce.scala:114)
	at scala.collection.AbstractTraversable.count(Traversable.scala:104)
	at codechicken.multipart.TileMultipartClient$class.renderStatic(TileMultipart.scala:557)
	at TileMultipart_cmp$$0.renderStatic(Unknown Source)
	at codechicken.multipart.MultipartRenderer$.renderBlock(MultipartRenderer.scala:92)
	at codechicken.lib.render.block.BlockRenderingRegistry.renderBlock(BlockRenderingRegistry.java:94)
	at codechicken.lib.render.block.CCBlockRendererDispatcher.func_175018_a(CCBlockRendererDispatcher.java:53)
	at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:290)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(ChunkRenderWorker.java:119)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.run(ChunkRenderWorker.java:47)
	at java.lang.Thread.run(Thread.java:745)
commented

Experiencing the same error message as Eufranio.

crash-2017-04-10_19.16.17-client.txt

commented

I get this error also. Can produce almost on command by breaking a read alloy wire with an area of effect tool.

commented
commented

a lot of players cant join to my modpack server because of this..

commented

Ok, is there a minimal modlist for this to happen, or a specific way to reproduce this, cant seem to in dev..

commented
commented
commented
commented

Most likely a concurrency issue with the wire model generator. I have already committed a fix a while back.

commented
commented

Thank you MrTJP, What version of project red should this fix affect? Is there any chance of seeing it soon?

commented

Definitely by the end of today, just trying to finish up a few things