ArrayIndexOutOfBoundsException in reading some xlsx files

Posted by: d.sukhanov on 17 January 2021, 9:32 pm EST

  • Posted 17 January 2021, 9:32 pm EST

    Hello!
    Try to open xlsx file and get exception

    java.lang.IllegalArgumentException: java.lang.ArrayIndexOutOfBoundsException
    at com.grapecity.documents.excel.n.c.aj.a(Unknown Source)
    at com.grapecity.documents.excel.n.c.ag.a(Unknown Source)
    at com.grapecity.documents.excel.n.c.ag.a(Unknown Source)
    at com.grapecity.documents.excel.n.c.z.a(Unknown Source)
    at com.grapecity.documents.excel.n.c.z.a(Unknown Source)
    at com.grapecity.documents.excel.n.c.z.a(Unknown Source)
    at com.grapecity.documents.excel.Workbook.a(Unknown Source)
    at com.grapecity.documents.excel.Workbook.open(Unknown Sou
    I have attached files.
    Why isn't work ?
  • Replied 17 January 2021, 11:33 pm EST

    Hello,

    We would request you to please share your xlsx file which you are trying to open in GrapeCity Documents for Excel JAVA edition.

    And also please clarify the exact version of GcExcel which you are using. We will look into the same thereon.

    Thanks,
    Reeva
  • Replied 17 January 2021, 11:36 pm EST

    I have attached files.
  • Replied 17 January 2021, 11:39 pm EST

    I don't know why files don't added.
  • Replied 17 January 2021, 11:41 pm EST

    Hello,

    We request you to please attach them in .zip format.

    Thanks,
    Reeva
  • Replied 17 January 2021, 11:52 pm EST

    xlsx and java code.zip
    Added files
  • Replied 18 January 2021, 1:16 am EST

    Hello,

    We are able to replicate the issue and hence we are escalating the same to the concerned team for the fix.

    Tracking id for your issue is #DOCXLS-3628

    We will update you as soon as we hear anything from our concerned team.

    Thanks,
    Reeva
  • Replied 28 January 2021, 9:02 pm EST

    Hello, 
    Your issue has been resolved with latest GcExcel JAVA hotfix build 4.0.3 which can be downloaded from these links:-

    Jar package:-
    https://search.maven.org/artifact/com.grapecity.documents/gcexcel/4.0.3/jar

    Zip file:-
    https://gcbuild.blob.core.windows.net/docsol/GcExcel/Packages/V4RA/4.0.3/gcexcel-java-4.0.3.zip?st=2021-01-29T09%3A10%3A36Z&se=2021-02-06T09%3A10%3A00Z&sp=rl&sv=2018-03-28&sr=b&sig=EUD4EdEJNIwhgZ%2BMCspWXO2modEezzWORCGg1mkIeFM%3D

    Please check your issue using the latest build and let me know if you still face any issues.

    Thanks,
    Reeva
Need extra support?

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

Learn More

Forum Channels