Unsupported Operation Exception while adding control to a cube

i have made an CubeChaserControl class having an control of ray casting and a Unsupported operation exception is coming when we run the file i.e, CubeChaser class

Code:-

geom.addControl(new CubeChaserControl(cam, rootNode)); //error comes here;

Please provide the stack trace.

hmm actually i got it an exception was der in a update() method i just removed it

sorry for disturbing