Exception in thread "main" java.lang.NullPointerException
The exception you got is presenting you the line in which the Exception is starting.
In this case it's line 59, which delivers the
to line 67 and then to line 123 where it can not be resolved.
Your test is forcing the exception in line 259 - that's just additional info.
Please enable the line numbers, that will make it easier for you to find the line:Enable line numbers Eclipse
]Enable line numbers Netbeans
You can also set a break point on the exception event. Then the code will stop during debugging when the exception is thrown.
Do so by clicking on the link presented in the exception text.Java Exception Breakpoint