[solved] (silly) Problem concearning changed Renderer

Since version 0.9, i get some strange errors when trying to start programs containing getRenderer().

The even stranger thing is: they only appear sometimes, although the code is always the same…

It even appears in the HelloXXXXXXXX programs.

5 minutes before, i wanted to start HelloMousepick:


at HelloMousePick.simpleInitGame(HelloMousePick.java:51)

at com.jme.app.SimpleGame.initGame(Unknown Source)

at com.jme.app.BaseGame.start(Unknown Source)

at HelloMousePick.main(HelloMousePick.java:41)

I have no idea what a “IncompatibleClassChangeError” is supposed to be ^^

Here the code:

45| protected void simpleInitGame() {


47| // Create a new mouse. Restrict its movements to the display screen.

48| am = new AbsoluteMouse(“The Mouse”, display.getWidth(), display.getHeight());


50| // Get a picture for my mouse.

51| TextureState ts = display.getRenderer().createTextureState();


The error also appears in other cases, for example when getting the camera via … getRenderer() …

(Even though this error appeared only once… since then, getting a camera works well

Simply recompile your classes. IncompatibleClassChangeError means a class was compiled against another class which was changed in an incompatible manner.

Oh. Aha. Simple as that.

Thx :slight_smile: