leMaik / chunky

Photorealistic image renderer for Minecraft 1.2.1+
https://chunky.lemaik.de
GNU General Public License v3.0
40 stars 1 forks source link

uncaught exception JsonModelFace.getColor() #18

Open jackjt8 opened 4 years ago

jackjt8 commented 4 years ago
Render worker 6 crashed with uncaught exception.
java.lang.NullPointerException
    at se.llbit.chunky.block.ResourcepackBlockProvider$JsonModelFace.getColor(ResourcepackBlockProvider.java:613)
    at se.llbit.chunky.block.ResourcepackBlockProvider$JsonModelElement.intersect(ResourcepackBlockProvider.java:731)
    at se.llbit.chunky.block.ResourcepackBlockProvider$JsonModel.intersect(ResourcepackBlockProvider.java:805)
    at se.llbit.math.Octree.enterBlock(Octree.java:488)
    at se.llbit.chunky.renderer.scene.Scene.worldIntersection(Scene.java:638)
    at se.llbit.chunky.renderer.scene.Scene.intersect(Scene.java:614)
    at se.llbit.chunky.renderer.scene.PreviewRayTracer.nextIntersection(PreviewRayTracer.java:98)
    at se.llbit.chunky.renderer.scene.PreviewRayTracer.trace(PreviewRayTracer.java:44)
    at se.llbit.chunky.renderer.scene.Scene.rayTrace(Scene.java:594)
    at se.llbit.chunky.renderer.RenderWorker.work(RenderWorker.java:185)
    at se.llbit.chunky.renderer.RenderWorker.run(RenderWorker.java:73)

Unsure what block caused the issue at this time. Will look into it shortly.

Resourcepack

leMaik commented 4 years ago

Might be fixed in more recent builds.