I am currently working on an Android project where a user can download an "xlsx" file from their email and the Android program will take that file and create a list of objects with it. I am using Android 2.3.3 and the most current POI release 3.9. I have add the following jar files to my build path
poi-3.9-20121203.jar
poi-ooxml-3.9-20121203.jar
poi-ooxml-schemas-3.9-20121203
For some reason when I add the schemas jar and try to build my project in eclipse, eclipse goes through some infinite loop issue that causes it to hang and crash. If I don't add the schemas jar the program compiles and runs but I get the following stack trace errors when trying to create a workbook from an xlsx file.
12-09 14:43:15.542: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getSheets, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.addShee t
12-09 14:43:15.542: W/dalvikvm(15169): VFY: unable to resolve interface method 25426: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getSheets ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheets;
12-09 14:43:15.542: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.542: D/dalvikvm(15169): VFY: dead code 0x0005-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.addSheet (Ljava/lang/String;)Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;
12-09 14:43:15.542: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getSheets, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.contain sSheet
12-09 14:43:15.542: W/dalvikvm(15169): VFY: unable to resolve interface method 25426: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getSheets ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheets;
12-09 14:43:15.542: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.542: D/dalvikvm(15169): VFY: dead code 0x0008-0037 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.containsSheet (Ljava/lang/String;I)Z
12-09 14:43:15.552: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createP rotectionFieldIfNotPresent
12-09 14:43:15.552: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.552: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.552: D/dalvikvm(15169): VFY: dead code 0x0005-0011 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createProtectionFieldIfNotPresent ()V
12-09 14:43:15.552: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getSheets, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onSheet Delete
12-09 14:43:15.552: W/dalvikvm(15169): VFY: unable to resolve interface method 25426: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getSheets ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheets;
12-09 14:43:15.552: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.552: D/dalvikvm(15169): VFY: dead code 0x0005-0052 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onSheetDelete (I)V
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook$Factory.newInstance, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onWorkb ookCreate
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve static method 25417: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook$Factory;.newInstance ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0000
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x0003-005f in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onWorkbookCreate ()V
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTCalcChain;)
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTCalcChain.sizeOfCArray, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.saveCal culationChain
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve interface method 24690: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTCalcChain;.sizeOfCArray ()I
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000a
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x000d-0017 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.saveCalculationChain ()V
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTDefinedNames$Factory.newInstance, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.saveNam edRanges
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve static method 24902: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedNames$Factory;.newInstance ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedNames;
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0008
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.isSetDefinedNames, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.saveNam edRanges
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve interface method 25430: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.isSetDefinedNames ()Z
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x003b
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x000b-0038 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.saveNamedRanges ()V
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x003e-0046 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.saveNamedRanges ()V
12-09 14:43:15.572: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.workboo kProtectionPresent
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.572: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0005-000b in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.workbookProtectionPresent ()Z
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorksheet;)
12-09 14:43:15.572: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorksheet.isSetLegacyDrawing, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.cloneSh eet
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to resolve interface method 25492: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorksheet;.isSetLegacyDrawing ()Z
12-09 14:43:15.572: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x003f
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0042-0088 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.cloneSheet (I)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0096-0109 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.cloneSheet (I)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.572: E/dalvikvm(15169): Could not find class 'org.apache.xmlbeans.XmlOptions', referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.commit
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to resolve new-instance 2402 (Lorg/apache/xmlbeans/XmlOptions;) in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;
12-09 14:43:15.572: D/dalvikvm(15169): VFY: replacing opcode 0x22 at 0x0006
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0008-0048 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.commit ()V
12-09 14:43:15.582: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getDefinedNames, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createB uiltInName
12-09 14:43:15.582: W/dalvikvm(15169): VFY: unable to resolve interface method 25425: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getDefinedNames ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedNames;
12-09 14:43:15.582: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.582: D/dalvikvm(15169): VFY: dead code 0x0008-006e in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createBuiltInName (Ljava/lang/String;I)Lorg/apache/poi/xssf/usermodel/XSSFName;
12-09 14:43:15.582: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDialogsheet;)
12-09 14:43:15.582: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTDefinedName$Factory.newInstance, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createN ame
12-09 14:43:15.582: W/dalvikvm(15169): VFY: unable to resolve static method 24886: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedName$Factory;.newInstance ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedName;
12-09 14:43:15.582: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0000
12-09 14:43:15.582: D/dalvikvm(15169): VFY: dead code 0x0003-0013 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createName ()Lorg/apache/poi/xssf/usermodel/XSSFName;
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;)
12-09 14:43:15.592: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getSheetId, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createS heet
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to resolve interface method 25274: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getSheetId ()J
12-09 14:43:15.592: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0047
12-09 14:43:15.592: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.setId, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createS heet
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to resolve interface method 25277: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.setId (Ljava/lang/String;)V
12-09 14:43:15.592: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x006b
12-09 14:43:15.592: D/dalvikvm(15169): VFY: dead code 0x004a-0054 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createSheet (Ljava/lang/String;)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.592: D/dalvikvm(15169): VFY: dead code 0x006e-0083 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createSheet (Ljava/lang/String;)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.592: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getBookViews, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.getActi veSheetIndex
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to resolve interface method 25423: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getBookViews ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTBookViews;
12-09 14:43:15.592: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.592: D/dalvikvm(15169): VFY: dead code 0x0005-0010 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.getActiveSheetIndex ()I
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;)
12-09 14:43:15.602: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getBookViews, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.getFirs tVisibleTab
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to resolve interface method 25423: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getBookViews ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTBookViews;
12-09 14:43:15.602: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.602: D/dalvikvm(15169): VFY: dead code 0x0005-0011 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.getFirstVisibleTab ()I
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;)
12-09 14:43:15.602: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getCalcPr, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.getForc eFormulaRecalculation
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to resolve interface method 25424: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getCalcPr ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTCalcPr;
12-09 14:43:15.602: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0004
12-09 14:43:15.602: D/dalvikvm(15169): VFY: dead code 0x0007-0017 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.getForceFormulaRecalculation ()Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookPr, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isDate1 904
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25427: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookPr ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookPr;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x0005-0011 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isDate1904 ()Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isRevis ionLocked
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0008
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x000b-0012 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isRevisionLocked ()Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getState, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isSheet Hidden
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25275: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getState ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/STSheetState$Enum;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000d
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x0010-0018 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isSheetHidden (I)Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getState, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isSheet VeryHidden
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25275: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getState ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/STSheetState$Enum;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000d
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x0010-0018 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isSheetVeryHidden (I)Z
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isStruc tureLocked
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0008
12-09 14:43:15.622: D/dalvikvm(15169): VFY: dead code 0x000b-0012 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isStructureLocked ()Z
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isWindo wsLocked
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0008
12-09 14:43:15.622: D/dalvikvm(15169): VFY: dead code 0x000b-0012 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isWindowsLocked ()Z
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.lockRev ision
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.622: D/dalvikvm(15169): VFY: dead code 0x0008-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.lockRevision ()V
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.lockStr ucture
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.632: D/dalvikvm(15169): VFY: dead code 0x0008-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.lockStructure ()V
12-09 14:43:15.632: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.lockWin dows
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.632: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.632: D/dalvikvm(15169): VFY: dead code 0x0008-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.lockWindows ()V
12-09 14:43:15.632: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getSheetId, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onDelet eFormula
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve interface method 25274: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getSheetId ()J
12-09 14:43:15.632: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000a
12-09 14:43:15.632: D/dalvikvm(15169): VFY: dead code 0x000d-0017 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onDeleteFormula (Lorg/apache/poi/xssf/usermodel/XSSFCell;)V
12-09 14:43:15.632: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.WorkbookDocument$Factory.parse, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocum entRead
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve static method 25622: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/WorkbookDocument$Factory;.parse (Ljava/io/InputStream;)Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/WorkbookDocument;
12-09 14:43:15.632: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0008
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve exception class 2398 (Lorg/apache/xmlbeans/XmlException;)
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to find exception handler at addr 0x34
12-09 14:43:15.632: W/dalvikvm(15169): VFY: rejected Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onDocumentRead ()V
12-09 14:43:15.632: W/dalvikvm(15169): VFY: rejecting opcode 0x0d at 0x0034
12-09 14:43:15.632: W/dalvikvm(15169): VFY: rejected Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onDocumentRead ()V
12-09 14:43:15.632: W/dalvikvm(15169): Verifier rejected class Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;
12-09 14:43:17.864: D/AndroidRuntime(15169): Shutting down VM
12-09 14:43:17.864: W/dalvikvm(15169): threadid=1: thread exiting with uncaught exception (group=0x4001e578)
12-09 14:43:17.914: E/AndroidRuntime(15169): FATAL EXCEPTION: main
12-09 14:43:17.914: E/AndroidRuntime(15169): java.lang.VerifyError: org.apache.poi.xssf.usermodel.XSSFWorkbook
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.fileparsers.ExcelParser.getWorkb ook(ExcelParser.java:39)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.fileparsers.ExcelParser.convertE xcelToList(ExcelParser.java:74)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.fileparsers.ExcelParser.parseFil e(ExcelParser.java:30)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.AttachmentProcessor.onCreate(Att achmentProcessor.java:29)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1047)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1615)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:1667)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.access$1500(ActivityThr ead.java:117)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:935)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.os.Handler.dispatchMessage(Handler.java:99 )
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.os.Looper.loop(Looper.java:130)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.main(ActivityThread.jav a:3691)
12-09 14:43:17.914: E/AndroidRuntime(15169): at java.lang.reflect.Method.invokeNative(Native Method)
12-09 14:43:17.914: E/AndroidRuntime(15169): at java.lang.reflect.Method.invoke(Method.java:507)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:907)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:665)
12-09 14:43:17.914: E/AndroidRuntime(15169): at dalvik.system.NativeStart.main(Native Method)
I assume the stack trace errors means I need the schema jar so I am at a brick wall and not sure why I can't build the project with it added to the build path. Does anyone have any suggestions?
Thank You
poi-3.9-20121203.jar
poi-ooxml-3.9-20121203.jar
poi-ooxml-schemas-3.9-20121203
For some reason when I add the schemas jar and try to build my project in eclipse, eclipse goes through some infinite loop issue that causes it to hang and crash. If I don't add the schemas jar the program compiles and runs but I get the following stack trace errors when trying to create a workbook from an xlsx file.
12-09 14:43:15.542: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getSheets, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.addShee t
12-09 14:43:15.542: W/dalvikvm(15169): VFY: unable to resolve interface method 25426: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getSheets ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheets;
12-09 14:43:15.542: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.542: D/dalvikvm(15169): VFY: dead code 0x0005-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.addSheet (Ljava/lang/String;)Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;
12-09 14:43:15.542: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getSheets, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.contain sSheet
12-09 14:43:15.542: W/dalvikvm(15169): VFY: unable to resolve interface method 25426: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getSheets ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheets;
12-09 14:43:15.542: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.542: D/dalvikvm(15169): VFY: dead code 0x0008-0037 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.containsSheet (Ljava/lang/String;I)Z
12-09 14:43:15.552: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createP rotectionFieldIfNotPresent
12-09 14:43:15.552: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.552: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.552: D/dalvikvm(15169): VFY: dead code 0x0005-0011 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createProtectionFieldIfNotPresent ()V
12-09 14:43:15.552: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getSheets, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onSheet Delete
12-09 14:43:15.552: W/dalvikvm(15169): VFY: unable to resolve interface method 25426: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getSheets ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheets;
12-09 14:43:15.552: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.552: D/dalvikvm(15169): VFY: dead code 0x0005-0052 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onSheetDelete (I)V
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook$Factory.newInstance, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onWorkb ookCreate
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve static method 25417: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook$Factory;.newInstance ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0000
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x0003-005f in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onWorkbookCreate ()V
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTCalcChain;)
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTCalcChain.sizeOfCArray, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.saveCal culationChain
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve interface method 24690: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTCalcChain;.sizeOfCArray ()I
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000a
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x000d-0017 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.saveCalculationChain ()V
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTDefinedNames$Factory.newInstance, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.saveNam edRanges
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve static method 24902: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedNames$Factory;.newInstance ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedNames;
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0008
12-09 14:43:15.562: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.isSetDefinedNames, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.saveNam edRanges
12-09 14:43:15.562: W/dalvikvm(15169): VFY: unable to resolve interface method 25430: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.isSetDefinedNames ()Z
12-09 14:43:15.562: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x003b
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x000b-0038 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.saveNamedRanges ()V
12-09 14:43:15.562: D/dalvikvm(15169): VFY: dead code 0x003e-0046 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.saveNamedRanges ()V
12-09 14:43:15.572: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.workboo kProtectionPresent
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.572: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0005-000b in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.workbookProtectionPresent ()Z
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorksheet;)
12-09 14:43:15.572: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorksheet.isSetLegacyDrawing, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.cloneSh eet
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to resolve interface method 25492: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorksheet;.isSetLegacyDrawing ()Z
12-09 14:43:15.572: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x003f
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0042-0088 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.cloneSheet (I)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0096-0109 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.cloneSheet (I)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.572: E/dalvikvm(15169): Could not find class 'org.apache.xmlbeans.XmlOptions', referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.commit
12-09 14:43:15.572: W/dalvikvm(15169): VFY: unable to resolve new-instance 2402 (Lorg/apache/xmlbeans/XmlOptions;) in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;
12-09 14:43:15.572: D/dalvikvm(15169): VFY: replacing opcode 0x22 at 0x0006
12-09 14:43:15.572: D/dalvikvm(15169): VFY: dead code 0x0008-0048 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.commit ()V
12-09 14:43:15.582: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getDefinedNames, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createB uiltInName
12-09 14:43:15.582: W/dalvikvm(15169): VFY: unable to resolve interface method 25425: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getDefinedNames ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedNames;
12-09 14:43:15.582: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.582: D/dalvikvm(15169): VFY: dead code 0x0008-006e in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createBuiltInName (Ljava/lang/String;I)Lorg/apache/poi/xssf/usermodel/XSSFName;
12-09 14:43:15.582: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDialogsheet;)
12-09 14:43:15.582: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTDefinedName$Factory.newInstance, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createN ame
12-09 14:43:15.582: W/dalvikvm(15169): VFY: unable to resolve static method 24886: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedName$Factory;.newInstance ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTDefinedName;
12-09 14:43:15.582: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0000
12-09 14:43:15.582: D/dalvikvm(15169): VFY: dead code 0x0003-0013 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createName ()Lorg/apache/poi/xssf/usermodel/XSSFName;
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;)
12-09 14:43:15.592: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getSheetId, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createS heet
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to resolve interface method 25274: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getSheetId ()J
12-09 14:43:15.592: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0047
12-09 14:43:15.592: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.setId, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.createS heet
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to resolve interface method 25277: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.setId (Ljava/lang/String;)V
12-09 14:43:15.592: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x006b
12-09 14:43:15.592: D/dalvikvm(15169): VFY: dead code 0x004a-0054 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createSheet (Ljava/lang/String;)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.592: D/dalvikvm(15169): VFY: dead code 0x006e-0083 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.createSheet (Ljava/lang/String;)Lorg/apache/poi/xssf/usermodel/XSSFSheet;
12-09 14:43:15.592: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getBookViews, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.getActi veSheetIndex
12-09 14:43:15.592: W/dalvikvm(15169): VFY: unable to resolve interface method 25423: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getBookViews ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTBookViews;
12-09 14:43:15.592: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.592: D/dalvikvm(15169): VFY: dead code 0x0005-0010 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.getActiveSheetIndex ()I
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;)
12-09 14:43:15.602: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getBookViews, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.getFirs tVisibleTab
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to resolve interface method 25423: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getBookViews ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTBookViews;
12-09 14:43:15.602: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.602: D/dalvikvm(15169): VFY: dead code 0x0005-0011 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.getFirstVisibleTab ()I
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to find class referenced in signature (Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;)
12-09 14:43:15.602: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getCalcPr, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.getForc eFormulaRecalculation
12-09 14:43:15.602: W/dalvikvm(15169): VFY: unable to resolve interface method 25424: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getCalcPr ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTCalcPr;
12-09 14:43:15.602: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0004
12-09 14:43:15.602: D/dalvikvm(15169): VFY: dead code 0x0007-0017 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.getForceFormulaRecalculation ()Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookPr, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isDate1 904
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25427: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookPr ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookPr;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0002
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x0005-0011 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isDate1904 ()Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isRevis ionLocked
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0008
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x000b-0012 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isRevisionLocked ()Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getState, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isSheet Hidden
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25275: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getState ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/STSheetState$Enum;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000d
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x0010-0018 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isSheetHidden (I)Z
12-09 14:43:15.612: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getState, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isSheet VeryHidden
12-09 14:43:15.612: W/dalvikvm(15169): VFY: unable to resolve interface method 25275: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getState ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/STSheetState$Enum;
12-09 14:43:15.612: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000d
12-09 14:43:15.612: D/dalvikvm(15169): VFY: dead code 0x0010-0018 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isSheetVeryHidden (I)Z
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isStruc tureLocked
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0008
12-09 14:43:15.622: D/dalvikvm(15169): VFY: dead code 0x000b-0012 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isStructureLocked ()Z
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.isWindo wsLocked
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0008
12-09 14:43:15.622: D/dalvikvm(15169): VFY: dead code 0x000b-0012 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.isWindowsLocked ()Z
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.lockRev ision
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.622: D/dalvikvm(15169): VFY: dead code 0x0008-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.lockRevision ()V
12-09 14:43:15.622: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.lockStr ucture
12-09 14:43:15.622: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.622: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.632: D/dalvikvm(15169): VFY: dead code 0x0008-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.lockStructure ()V
12-09 14:43:15.632: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTWorkbook.getWorkbookProtection, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.lockWin dows
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve interface method 25428: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbook;.getWorkbookProtection ()Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTWorkbookProtection;
12-09 14:43:15.632: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x0005
12-09 14:43:15.632: D/dalvikvm(15169): VFY: dead code 0x0008-000d in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.lockWindows ()V
12-09 14:43:15.632: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.CTSheet.getSheetId, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onDelet eFormula
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve interface method 25274: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheet;.getSheetId ()J
12-09 14:43:15.632: D/dalvikvm(15169): VFY: replacing opcode 0x72 at 0x000a
12-09 14:43:15.632: D/dalvikvm(15169): VFY: dead code 0x000d-0017 in Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onDeleteFormula (Lorg/apache/poi/xssf/usermodel/XSSFCell;)V
12-09 14:43:15.632: I/dalvikvm(15169): Could not find method org.openxmlformats.schemas.spreadsheetml.x2006.mai n.WorkbookDocument$Factory.parse, referenced from method org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocum entRead
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve static method 25622: Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/WorkbookDocument$Factory;.parse (Ljava/io/InputStream;)Lorg/openxmlformats/schemas/spreadsheetml/x2006/main/WorkbookDocument;
12-09 14:43:15.632: D/dalvikvm(15169): VFY: replacing opcode 0x71 at 0x0008
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to resolve exception class 2398 (Lorg/apache/xmlbeans/XmlException;)
12-09 14:43:15.632: W/dalvikvm(15169): VFY: unable to find exception handler at addr 0x34
12-09 14:43:15.632: W/dalvikvm(15169): VFY: rejected Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onDocumentRead ()V
12-09 14:43:15.632: W/dalvikvm(15169): VFY: rejecting opcode 0x0d at 0x0034
12-09 14:43:15.632: W/dalvikvm(15169): VFY: rejected Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;.onDocumentRead ()V
12-09 14:43:15.632: W/dalvikvm(15169): Verifier rejected class Lorg/apache/poi/xssf/usermodel/XSSFWorkbook;
12-09 14:43:17.864: D/AndroidRuntime(15169): Shutting down VM
12-09 14:43:17.864: W/dalvikvm(15169): threadid=1: thread exiting with uncaught exception (group=0x4001e578)
12-09 14:43:17.914: E/AndroidRuntime(15169): FATAL EXCEPTION: main
12-09 14:43:17.914: E/AndroidRuntime(15169): java.lang.VerifyError: org.apache.poi.xssf.usermodel.XSSFWorkbook
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.fileparsers.ExcelParser.getWorkb ook(ExcelParser.java:39)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.fileparsers.ExcelParser.convertE xcelToList(ExcelParser.java:74)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.fileparsers.ExcelParser.parseFil e(ExcelParser.java:30)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.aaron.grocery.AttachmentProcessor.onCreate(Att achmentProcessor.java:29)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1047)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1615)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:1667)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.access$1500(ActivityThr ead.java:117)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:935)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.os.Handler.dispatchMessage(Handler.java:99 )
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.os.Looper.loop(Looper.java:130)
12-09 14:43:17.914: E/AndroidRuntime(15169): at android.app.ActivityThread.main(ActivityThread.jav a:3691)
12-09 14:43:17.914: E/AndroidRuntime(15169): at java.lang.reflect.Method.invokeNative(Native Method)
12-09 14:43:17.914: E/AndroidRuntime(15169): at java.lang.reflect.Method.invoke(Method.java:507)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:907)
12-09 14:43:17.914: E/AndroidRuntime(15169): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:665)
12-09 14:43:17.914: E/AndroidRuntime(15169): at dalvik.system.NativeStart.main(Native Method)
I assume the stack trace errors means I need the schema jar so I am at a brick wall and not sure why I can't build the project with it added to the build path. Does anyone have any suggestions?
Thank You