java.lang.NullPointerException when filling an array of objects
<p>There's something I'm missing here. with this code I get a <code>java.lang.NullPointerException</code>:</p>

<pre><code>public static void main(String[] args) {

    Board board = new Board();
    board.Initialise();

}


public class Board {

private Obj[][] tableau;

public void Board() {

    tableau = new Obj[8][8];    
}

public void Fill_Board() {

    tableau[0][0]= new Obj('B');
    }
}
</code></pre>

<p>But with this other code I get no error. What I am doing wrong, and how to initialize properly this array of object?</p>

<pre><code>public class Board {

private Obj[][] tableau = new Obj[8][8];

public void Board() {

}

public void Fill_Board() {

    tableau[0][0]= new Obj('B');
    }
}
</code></pre>
