Please post the source code which causes this error. It is guesswork to determine the cause of the exception based upon the stack trace alone.