IndexOutOfBoundsException

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

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

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

@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?
@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..

Anyway it runs with the stable build. Thanks!