Dan Acuff wrote:QA is reporting an occasional NullPointerException, what in this code could be causing that?
You need to ask for the stacktrace and more details to reproduce the problem.
From what you posted, NPEs could occur in the following lines:
78, 79, 81, 103, 110, 111, 121, 122 ,123, 131, 138, 139, 140, 141, 142, 143, 158, 161, 163, 164, 166, 167, 168, 169, 173, 177, 178, 179, 180, 181, 182 and 183.
But I guess that's not really helpful.