https://issues.apache.org/bugzilla/show_bug.cgi?id=52447

             Bug #: 52447
           Summary: Unable to Open Excel XLS with hyperlink cells.
           Product: POI
           Version: 3.8-dev
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: david.st...@windstream.com
    Classification: Unclassified


I have a fairly simple workbook that I have successfully opened using POI.
However, when trying a similar file with hyperlinks saved within, POI is unable
to read it. This is the stacktrace I got on repeated attempts:

java.lang.RuntimeException: Unexpected record type
(org.apache.poi.hssf.record.HyperlinkRecord)
    at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:107)
    at org.apache.poi.hssf.model.InternalSheet.<init>(InternalSheet.java:208)
    at
org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:163)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:298)
    at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:82)
    at excelproc.util.ExcelFileWrapper.<init>(ExcelFileWrapper.java:42)
    at
excelproc.exec.InvoiceComparisonIndexBuilder.main(InvoiceComparisonIndexBuilder.java:46)

The hyperlinks are internet URLs, if that makes a difference. Let me know if
more info is needed. Thanks!

-- 
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-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to