Menu

#148 Upgrade to POI Version 3.5-FINAL

2.5.1
closed-duplicate
None
5
2015-03-15
2009-11-30
pkamm
No

The current Distribution of DBUnit is incompatible with POI Version 3.5-FINAL causing the following Error

java.lang.NoSuchMethodError:
org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateFormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z
at org.dbunit.dataset.excel.XlsTable.getValue(XlsTable.java:153)
at
org.dbunit.operation.AbstractBatchOperation.isEmpty(AbstractBatchOperation.java:77)
at
org.dbunit.operation.AbstractBatchOperation.execute(AbstractBatchOperation.java:135)
at
com.carlson.cwt.test.db.HsqlDbSqlFileLoader.importXlsDataSet(HsqlDbSqlFileLoader.java:166)

Discussion

  • John Hurst

    John Hurst - 2009-12-27
    • assigned_to: nobody --> jbhurst
    • status: open --> open-accepted
     
  • John Hurst

    John Hurst - 2009-12-27

    Fixed in svn:1132.

     
  • John Hurst

    John Hurst - 2009-12-27
    • status: open-accepted --> closed-fixed
     
  • John Hurst

    John Hurst - 2010-01-23

    I've reopened this ticket and reverted the previous changes, because POI-3.5 is not compatible with Java 1.4, required for the DbUnit "official" profile build. This needs to be resolved before we can include a POI-3.5 dependency.

     
  • John Hurst

    John Hurst - 2010-01-23
    • status: closed-fixed --> open-accepted
     
  • John Hurst

    John Hurst - 2010-01-23

    Perhaps we should put reflection code in here to get this working in the meantime, until we get to DbUnit 3.0 with Java 5 support.

     
  • Jeff Jensen

    Jeff Jensen - 2012-10-20

    John, if we continue to build with Java 6 now, you happy to move forward with this?

    See also 3147832.

     
  • Jeff Jensen

    Jeff Jensen - 2015-03-15

    Completed as pull request 6.

     
  • Jeff Jensen

    Jeff Jensen - 2015-03-15
    • status: open-accepted --> closed-duplicate
    • assigned_to: John Hurst --> Jeff Jensen
    • Release: --> 2.5.1
     

Log in to post a comment.