The bug is in  public XSSFTableColumn createColumn(String columnName, int
columnIndex) function : 
  nextColumnId = Math.max(nextColumnId, tableColumn.getId());
should be : 
  nextColumnId = Math.max(nextColumnId, tableColumn.getId()) + 1;



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-Dev-f2312866.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to