michel-kraemer / citeproc-java

📘 A Citation Style Language (CSL) processor for Java.
Apache License 2.0
89 stars 17 forks source link

We receive the below exception when using the styles "bluebook-law-review" and "bluebook2" #100

Closed PrimoQA closed 2 years ago

PrimoQA commented 3 years ago

Hello Michel, thank you for your help. We receive the below exception when using the styles "bluebook-law-review" and "bluebook2". Is it a CSL issue?

java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class java.util.List (java.lang.Boolean and java.util.List are in module java.base of loader 'bootstrap') at de.undercouch.citeproc.CSL.makeBibliography(CSL.java:432) at de.undercouch.citeproc.CSL.makeBibliography(CSL.java:412) at de.undercouch.citeproc.CSL.makeBibliography(CSL.java:398) at de.undercouch.citeproc.CSL.makeAdhocBibliography(CSL.java:624) at com.exlibris.primo.webservices.rest.citation.CitationRestApi.generateCslCitation(CitationRestApi.java:208) at com.exlibris.primo.webservices.rest.citation.CitationRestApi.citation(CitationRestApi.java:98) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Thanks.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

PrimoQA commented 2 years ago

Hello Michel, it is occurring also for the style:  iso690-note-cs.

Thanks.

michel-kraemer commented 2 years ago

This issue is fixed in the latest citeproc-java version.