You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/01/14 23:42:54 UTC

DO NOT REPLY [Bug 50588] New: Caused by: java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateFormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z

https://issues.apache.org/bugzilla/show_bug.cgi?id=50588

           Summary: Caused by: java.lang.NoSuchMethodError:
                    org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateF
                    ormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z
           Product: POI
           Version: 3.7
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: Karthik.rengasamy@nbcuni.com


We are using old version of Poi 2.5 in the application .
We recently planned to migrate to latest version poi 3.7 .

I am facing the Following error 


Caused by: java.lang.NoSuchMethodError:
org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateFormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z


Nothing has changed in Code .it works fine with poi 2.5 

I have downloaded the binary distribution from Apache 
I deleted the 2.5 jar in the web application and just moved the latest 3.7 jar
alone poi-ooxml-3.7-20101029.jar


Thanks ,
Karthik

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50588] Caused by: java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateFormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50588

--- Comment #3 from Nick Burch <ni...@alfresco.com> 2011-01-14 17:55:11 EST ---
Binary compatibility is not supported for jumps that large (it's almost 7 years
since poi 2.5!)

You'll need to recompile your application against the new jars

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50588] Caused by: java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateFormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50588

--- Comment #1 from Karthik Rengasamy <Ka...@nbcuni.com> 2011-01-14 17:46:46 EST ---
I explored the 3.7 jar and found the class HSSFDateUtil .It extends 
org.apache.poi.ss.usermodel.DateUtil;

and i can see the method isCellDateFormatted in it .

But still it doesnt works .

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50588] Caused by: java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateFormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50588

Karthik Rengasamy <Ka...@nbcuni.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Karthik.rengasamy@nbcuni.co
                   |                            |m

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50588] Caused by: java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFDateUtil.isCellDateFormatted(Lorg/apache/poi/hssf/usermodel/HSSFCell;)Z

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50588

David Fisher <df...@jmlafferty.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from David Fisher <df...@jmlafferty.com> 2011-01-14 17:54:40 EST ---
Hi Karthik,

Have a look at these resources:

http://poi.apache.org/faq.html
http://poi.apache.org/spreadsheet/quick-guide.html
http://poi.apache.org/spreadsheet/converting.html

Please ask for specific help with updating from 2.5 to 3.7 on the users list.
Include some examples of the code you are using in 2.5.

You will certainly need to assure that you recompile your code without the 2.5
jars in your classpath.

Regards,
Dave

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org