question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jabref corrupts PDF file when writing XMP metadata to linked PDF

See original GitHub issue

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

JabRef 5.6–2022-04-04–dbf921e Windows 10 10.0 amd64 Java 17.0.2 JavaFX 18+12

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Have a linked pdf file (my pdf file was 838 kb)
  2. Have bibliographic data
  3. Write XMP metadata to pdf via Tools > write XMP metadata to PDF files (F6)

What happens:

  • Trying to open this pdf file with a pdf reader (e.g. foxit reader / pdf xchange) shows the pdf has no pages anymore.
  • The size of the pdf shrinks to ~ 4kb

Appendix

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ThiloteEcommented, Apr 8, 2022

2022-02-21 still works. Something in between these 3 days.

1reaction
Siedlerchrcommented, Apr 8, 2022

Hm. When you switch to an older hash, you need to run ./gradlew clean before.

Read more comments on GitHub >

github_iconTop Results From Across the Web

945 PDF file corrupted (file size 0) after writing XMP data
PDF files are corrupted if the abstract contains single quotes. There may be other characters triggering this bug as well, but so far...
Read more >
XMP metadata support in JabRef
You can now choose to "Write XMP metadata to PDFs" in the Tools menu of JabRef, which will put all the Bib(la)TeX information...
Read more >
Extract information from PDF import - Features - Forum - JabRef
If you want to force an XMP import, you can go to file → import → either to current or new library and...
Read more >
XMP metadata support in JabRef
You can now choose to "Write XMP" metadata in the General Tab of JabRef, which will put all the BibTeX information into the...
Read more >
CHANGELOG.md - JabRef - Fossies
Writing BibTeX data into a PDF (XMP) does not write the file field. Writing BibTeX data into a PDF (XMP) considers the configured...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found