Troubles to exporting to MS Office 2007

I use jabref for a few years now. The last xml file i exported from my entire library was in February and now i receive an error message, and i can’t export to xml format.

java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 1510
at java.base/java.time.temporal.TemporalAccessor.get(Unknown Source)
at org.jabref@5.12.60000/org.jabref.model.entry.Date.get(Unknown Source)
at org.jabref@5.12.60000/org.jabref.model.entry.Date.getMonth(Unknown Source)
at org.jabref@5.12.60000/org.jabref.model.entry.BibEntry.genericGetFieldOrAlias(Unknown Source)
at org.jabref@5.12.60000/org.jabref.model.entry.BibEntry.getFieldOrAlias(Unknown Source)
at org.jabref@5.12.60000/org.jabref.model.entry.BibEntry.getMonth(Unknown Source)
at org.jabref@5.12.60000/org.jabref.logic.msbib.MSBibConverter.convert(Unknown Source)
at org.jabref@5.12.60000/org.jabref.logic.msbib.MSBibDatabase.addEntriesForExport(Unknown Source)
at org.jabref@5.12.60000/org.jabref.logic.msbib.MSBibDatabase.(Unknown Source)
at org.jabref@5.12.60000/org.jabref.logic.exporter.MSBibExporter.export(Unknown Source)
at org.jabref@5.12.60000/org.jabref.logic.exporter.Exporter.export(Unknown Source)
at org.jabref@5.12.60000/org.jabref.gui.exporter.ExportCommand.lambda$export$3(Unknown Source)
at org.jabref@5.12.60000/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
at org.jabref@5.12.60000/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
at org.jabref.merged.module@5.12.60000/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

How can i fix it?

Hi,

this seems like you have an entry with an invalid date field where the value “1510” is inside for the field month or for the field date. Can you please check that?

Hi,
I checked and it is done!!

Thank you for your help!

1 Like