The number of texture error

Sometimes I got an abnormal program termination such as jvm crash or even no log!

Interestingly it occurs on NVidia but not on ATI.

Anyway, I am consulted by an OpenGL expert and fixed it.

He said it is because of the engine bug and I may workaround the problem

by adding textures to meshes(making all the meshs have same number of textures)

If it is really the bug of the jme engine, please look into it.

Or is it the bug of graphics driver?

With your description of the non intended behavior noone can look into anything. More details and log outputs, etc.