-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
NPE for some styles #116
Comments
Thanks for reporting this! The styles mentioned in the JabRef issue do not contain instructions to format bibliographies. It seems they're only used to format citations. A NullPointerException is of course not very helpful in this case. What would you suggest instead? IllegalArgumentException? IllegalStateException? Maybe a method to determine if a style can be used to format bibliographies, which you can use upfront to filter out the styles that would not work anyhow? (e.g. |
Ah thanks for the info, didn't know there was as difference. |
I've checked the CSL specification and the |
Thanks a lot! |
Originally reported here with some styles JabRef/jabref#8421
I could reproduce it (e.g. Oxford Art Journal). The preview uses the Test Entry:
https://github.com/JabRef/jabref/blob/bb011c9313367a28990ae213b3920fe6cd10d1dc/src/main/java/org/jabref/logic/util/TestEntry.java#L16-L39
The text was updated successfully, but these errors were encountered: