title: Workbook library does not read the cell value if the cell is empty
body: <p>Hi I am reading Excel file from java using jxl workbook library.Below is the code.</p>
  
  <pre><code>Workbook wb = Workbook.getWorkbook(new File(destFile));
  
  String line = "";                   // available
  for (int sheetNo = 0; sheetNo &lt; wb.getNumberOfSheets(); sheetNo++) {
  
    Sheet sheet = wb.getSheet(sheetNo);
    System.out.println("Sheet Name is:\t" + sheet.getName());
    if(sheet.getName().trim().equals("Store List")){
      int columns = sheet.getColumns();
      int rows = sheet.getRows();
      String data;
  
      for (int row = 0; row &lt; rows; row++) {      
        for (int col = 1; col &lt; columns; col++) {
          data = sheet.getCell(col, row).getContents();
          line = line + data + "#";
        }
         line += "#&amp;#";
      }
      System.out.println("Entire line is" + line);
    }
  }
  </code></pre>
  
  <p>The above code reads row&amp;column data from the excel file and passes it to the service method for further processing.</p>
  
  <p>When I traverse it line-by-line for the empty cell, the Java code throws <code>IndexOutOfBoundException</code>. Please find the java code below which throws exception.</p>
  
  <pre><code>for(int elementCount=4;elementCount&lt;elements.length;elementCount++) {
    String strquantity =      rowValues[elementCount];
    int quantity=0;
    if(strquantity.equals("")){
      quantity = 0;
    } else {
      quantity = Integer.parseInt(strquantity);
      System.out.println("Quantity value is:\t" + quantity);
    }
  }
  </code></pre>
  
  <p>As you the above code exception is thrown at line 2.</p>
  
  <p>I believe that cause is due to workbook library.</p>