title: Apache POI Trouble With Font
body: <p>I am getting a strange error using Apache POI version 3.15 (currently the most recent stable non-beta build) and my internet searches do not show anyone else with this error. I am trying to simply bold a cell, for example:</p>
  
  <pre><code>Workbook wb = new HSSFWorkbook();
  HSSFFont font = wb.createFont();
  font.setBold(true);
  </code></pre>
  
  <p>Already I run into an issue where it claims the font the workbook is creating isn't a HSSFFont, but some normal font:</p>
  
  <blockquote>
    <p>incompatible types: Font cannot be converted to HSSFFont</p>
  </blockquote>
  
  <p>I've tried creating a normal font and applying it to the CellStyle, but that causes a nullPointerException when adding it to the cellStyle. I'm at a loss.</p>