Repository navigation
Description
JabRef version
5.15 (latest release)
Operating system
macOS
Details on version and operating system
JabRef 6.0-beta.255--2026-10-21--2b9641c macOS 26.5.2, Apple Silicon (arm64) Official development build downloaded from builds.jabref.org/main/
Checked with the latest development build (copy version output from About dialog)
- 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
- Create a folder containing two PDFs: paper.pdf and notes{draft.pdf.
- In that folder, create a .gitignore file containing this single line:
notes{draft.pdf - Open a separate sample BibTeX library in JabRef.
- Choose Lookup → Search for unlinked local files.
- Select the folder from step 1. Leave File type as “Any file” and Last edited as “All time”.
- Click Next.
- Close the search dialog and open Help → View event log.
Expected:
The search lists paper.pdf and ignores notes{draft.pdf. An opening brace is a valid literal character in a Git ignore pattern.
Actual:
The “Select files to import” page is blank. The event log contains a PatternSyntaxException originating in GitIgnoreFileFilter.
Control test:
Searching a folder containing the same two PDFs, but with notes-draft.pdf as the .gitignore pattern, successfully lists both files.
Git’s check-ignore command also accepts notes{draft.pdf and correctly identifies the matching file as ignored.
Testing used a temporary BibTeX library just for testing
Appendix
The GUI event log contains:
java.util.regex.PatternSyntaxException: Missing '} near index 14
notes{draft.pdf
^
at java.base/sun.nio.fs.Globs.toRegexPattern(Globs.java:204)
at java.base/sun.nio.fs.Globs.toUnixRegexPattern(Globs.java:211)
at java.base/sun.nio.fs.UnixFileSystem.getPathMatcher(UnixFileSystem.java:286)
at org.jabref/org.jabref.gui.externalfiles.GitIgnoreFileFilter.lambda$new$5(GitIgnoreFileFilter.java:56)
Attached screenshots show the successful control search, the blank results page, and the exception in JabRef’s event log.

Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
- StatusShow more project fieldsDone
Activity
doraem-on commentedon Oct 22, 2026
would like to work on it after triage
Gautam-aman commentedon Oct 25, 2026
I looked into this and traced the failure to
GitIgnoreFileFilter, where Git ignore patterns are passed directly to Java's glob matcher. The difference in how literal braces are interpreted appears to cause the exception.I can help with regression tests or a focused fix after triage, if that would be useful.
doraem-on commentedon Oct 27, 2026
/assign-me
jabref-machine commentedon Oct 27, 2026
Hi @doraem-on, you cannot self-assign an issue you created.
Note
This project requires maintainer approval before working on self-created issues to ensure alignment with the project roadmap.
What you can do
doraem-on commentedon Oct 27, 2026
@Siedlerchr could you assign it to me , im working on it
jabref-machine commentedon Oct 27, 2026
👋 Hey @doraem-on, looks like you’re eager to work on this issue — great! 🎉 It also looks like you don't know how to assign issues to yourself. Please read our CONTRIBUTING.md to find out how. It will also guide you in other aspects of contributing to JabRef.
Sandeep332005 commentedon Oct 31, 2026
/assign-me
2 remaining items
jabref-machine commentedon Oct 31, 2026
👋 Hey @Sandeep332005, thank you for your interest in this issue! 🎉
We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.
When using AI tools, please use them as an assistant rather than simply copying their output. See Don't paste the AI, please..
For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.
In case you encounter failing tests during development, please check our developer FAQs!
Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.
Happy coding! 🚀
doraem-on commentedon Nov 2, 2026
@Sandeep332005 it is not a good practice to snipe the issue without asking the person who raised , would waste both our time......but you can take this since you have already worked on the complete Pr and its a good first issue
doraem-on commentedon Nov 2, 2026
@koppor , @Siedlerchr why the issue author still can’t self-assign after triage , its leads to overlapping of the work , could that requirement and the process be documented more clearly , thanks
koppor commentedon Nov 2, 2026
Things move fast here. The triage is new.
You can file a PR to remove the self-assignment check. The check for triage should be enough.
koppor commentedon Nov 2, 2026
And you can review it, because you are in the context, because you filed the issue.
This is even better than fixing for oneself, because this is Software Engineering!!
Please take the time to try out and review.
See also CONTRIBUTING. We should have information about speeding up things.
Siedlerchr commentedon Nov 2, 2026
Normally we do not allow that the issuer creates a PR for its own issue because in the past we had some people creating random issues just for creating a PR without review through maintainers.
So I would suggest take either another isuse, work together or as @koppor suggested: Review and test! That's how you learn thebest
doraem-on commentedon Nov 2, 2026
Thanks for the advice, @Siedlerchr and @koppor , would work on test and reviewing
github-actions commentedon Nov 14, 2026
We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.
For any feedback, add a comment to the pull request at #17656.
Use JGit to match .gitignore rules in unlinked files search (JabRef#1…