java.lang.IllegalArgumentException: buffer not allocated with newUnsafeByteBuffer or already disposed

GitHub | rafcolson | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bug: don't dispose of already disposed models in Bdx.dispose()

    GitHub | 8 months ago | rafcolson
    java.lang.IllegalArgumentException: buffer not allocated with newUnsafeByteBuffer or already disposed
  2. 0

    Android: AssetManager crashing app after reopening

    GitHub | 3 years ago | mrgame64
    java.lang.IllegalArgumentException: buffer not allocated with newUnsafeByteBuffer or already disposed
  3. 0

    must implement the inherited method ApplicationListener.render()

    Stack Overflow | 4 years ago | user1701856
    java.lang.IllegalArgumentException: buffer not allocated with newUnsafeByteBuffer or already disposed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    the-eclipse

    appspot.com | 1 year ago
    java.lang.IllegalArgumentException: buffer not allocated with newUnsafeByteBuffer or already disposed
  6. 0

    no uniform with name 'u_proj' in shader

    Stack Overflow | 2 years ago | Jules Tamagnan
    java.lang.IllegalArgumentException: no uniform with name 'u_proj' in shader ... com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:206) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)ackends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:206)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      buffer not allocated with newUnsafeByteBuffer or already disposed

      at com.badlogic.gdx.utils.BufferUtils.disposeUnsafeByteBuffer()
    2. libGDX Core
      SpriteBatch.dispose
      1. com.badlogic.gdx.utils.BufferUtils.disposeUnsafeByteBuffer(BufferUtils.java:507)
      2. com.badlogic.gdx.graphics.glutils.VertexArray.dispose(VertexArray.java:65)
      3. com.badlogic.gdx.graphics.Mesh.dispose(Mesh.java:507)
      4. com.badlogic.gdx.graphics.g2d.SpriteBatch.dispose(SpriteBatch.java:1010)
      4 frames
    3. com.nilunder.bdx
      Bdx.dispose
      1. com.nilunder.bdx.Bdx.dispose(Bdx.java:413)
      1 frame
    4. com.raco.test
      BdxApp.dispose
      1. com.raco.test.BdxApp.dispose(BdxApp.java:26)
      1 frame
    5. libGDX LWJGL Backend
      LwjglApplication$1.run
      1. com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:243)
      2. com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
      2 frames