Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#1,260 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
java
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Java
Estrellas
4.4k
Forks
714
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LibrePDF/OpenPDF

Todos los issues de LibrePDF/OpenPDF

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.