Is there a NullPointerException being thrown? If so, what line throws it? More information would help us quite a bit.