Thanks for the reply Tony. The exception was due to my IDE's version Control . It was not reading an updated class file . Sandhya