Summary: | org.apache.poi.util.PngUtils is not in maven-artifact poi-scratchpad-4.1.0 | ||
---|---|---|---|
Product: | POI | Reporter: | Andreas Joseph Krogh <andreas> |
Component: | HWPF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 4.1.0-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Andreas Joseph Krogh
2019-12-01 11:39:52 UTC
1. please check if you have mixed POI versions in your classpath. I've refactored the PngUtils via r1866809 - I guess, you don't have a problem with depending on such an internal class itself, but only the HWPF call should work 2. why is #63955 blocking you? I have "kind of mixed" as I'm using poi-4.1.1, but have to use poi-scratchpad-4.1.0 due to bug #63955, because it fails parsing winmail.dat, which we need. These are the jars I'm using: poi-4.1.1.jar poi-ooxml-4.1.1.jar poi-ooxml-schemas-4.1.1.jar poi-scratchpad-4.1.0.jar But - shouldn't PngUtils be a part of poi-scratchpad-4.1.0.jar? It *is* used, in Picture, so I find it strange that it's not in the jar. Not sure what other side effects happen with this mixed versions, but I would try to provide the class in my source and make sure it's before the POI classes in the classpath. As it was refactored, the HWPF classes use the new class instead, i.e. I don't intend to add it back in. And about 2. - this was a copy & paste error on my side, as I was looking at the wrong bug before ... Please keep us updated, if the above works for you ... I think the cleanest solution is for us to downgrade to poi-4.1.0, so they're all the same version. Any thoughts on fix for #63955 and shipping 4.1.2? I should think #63955 ruins the day for everyone working with winmail.dat-files... I'll close this as it's really a "you're using an unsupportet version-combination". |