Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Caught unexpected exception during parsing caused by exception: Error while parsing object : 3 0 caused by exception: Object number 1437 should be object stream, but in fact it is null #1492

Open
HenningRoth opened this issue Dec 11, 2024 · 1 comment
Assignees
Milestone

Comments

@HenningRoth
Copy link

We are receving NullPointer Exceptions on some PDF Documents.
Unfortunately currently I cannot share a PDF file to reproduce the problem as the files may contain sensitive data.
But the possibility of sharing a PDF is under evaluation by data owner.

Using the actual cli (Release 1.26.2) I get the following messages (receiving the same exception uisng the lib in our application)

c:\users\v081039\Downloads\Gesundheitsfragen.pdf 00:00:00.084 Exception: Caught unexpected exception during parsing caused by exception: Error while parsing object : 3 0 caused by exception: Object number 1437 should be object stream, but in fact it is null 00:00:00.084 1 0 0 00:00:00.133
@HenningRoth
Copy link
Author

We got the allowance to share a sample PDF.

Message from cli Version 1.26.2:

`






<jobsDez. 11, 2024 10:55:03 AM org.verapdf.processor.ProcessorImpl process
WARNUNG: c:\users\v081039\Downloads\sample.pdf doesn't appear to be a valid PDF.

<job>
  <item size="414545">
    <name>c:\users\v081039\Downloads\sample.pdf</name>
  </item>
  <taskException type="PARSE" isExecuted="true" isSuccess="false">
    <duration start="1733910903051" finish="1733910903110">00:00:00.059</duration>
    <exceptionMessage>Exception: Caught unexpected exception during parsing caused by exception: Error while parsing object : 3 0 caused by exception: Object number 1433 should be object stream, but in fact it is null</exceptionMessage>
  </taskException>
  <duration start="1733910903051" finish="1733910903110">00:00:00.059</duration>
</job>
1 0 0 00:00:00.091 `

PDF sample is attached

regards

Henning
sample.pdf

@MaximPlusov MaximPlusov self-assigned this Dec 11, 2024
@MaximPlusov MaximPlusov added this to the 1.28 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants