You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2008/03/27 19:26:34 UTC
DO NOT REPLY [Bug 44694] New: Unable to retrieve SummaryInformation
from some Office docs; NoPropertySetStreamException thrown
https://issues.apache.org/bugzilla/show_bug.cgi?id=44694
Summary: Unable to retrieve SummaryInformation from some Office
docs; NoPropertySetStreamException thrown
Product: POI
Version: 3.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P2
Component: HPFS
AssignedTo: dev@poi.apache.org
ReportedBy: dgoldenberg@attivio.com
I get this on some Office docs, a specific PPT doc to reproduce this is
attached.
What I do is this:
POIFSFileSystem filesystem = new POIFSFileSystem(fis);
SummaryInformation si = (SummaryInformation) getPropertySet(filesystem,
SummaryInformation.DEFAULT_STREAM_NAME, sourcePath);
where getPropertySet does this:
public static PropertySet getPropertySet(POIFSFileSystem filesystem, String
setName, String filepath) throws IOException {
DocumentInputStream dis = filesystem.createDocumentInputStream(setName);
return PropertySetFactory.create(dis);
....
This causes the following exception:
org.apache.poi.hpsf.NoPropertySetStreamException
at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:252)
at
org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:61)
The file doesn't appear corrupt as it opens in PPT just fine. Also, I dumped
out the directory nodes and I see that summary info is in fact there.
--
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-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 44694] Unable to retrieve SummaryInformation from
some Office docs; NoPropertySetStreamException thrown
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44694
Rainer Klute <kl...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|dev@poi.apache.org |klute@apache.org
--- Comment #1 from Rainer Klute <kl...@apache.org> 2008-03-27 23:26:12 PST ---
I cannot look into this issue without a document exhibiting the faulty
behaviour.
--
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-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org