Import old jabref preferences fails with npe odel.metadata.UserHostInfo.getUserHostString
org.jabref.migrations.PreferencesMigrations.moveApiKeysToKeyring()
ERROR: Unable to open key store: java.lang.NullPointerException: Cannot invoke "org.jabref.model.metadata.UserHostInfo.getUserHostString()" because "this.userAndHost" is null
at org.jabref.jablib/org.jabref.logic.preferences.JabRefCliPreferences.getInternalPreferences(JabRefCliPreferences.java:1652)
at org.jabref/org.jabref.migrations.PreferencesMigrations.moveApiKeysToKeyring(PreferencesMigrations.java:565)
at org.jabref/org.jabref.migrations.PreferencesMigrations.runMigrations(PreferencesMigrations.java:70)
at org.jabref/org.jabref.Launcher.main(Launcher.java:90)
in jabkit use preferences import path/toJabRef.xml and see the exception
Task: Add if in appropriate place - or try to set user and host.
Attached JabRef.xml can be checked-in and used for testing.
/assign-me
👋 Hey @subhash-dev-23, 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.
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! 🚀
/assign-me
👋 Hey @pulkitbajaj, 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.
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! 🚀