Unsupported operation exception in JME 3.1

I think I’ve figured this out: the problem is when I use the following line of code:


someSkeletonControl.getAttachmentNode("").attachChild(someSpatial);

Other than that, there appear to be no other causes of the exception.