If you want help with the errors, you will have to post the code and the full text of the error messages.
Type: Posts; User: Norm
If you want help with the errors, you will have to post the code and the full text of the error messages.
Are you talking about the variable: control? Have you defined it in more than one place so that the local variable shadows the class level variable?
What is the value of control when that line is executed? Add a println() just before line 74 and print out the value of control and g.
What variable on line 74 is null when that line is executed?
What variable on line 48 is null when that line is executed?