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

[Bug / Performace / Enhancement ] NullPointerException on many files #13

Open
zenof opened this issue Aug 5, 2020 · 1 comment
Open
Assignees

Comments

@zenof
Copy link

zenof commented Aug 5, 2020

Exception in thread "main" java.lang.NullPointerException
	at java.base/java.util.ArrayDeque.addLast(ArrayDeque.java:303)
	at java.base/java.util.ArrayDeque.add(ArrayDeque.java:494)
	at org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.enqueueKids(PDPageTree.java:174)
	at org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.enqueueKids(PDPageTree.java:169)
	at org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.enqueueKids(PDPageTree.java:169)
	at org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.<init>(PDPageTree.java:159)
	at org.apache.pdfbox.pdmodel.PDPageTree$PageIterator.<init>(PDPageTree.java:153)
	at org.apache.pdfbox.pdmodel.PDPageTree.iterator(PDPageTree.java:123)
	at java.base/java.lang.Iterable.forEach(Iterable.java:74)
	at com.amastigote.unstamper.core.Processor.process(Processor.java:59)
	at com.amastigote.unstamper.util.TaskRunner.submitToProcessor(TaskRunner.java:53)
	at com.amastigote.unstamper.util.TaskRunner.procSingleFile(TaskRunner.java:44)
	at com.amastigote.unstamper.Main.main(Main.java:54)
@zenof
Copy link
Author

zenof commented Aug 5, 2020

Update: after update org.apache.pdfbox to 2.0.20, it has been fixed

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