I am using Poi3.7 version, earlier my code was written with 2.5 version,
now we are upgrading to export excel 2007 files that are macro enabled
*.xlsm, for that I converted the usermodel by using XSSF instead of
HSSF.

 

I am getting java.lang.VerifyError as follows

 

java.lang.VerifyError: (class:
org/apache/poi/hssf/record/formula/FormulaShifter, method:
adjustPtgDueToRowMove signature:
(Lorg/apache/poi/hssf/record/formula/Ptg;I)Lorg/apache/poi/hssf/record/f
ormula/Ptg;) Incompatible argument to function

        at
org.apache.poi.xssf.usermodel.XSSFSheet.shiftRows(XSSFSheet.java:2176)

        at
org.apache.poi.xssf.usermodel.XSSFSheet.shiftRows(XSSFSheet.java:2125)

        at
com.pweh.engtech.readiness.tasks.L2DetailPlanFormatter.formatCurrentLeve
l(L2DetailPlanFormatter.java:235)

 

The line 235 of my my class L2DetailPlanFormatter.formatCurrenLevel is
as follow, sheet is XSSFSheet. I am not getting any clues here. All the
required jars of POI3.7 are in classpath and no compilation errors. This
error I got during runtime.

 

                                    sheet.shiftRows(row.getRowNum() ,
sheet.getLastRowNum(), rowsneeded);

 

thanks in advance,

sujatha.

  • ... KALLURI, SUJATHA Data Based Development Systems Inc., Manchester, Connecticut
    • ... Nick Burch
      • ... hartford123
        • ... Rahul Ratnakar
          • ... Mark Beardsley
            • ... rahul.ratnakar

Reply via email to