-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cannot instantiate view: interface org.jabref.gui.frame.UiMessageHandler #11386
Comments
@ryan-carpenter Thank you for the quick report! Can you retry the latest development build? |
Thanks for the report, yesterday evening we merged a major code refactoring pr and created a hotfix for the issue about the UiMessageHandler this morning (#11387). It should work again. Please try the latest build. |
With the latest build, the error is gone but changes to the key generator pattern do not save.
JabRef 5.14--2024-06-18--524e79b |
Clicking save does produce this notification in the terminal.
I get this when I exit preferences by clicking the
|
I had the ANTLR message yesterday, and possibly before (on last month's 5.14 development version) but I think this this lucene warning is new today.
|
Probably unrelated, but are the field markers case sensitive? The documentation says to use uppercase, then provides examples in camel case here: https://docs.jabref.org/setup/citationkeypatterns with a few (inconsistent) uppercase examples here: https://docs.jabref.org/setup/citationkeypatterns#modifiers |
This is about a new feature in our backend for fulltext search engine (and maybe soon our main search engine) Apache Lucene. See apache/lucene#12311 . The lucene team is adopting a so called incubating java feature (which will probably be integrated with minor changes as soon as project valhalla is (?) is ready), which could increase the performance of the search engine a bit. |
As the original issue is resolved im closing it. If the problem with the citation key generator persists, please open a new issue. Thanks again for reporting the issue quickly. About the field markers (#11386 (comment)): Maybe @ThiloteE can help you, he is our expert on this. |
I knew about this, but completely forgot despite the message. Sorry! Resolution confirmed. |
I don't know if field markers are case sensitive. Up until now I followed the documentation and wrote it as shown there. If you try them with different case, you could report back here. Would be interesting to know. |
The markers are case sensitive and the documentation is correct. The uppercase examples that I described as "inconsistent" are in fact different by design. |
I was (and still am) too lazy to add a hint that building from source requires "./gradlew clean" now and then. - During compilation, files are generated. They are not regenerated if they exist. Also if the generator is updated, they are not regenerated. In the concrete case, ANTLR is updated now and then. It is also a generator. It generates Java code based on a Grammar file. That code is not updated if it exits on disk. However during runtime, ANTLR checks for the versions. It sees old files if one updated ANTLR. In your case by pulling the latest main branch. When generating a build using the GitHub workflows, gradle triggers a regeneration of these files because the generated files are not cached between workflow runs. Thus, please, try out "clean" and see whether the output persists. If it still does, my guess was not right and we need to check other reasons. |
JabRef version
Latest development branch build (please note build date below)
Operating system
GNU / Linux
Details on version and operating system
openSUSE Tumbleweed with KDE Plasma 6.0.5
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
JabRef 5.14--2024-06-17--0e7c1ff
Linux 6.9.3-1-default amd64
Java 21.0.2
JavaFX 22.0.1+7
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: