I got two problems with jme3 recently. The first I think is due to the latest OpenAL fix (r5392), somehow it results in a loop and stack overflow on OSX when starting the application:
java.lang.StackOverflowError
at sun.nio.cs.SingleByteDecoder.decodeArrayLoop(SingleByteDecoder.java:56)
at sun.nio.cs.SingleByteDecoder.decodeLoop(SingleByteDecoder.java:83)
at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:544)
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:140)
at java.lang.StringCoding.decode(StringCoding.java:173)
at java.lang.StringCoding.decode(StringCoding.java:185)
at java.lang.String.<init>(String.java:570)
at java.lang.String.<init>(String.java:593)
at org.lwjgl.openal.ALC10.nalcGetString(Native Method)
at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:155)
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:156)
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:156)
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:156)
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:156)
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:156)
etc...
Second thing is, I get an ArrayIndexOutOfBoundsException when I try to add a light to a spatial. I discovered that problem before updating to the latest svn, so I dont know if thats still true for the current version.
Second thing is, I get an ArrayIndexOutOfBoundsException when I try to add a light to a spatial. I discovered that problem before updating to the latest svn, so I dont know if thats still true for the current version.
I get (the same) error when attemping the above operation in winXP jMonkeyPlatform:
java.lang.ArrayIndexOutOfBoundsException: 0
at com.jme3.light.LightList.add(LightList.java:73)
at com.jme3.scene.Spatial.addLight(Spatial.java:754)
at com.jme3.gde.scenecomposer.SceneComposerTopComponent$7.call(SceneComposerTopComponent.java:363)
at com.jme3.app.AppTask.invoke(AppTask.java:140)
Caused: java.util.concurrent.ExecutionException
at com.jme3.app.AppTask.invoke(AppTask.java:156)
at com.jme3.app.Application.update(Application.java:370)
at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:208)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:112)
at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:144)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:162)
[catch] at java.lang.Thread.run(Thread.java:619)
Second thing is, I get an ArrayIndexOutOfBoundsException when I try to add a light to a spatial. I discovered that problem before updating to the latest svn, so I dont know if thats still true for the current version.
I get (the same) error when attemping the above operation in winXP jMonkeyPlatform:
java.lang.ArrayIndexOutOfBoundsException: 0
at com.jme3.light.LightList.add(LightList.java:73)
at com.jme3.scene.Spatial.addLight(Spatial.java:754)
at com.jme3.gde.scenecomposer.SceneComposerTopComponent$7.call(SceneComposerTopComponent.java:363)
at com.jme3.app.AppTask.invoke(AppTask.java:140)
Caused: java.util.concurrent.ExecutionException
at com.jme3.app.AppTask.invoke(AppTask.java:156)
at com.jme3.app.Application.update(Application.java:370)
at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:208)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:112)
at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:144)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:162)
[catch] at java.lang.Thread.run(Thread.java:619)
Using the most up to date code from the SVN, I don't get that exception :? Could you paste the code that you're using to throw the exception?