This content has been marked as final. Show 2 replies
The 'safe' way to check for null is
if(a != null)
Edited by: r035198x on Jan 18, 2013 2:13 PM
If the other reply didn't answer your question, post the complete stack trace so we can see WHERE the exception is occurring. Also, use code formatting.