java.lang.IllegalStateException: Matrix is singular and cannot be inverted.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by rpicolet
, 1 year ago
Matrix is singular and cannot be inverted.
java.lang.IllegalStateException: Matrix is singular and cannot be inverted.
at org.rajawali3d.math.Matrix4.inverse(Matrix4.java:348)
at org.rajawali3d.math.Matrix4.setToNormalMatrix(Matrix4.java:726)
at org.rajawali3d.materials.Material.setModelMatrix(Material.java:1076)
at org.rajawali3d.Object3D.render(Object3D.java:300)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:343)
at org.rajawali3d.Object3D.render(Object3D.java:184)
at org.rajawali3d.scene.Scene.render(Scene.java:1135)
at org.rajawali3d.scene.Scene.render(Scene.java:1002)
at org.rajawali3d.renderer.Renderer.render(Renderer.java:420)
at org.rajawali3d.renderer.Renderer.onRender(Renderer.java:410)
at org.rajawali3d.renderer.Renderer.onRenderFrame(Renderer.java:385)
at com.stupidhardgames.stuawki.control.scene3d.impl.Scene3DRenderer.onRenderFrame(Scene3DRenderer.java:64)
at org.rajawali3d.view.SurfaceView$RendererDelegate.onDrawFrame(SurfaceView.java:235)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1532)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1249)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.