Without seeing a complete (small) program that compiles, executes and shows the problem, most of this discussion is pretty useless.
Type: Posts; User: Norm
Without seeing a complete (small) program that compiles, executes and shows the problem, most of this discussion is pretty useless.
That is the most common cause of a NPE.
Another way is that Array isn't the class but a local variable that is null.