poi 5.2.2 support
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing DOCX thumbnailing with the listed Apache POI 5.2.2 and thumbnails4j-all 1.0.0 dependencies, then trace the NoSuchMethodError and dependency compatibility. Done means .docx thumbnail generation works with the upgraded POI libraries without this runtime failure.
Written by the indexing model from the issue text.
Description
For other functionality to work and to remove vulnerabilities we've upgraded org.apache.poi libraries to 5.2.2. Now, when we try to thumbnail .docx files using this thumbnail library it fails with the following runtime error:
Caused by: java.lang.NoSuchMethodError: 'java.math.BigInteger org.openxmlformats.schemas.wordprocessingml.x2006.main.CTPageSz.getW()'
This is what I have in my pox.xml:
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>5.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-full</artifactId>
<version>5.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>5.2.2</version>
</dependency>
<dependency>
<groupId>co.elastic.thumbnails4j</groupId>
<artifactId>thumbnails4j-all</artifactId>
<version>1.0.0</version>
</dependency>
- Dominant language
- Java
- Stars
- 26
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elastic/thumbnails4j
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
elastic/thumbnails4j#57 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
elastic/thumbnails4j#13 · 4 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
elastic/thumbnails4j#9 ·
All issues in elastic/thumbnails4j
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
apache/arrow-java#1311 ·
Maintainers usually reply within 2 days
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
security
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
IBM/networking-java-sdk#204 ·
-
bug Technical Debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
avniproject/avni-server#1080 ·