-
-
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
export via command line fails #2273
Comments
I can confirm the bug for v. 3.8 (Ubuntu 14.04), it is IMO a very serious problem. Each one of the exporters listed in
fails with:
|
Confirmed on Windows 7 x64, too. |
I could boil it down to a NPE in ExportFormat Seems to be a mismatch beetween the assumption:
However, if null it fails with an NPE as it explictiyl requires non null
|
@WastlM @har-wradim |
Looks good. |
* Fix exporting via commandline in no gui mode Fix for #2273 Adjusted javadoc * Fixed changelog entry Remove string messages from requireNonNull
The patch has been merged and is available in the next development build of the master. |
Great, thanks! I have tested
is
The resulting html file is identical to the one generated from an export via the GUI. |
JabRef versions 3.3 - 3.7 on Ubuntu 14.04 and 16.04.
Steps to reproduce:
references.bib
, say (an example is given below)java -jar JabRef-3.7.jar -n -o references.html,tablerefsabsbib references.bib
(other export formats do not work either)In current JabRef 3.7, no html file is produced and the output is:
Note: exporting bibfiles via the GUI works flawlessly.
In JabRef 3.2, the html file is produced correctly and the output is:
I used the following simple
references.bib
:The text was updated successfully, but these errors were encountered: