poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52005] org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheets.getSheetList()
Date Mon, 10 Oct 2011 21:28:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52005

--- Comment #2 from Girish_Kshirsagar@BEAerospace.com 2011-10-10 21:28:22 UTC ---
I am using   poi-ooxml-schemas-3.8-beta4-20110826.jar and also tried using
ooxml-schemas-1.1.jar.  Here I am reproducing the CTSheets interface file.

When the example file (ExampleEventUserModel.java) the compiler gives the
following

Exception in thread "main" java.lang.NoSuchMethodError:
org.openxmlformats.schem
as.spreadsheetml.x2006.main.CTSheets.getSheetList()Ljava/util/List;
        at
org.apache.poi.xssf.eventusermodel.XSSFReader$SheetIterator.<init>(XS
SFReader.java:191)
        at
org.apache.poi.xssf.eventusermodel.XSSFReader$SheetIterator.<init>(XS
SFReader.java:149)
        at
org.apache.poi.xssf.eventusermodel.XSSFReader.getSheetsData(XSSFReade
r.java:143)
        at
org.apache.poi.xssf.eventusermodel.examples.FromHowTo.processAllSheet
s(FromHowTo.java:60)
        at ExampleEventUserModel.main(ExampleEventUserModel.java:123)

======================================================

Here is the CTSheets.java from the jar file.

// Decompiled by DJ v3.10.10.93 Copyright 2007 Atanas Neshkov  Date: 10/10/2011
2:58:54 PM
// Home Page: http://members.fortunecity.com/neshkov/dj.html 
http://www.neshkov.com/dj.html - Check often for new version!
// Decompiler options: packimports(3) 

package org.openxmlformats.schemas.spreadsheetml.x2006.main;

import java.util.List;
import org.apache.xmlbeans.*;

// Referenced classes of package
org.openxmlformats.schemas.spreadsheetml.x2006.main:
//            CTSheet

public interface CTSheets
    extends XmlObject
{
    /* member class not found */
    class Factory {}


    public abstract List getSheetList();

    /**
     * @deprecated Method getSheetArray is deprecated
     */

    public abstract CTSheet[] getSheetArray();

    public abstract CTSheet getSheetArray(int i);

    public abstract int sizeOfSheetArray();

    public abstract void setSheetArray(CTSheet actsheet[]);

    public abstract void setSheetArray(int i, CTSheet ctsheet);

    public abstract CTSheet insertNewSheet(int i);

    public abstract CTSheet addNewSheet();

    public abstract void removeSheet(int i);

    public static final SchemaType type =
(SchemaType)XmlBeans.typeSystemForClassLoader(org/openxmlformats/schemas/spreadsheetml/x2006/main/CTSheets.getClassLoader(),
"schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707").resolveHandle("ctsheets49fdtype");

}

-- 
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


Mime
View raw message