Where is g assigned a value? If you are not sure what is in g, print out its value with println()
Type: Posts; User: Norm
Where is g assigned a value? If you are not sure what is in g, print out its value with println()
Look at line 53 and find the variable with the null value. Then backtrack in the code to see why that variable has a null value.
NullPointerException
Please post the full text of the error messages like you did in post #1