Skip to content

Error on reading files where <c> element misses the "r" attribute #465

@fabiospiga

Description

@fabiospiga

I need to read a file where the element <row> and <c> miss the "r" attribute, that is apparently optional in the OpenXML structure.

Here's an example:
https://www.atih.sante.fr/sites/default/files/public/content/3968/fichier_complementaire_ccam_descriptive_a_usage_pmsi_2021_v2.xlsx

The raised exception is:
Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.dhatim.fastexcel.reader.SimpleXmlReader.getIntAttribute(String)" is null

because int rowIndex cannot be unboxed at org.dhatim.fastexcel.reader.RowSpliterator#next

Could you please provide support for this use case?

Thanks and best regards,
Fabio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions