You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
When I call getJointNode((u32) x) from an IAnimatedMeshScene node, Ill get a "Joint not loaded into node". But when I call getJointNode with the name, for example getJointNode("cube") it works. I know that the number is correct because I check the index by calling getBoneIndex() from IBoneSceneNode. And this is also working: