Originally posted by mandlar suurla:
yeah works, i dont know even myself why i wrote null
How do you write your code? Do you use any
IDE? If not I would strongly suggest you start using one. Any decent IDE allows you to set breakpoints and run your code in Debug mode so you can easily identify what is causing the NPE.
NPE is almost invariably because of programming errors. No offence, but posting NPE in the forum is kind of childish !