Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

poi 5.2.2 support

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
backend

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elastic/thumbnails4j

All issues in elastic/thumbnails4j

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.