[Fixed] [Odejava] getNativeAddr() problem

I’ve got a problem with object identifications.
I have two objects in my world : one cube and one sphere.
When I do :

System.out.println("Cube ID = "+cube.getNativeAddr());

I get :
Cube ID = 0
But when there is a collision between the Sphere and the Cube, GeomID1 and GeomID2 are something like that :
GeomID1 = 136384632 GeomID2 = 136373288

Can anyone help ?

After more debug tests, I’ve seen that all geoms have an ID of 0.
The cube is static ( only a geom ) and the sphere has a body.
When I get the sphere body id using body.getNativeAdr() I get a regular ID.
When I get the sphere geom id using body.getGeom().getNativeAddr() I get 0.

What’s the problem ?

Okay, I fixed it…

But I learned a big lesson : never report a bug until you download the latest version !!

Since I upgraded to the 10-30 CVS snapshot and binaries, no problem !