Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,260 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
4.4k
Fork
714
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LibrePDF/OpenPDF

Tất cả issue của LibrePDF/OpenPDF

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.