Don't read xls file

Posted by: d.sukhanov on 17 January 2021, 7:15 am EST

  • Posted 17 January 2021, 7:15 am EST

    add to maven dependency


    write code

    String dataDir = new File(System.getProperty("user.dir")).toString() + File.separator; + FILE_NAME + ".xls");

    and give exeption after call method open

    Exception in thread "main" java.lang.IllegalArgumentException: java.lang.NullPointerException: entry
    at com.grapecity.documents.excel.n.c.z.a(Unknown Source)
    at com.grapecity.documents.excel.Workbook.a(Unknown Source)
    at Source)
    at Source)

    Can your library support xls files?
  • Replied 17 January 2021, 8:34 pm EST


    Unfortunately, GcExcel doesn't support opening xls files and currently GcExcel only supports: .csv, .xlsx, .xlsm.

  • Replied 17 January 2021, 10:25 pm EST

    Will you plan to support in the nearest future?
  • Replied 17 January 2021, 11:40 pm EST


    Unfortunately, we don't have any plans for .xls support yet. However, we are still escalating your issue to our concerned team as an enhancement request.

    Tracking id for your issue is #DOCXLS-3627.

    We will update you as soon as we hear anything from them.

  • Marked as Answer

    Replied 18 January 2021, 5:45 pm EST


    Our developers have confirmed that we don't have any plans in near future for .xls support.

    We regret the inconvenience.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels