This question already has an answer here:
What is a NullPointerException, and how do I fix it?
I think you want
if grille[i][j] == null instead of dereferencing joueur on it.
The problem with your code is that you have empty spots in your array. The loops are going to make blind calls,
grille. Since you didn't assign
grille it's null. Thus your null pointer exception.