JabRef suddenly started crashing

JabRef (tried 5.3 and 5.4 development version) suddenly stopped opening on my Windows 10 PC, and when I try to open it using the batch file, I get this error:

ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
Aug 26, 2021 1:17:59 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'module org.jabref.merged.module', isAutomatic: false, isOpen: true
%d [%thread] %-5level %logger - %msg%n java.lang.IllegalStateException: IOException reading next record: java.io.IOException: (line 244) invalid char between encapsulated token and delimiter
        at org.apache.commons.csv.CSVParser$CSVRecordIterator.getNextRecord(Unknown Source) ~[org.jabref.merged.module:?]
        at org.apache.commons.csv.CSVParser$CSVRecordIterator.hasNext(Unknown Source) ~[org.jabref.merged.module:?]
        at org.jabref.logic.journals.AbbreviationParser.readJournalList(Unknown Source) ~[org.jabref:?]
        at org.jabref.logic.journals.AbbreviationParser.readJournalListFromFile(Unknown Source) ~[org.jabref:?]
        at org.jabref.logic.journals.AbbreviationParser.readJournalListFromFile(Unknown Source) ~[org.jabref:?]
        at org.jabref.logic.journals.JournalAbbreviationLoader.readJournalListFromFile(Unknown Source) ~[org.jabref:?]
        at org.jabref.logic.journals.JournalAbbreviationLoader.loadRepository(Unknown Source) ~[org.jabref:?]
        at org.jabref.gui.JabRefMain.applyPreferences(Unknown Source) ~[org.jabref:?]
        at org.jabref.gui.JabRefMain.start(Unknown Source) ~[org.jabref:?]
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source) ~[org.jabref.merged.module:?]
        at java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[org.jabref.merged.module:?]
        at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source) ~[org.jabref.merged.module:?]
        at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.io.IOException: (line 244) invalid char between encapsulated token and delimiter
        at org.apache.commons.csv.Lexer.parseEncapsulatedToken(Unknown Source) ~[org.jabref.merged.module:?]
        at org.apache.commons.csv.Lexer.nextToken(Unknown Source) ~[org.jabref.merged.module:?]
        at org.apache.commons.csv.CSVParser.nextRecord(Unknown Source) ~[org.jabref.merged.module:?]
        ... 18 more

Any ideas what caused this?

Hi,

from the error this looks like a problem with the journal lists. Do you have added custom journals or tried to load a custom journal list csv ?

Caused by: java.io.IOException: (line 244) invalid char between encapsulated token and delimiter

As this comes from startup, I would try to reset the preferences using the -d switch

PS: Bug Reports are better suited for our issue tracker GitHub - JabRef/jabref: Graphical Java application for managing BibTeX and biblatex (.bib) databas