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 2019/11/22 15:46:00 UTC
[Bug 63955] New: HMEFContentsExtractor fails to extract content from
winmail.dat
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
Bug ID: 63955
Summary: HMEFContentsExtractor fails to extract content from
winmail.dat
Product: POI
Version: 4.1.1-FINAL
Hardware: PC
OS: Linux
Status: NEW
Severity: critical
Priority: P2
Component: HMEF
Assignee: dev@poi.apache.org
Reporter: andreas@visena.com
Target Milestone: ---
After upgrading poi-scratchpad to 4.1.1 I'm getting this exception trying
HMEFContentsExtractor.main:
Exception in thread "main" java.lang.IllegalArgumentException: Unknown type 72
/ 0x0048 - CLS ID GUID @ 16
at
org.apache.poi.hmef.attribute.MAPIAttribute.getLength(MAPIAttribute.java:204)
at
org.apache.poi.hmef.attribute.MAPIAttribute.create(MAPIAttribute.java:170)
at
org.apache.poi.hmef.attribute.TNEFMAPIAttribute.<init>(TNEFMAPIAttribute.java:41)
at
org.apache.poi.hmef.attribute.TNEFAttribute.create(TNEFAttribute.java:71)
at org.apache.poi.hmef.HMEFMessage.processMessage(HMEFMessage.java:99)
at org.apache.poi.hmef.HMEFMessage.process(HMEFMessage.java:81)
at org.apache.poi.hmef.HMEFMessage.<init>(HMEFMessage.java:66)
at
org.apache.poi.hmef.extractor.HMEFContentsExtractor.<init>(HMEFContentsExtractor.java:74)
at
org.apache.poi.hmef.extractor.HMEFContentsExtractor.main(HMEFContentsExtractor.java:58)
This worked fine with v4.1.0.
OS: Ubuntu Linux 19.10
JAVA: 13.0.1
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #6 from Andreas Joseph Krogh <an...@visena.com> ---
Created attachment 36895
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36895&action=edit
screenshot of Run-configuration in IDEA
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
Andreas Joseph Krogh <an...@visena.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #14 from Andreas Beeker <ki...@apache.org> ---
added the example file via r1872480 and optimized a few unit tests
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #11 from Andreas Joseph Krogh <an...@visena.com> ---
Glad you found it, looking forward to next release:-)
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #10 from Dominik Stadler <do...@gmx.at> ---
Thanks for the details, "git bisect" identifies the following commit as causing
this regression:
162f69655fc9146c94dfc4b4e101cbaf46255356 is the first bad commit
commit 162f69655fc9146c94dfc4b4e101cbaf46255356
Date: Wed Apr 17 20:18:29 2019 +0000
#github-143 - MAPIType.isFixedLength: not true in case of length > 8
See also r1857708
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #5 from Andreas Joseph Krogh <an...@visena.com> ---
It is working in my project when downgrading, and it stops working when
upgrading again.
I'll try to make a separate maven-project for reproducing.
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
thanks for the issue - could you provide a sample file as it helps us debug the
issue and will help us form a regression corpus?
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #3 from Dominik Stadler <do...@gmx.at> ---
Are you sure it worked with 4.1.0? I tried it quickly, but it also failed with
4.1.0 and there were no changes in the HMEF area which would cause such a
regression.
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #9 from Andreas Joseph Krogh <an...@visena.com> ---
Are you able to reproduce this, ie. make it work with 4.1.0 and not 4.1.1?
Let me know if there's anything more I can do.
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
PJ Fanning <fa...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |66335
Referenced Bugs:
https://bz.apache.org/bugzilla/show_bug.cgi?id=66335
[Bug 66335] PtypGuid 0x0048 is a linked property but is read from property file
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #12 from Andreas Beeker <ki...@apache.org> ---
Fixed via r1870692
May I use your example winmail.dat in our corpus or can you provide an
anonymized one? (this would help to keep the extraction valid)
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #4 from Andreas Joseph Krogh <an...@visena.com> ---
It is working in my project when downgrading, and it stops working when
upgrading again.
I'll try to make a separate maven-project for reproducing.
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #13 from Andreas Joseph Krogh <an...@visena.com> ---
Use it, it's fine.
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #7 from Andreas Joseph Krogh <an...@visena.com> ---
This project: https://github.com/andreak/tnefextractorfail
fails using the run-configuration in the attached screenshot.
Changing the poi-scratchpad version to 4.1.0 with this property
<version.apache-poi-scratchpad>4.1.0</version.apache-poi-scratchpad>
makes it work again.
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #8 from Andreas Joseph Krogh <an...@visena.com> ---
FWIW; jtnef parses it fine: https://www.freeutils.net/source/jtnef/
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
--- Comment #2 from Andreas Joseph Krogh <an...@visena.com> ---
Created attachment 36894
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36894&action=edit
Unparseable winmail.dat
This doesn't parse using 4.1.1, but works fine using 4.1.0
--
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
[Bug 63955] HMEFContentsExtractor fails to extract content from
winmail.dat
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63955
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--
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