Skip to content

导出异常: workbook.parse()中初始化BOFRecord时内部发生数组下标越界 #1

@StableMutation

Description

@StableMutation

@DmrfCoder
W/System.err: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
W/System.err: at jxl.read.biff.BOFRecord.(BOFRecord.java:81)
at jxl.read.biff.WorkbookParser.parse(WorkbookParser.java:548)

BOFRecord(Record t) {
    super(t);
    byte[] data = this.getRecord().getData();
    this.version = IntegerHelper.getInt(data[0], data[1]);  /**在此处data数组发生异常,其为空数组**/
    this.substreamType = IntegerHelper.getInt(data[2], data[3]);
} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions