Table and setVisibleColumns problem

When I add rows in a table like this

table.addItem(new Object { “Nicolaus”,“Copernicus”,new Integer(1473)}, new Integer(1));

and I use

table.setVisibleColumns(new Object {“name”});

In get an error? Vaadin complains about an id.

What does this mean? I thought the the integer(1) is the is.

Chris

I already found the answer.

I did the setVisibleColumns( before I entered data. I changed this and now it is working fine.