posted 23 years ago
Hi Richa,
There is only one error happening. The rest of the lines are showing you a trace dump so you can see the current stack.
Usually a NullPointerException happens when you try and call a method of a null object. Inside your listener method make sure that all objects you are trying to use are non-null. For example:
if( ob != null )
{
// use it here because it is not null
ob.method();
}
Regards,
Manfred.