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

           Summary: java.lang.IllegalArgumentException: components cannot
                    contain null or empty strings
           Product: POI
           Version: 3.5-FINAL
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POIFS
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=26184)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26184)
an OLE binary file that creates the exception upon load

When I try to open a OLE binary with POI I get the following error message. The
binaries are generated outside us so we have no control over them - we have to
accept what we receive.

java.lang.IllegalArgumentException: components cannot contain null or empty
strings
    at
org.apache.poi.poifs.filesystem.POIFSDocumentPath.<init>(POIFSDocumentPath.java:131)
    at
org.apache.poi.poifs.filesystem.DirectoryNode.<init>(DirectoryNode.java:72)
    at
org.apache.poi.poifs.filesystem.DirectoryNode.createDirectory(DirectoryNode.java:330)
    at
org.apache.poi.poifs.filesystem.POIFSFileSystem.processProperties(POIFSFileSystem.java:516)
    at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:176)

A sample file that creates the error is attached.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to