Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Getting IndexOutOfBoundsException during creation of PdfReader object using filepath for some of the PDF documents in openpdf 2.0.3

Aperta
#1,260 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

Start with the PdfReader construction path for the filepath constructor and trace where the IndexOutOfBoundsException occurs for the affected PDFs. The report gives only a minimal reproduction and no PDF sample or stack trace, so first obtain those details and use them to identify a failing test case. Done means PdfReader can be created for the affected documents without throwing the exception.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

PLEASE FILL THIS TEMPLATE AS MUCH AS POSSIBLE. REMOVE IRRELEVANT PARTS.

Describe the bug

Getting IndexOutOfBoundsException during creation of PdfReader object using filepath for some of the PDF documents in openpdf 2.0.3

To Reproduce

Code to reproduce the issue

  1. Sample Code
    PdfReader reader = new PdfReader(inputFile);
Expected behavior

PdfReader object should be created successfully and it should not throw any error.

Screenshots

Image

System

(please complete the following information)

  • OS: Windows
  • Used font:
  • OpenPDF version:2.0.3

Your real name

Please specify your full name here, so that we can verify your identity:- Akash.R
If you have a conflict of interest describe this here also.

Additional context

Add any other context about the problem here.

Lingua principale
Java
Stelle
4.4k
Fork
714
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LibrePDF/OpenPDF

Tutte le issue di LibrePDF/OpenPDF

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.