IndexOutOfBoundsException (6 posts)

  • Profile picture of nagper nagper said 2 months, 4 weeks ago:

    Hi,

    I got the following Exception after pressing the Start game button on the GUI:

    java.lang.IndexOutOfBoundsException: 202800
    at java.nio.DirectFloatBufferU.put(DirectFloatBufferU.java:270)
    at jme3tools.optimize.GeometryBatchFactory.doTransformTangents(GeometryBatchFactory.java:80)
    at jme3tools.optimize.GeometryBatchFactory.mergeGeometries(GeometryBatchFactory.java:214)
    at com.jme3.monkeyzone.WorldManager.createNavMesh(WorldManager.java:248)
    at com.jme3.monkeyzone.ServerGameManager.startGame(ServerGameManager.java:81)
    at com.jme3.monkeyzone.ServerNetListener$3.call(ServerNetListener.java:166)
    at com.jme3.monkeyzone.ServerNetListener$3.call(ServerNetListener.java:163)
    at com.jme3.app.AppTask.invoke(AppTask.java:142)
    at com.jme3.app.Application.update(Application.java:577)
    at com.jme3.app.SimpleApplication.update(SimpleApplication.java:236)
    at com.jme3.system.NullContext.run(NullContext.java:131)
    at java.lang.Thread.run(Thread.java:662)

    Anyone has any suggestions?

    Thanks
    Peter

  • Profile picture of normen normen1290p said 2 months, 4 weeks ago:

    Run it with the stable version of jme3, not the nightly.

  • Profile picture of nagper nagper said 2 months, 4 weeks ago:

    Thanks Normen, I’ll check it when I got home.

  • Profile picture of Momoko_Fan Momoko_Fan371p said 2 months, 4 weeks ago:

    @normen said:
    Run it with the stable version of jme3, not the nightly.

    Any idea why this is happening? Is this an issue in GeometryBatchFactory that we can fix?

  • Profile picture of normen normen1290p said 2 months, 4 weeks ago:

    @Momoko_Fan said:
    Any idea why this is happening? Is this an issue in GeometryBatchFactory that we can fix?

    I guess so, but I have no idea at hand..

  • Profile picture of nagper nagper said 2 months, 4 weeks ago:

    Anyway it runs with the stable build. Thanks!