This is the most obvious I have seenmust be true beginner. Anyway when you get NullPointerException than look at the line and see if any object on which you are calling method, variable or doing synchronization is null , that would be the reason.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |