Since that line is the declaration of strName, I would assume you put the println after that line..? Then I would assume nothing is printed because the NPE happens before the println..? What about...
Type: Posts; User: jps
Since that line is the declaration of strName, I would assume you put the println after that line..? Then I would assume nothing is printed because the NPE happens before the println..? What about...
Add some printlns to determine which variable has a null value, (somewhere around line 58 it seems?) then start backtracking to see why a value was not assigned.