title: Reading Excel with JXL, cell count per row changing between rows
body: <p>I attempted to find a solution already, but nothing has come up that matches my problem. I'm using JXL to read an excel spreadsheet and convert each row into a specified object. Each cell within a row corresponds to a property of the object I'm creating.  My spreadsheet has 41 columns and after reading 375 rows, the number of cells per row changes from 41 to 32. I can't figure out why. </p>
  
  <p>Here's the code where I'm looping through rows and retrieving the cells: </p>
  
  <pre><code>  w = Workbook.getWorkbook(inputWorkbook);
    // Get the first sheet
    Sheet sheet = w.getSheet(0);
    // Loop over first 10 column and lines
  
    for (int row=1; row &lt; sheet.getRows();row++)
    {
        EventData event = new EventData();
        // we skip first row bc that should be header info
        //now iterate through columns in row
        try
        {
            Cell[] cell = sheet.getRow(row);
  
            event.Name = cell[0].getContents();
            event.Location = cell[1].getContents();
  </code></pre>
  
  <p>The rest of the code continues to grab the contents of each cell and assign them accordingly. But when attempting to access cell[32] on row 376, I get an out of bounds exception.</p>