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

GitHub | rpicolet | 4 months ago
  1. 0

    Can't render Object3D with zero position and scale

    GitHub | 4 months ago | rpicolet
    java.lang.IllegalStateException: Matrix is singular and cannot be inverted.
  2. 0
    samebug tip
    Try to reset the previous listener before making any changes to the view.
  3. 0
    samebug tip
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  6. 0
    samebug tip
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Matrix is singular and cannot be inverted.

      at org.rajawali3d.math.Matrix4.inverse()
    2. org.rajawali3d.math
      Matrix4.setToNormalMatrix
      1. org.rajawali3d.math.Matrix4.inverse(Matrix4.java:348)
      2. org.rajawali3d.math.Matrix4.setToNormalMatrix(Matrix4.java:726)
      2 frames
    3. org.rajawali3d.materials
      Material.setModelMatrix
      1. org.rajawali3d.materials.Material.setModelMatrix(Material.java:1076)
      1 frame
    4. org.rajawali3d
      Object3D.render
      1. org.rajawali3d.Object3D.render(Object3D.java:300)
      2. org.rajawali3d.Object3D.render(Object3D.java:343)
      3. org.rajawali3d.Object3D.render(Object3D.java:343)
      4. org.rajawali3d.Object3D.render(Object3D.java:343)
      5. org.rajawali3d.Object3D.render(Object3D.java:343)
      6. org.rajawali3d.Object3D.render(Object3D.java:343)
      7. org.rajawali3d.Object3D.render(Object3D.java:343)
      8. org.rajawali3d.Object3D.render(Object3D.java:343)
      9. org.rajawali3d.Object3D.render(Object3D.java:343)
      10. org.rajawali3d.Object3D.render(Object3D.java:343)
      11. org.rajawali3d.Object3D.render(Object3D.java:343)
      12. org.rajawali3d.Object3D.render(Object3D.java:184)
      12 frames
    5. org.rajawali3d.scene
      Scene.render
      1. org.rajawali3d.scene.Scene.render(Scene.java:1135)
      2. org.rajawali3d.scene.Scene.render(Scene.java:1002)
      2 frames
    6. org.rajawali3d.renderer
      Renderer.onRenderFrame
      1. org.rajawali3d.renderer.Renderer.render(Renderer.java:420)
      2. org.rajawali3d.renderer.Renderer.onRender(Renderer.java:410)
      3. org.rajawali3d.renderer.Renderer.onRenderFrame(Renderer.java:385)
      3 frames
    7. com.stupidhardgames.stuawki
      Scene3DRenderer.onRenderFrame
      1. com.stupidhardgames.stuawki.control.scene3d.impl.Scene3DRenderer.onRenderFrame(Scene3DRenderer.java:64)
      1 frame
    8. org.rajawali3d.view
      SurfaceView$RendererDelegate.onDrawFrame
      1. org.rajawali3d.view.SurfaceView$RendererDelegate.onDrawFrame(SurfaceView.java:235)
      1 frame
    9. Android Platform
      GLSurfaceView$GLThread.run
      1. android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1532)
      2. android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1249)
      2 frames