Jaovitosr/Chatbot

JabRef error if keyword group has no name

Ouverte

#12 ouverte le 14 sept. 2023

 (1 commentaire) (0 réaction) (0 personne assignée) (0 fork)auto 404
FirstTimeCodeContributionbuggood first issuegroups

Métriques du dépôt

Stars
 (0 étoile)
Métriques de merge PR
 (Métriques PR en attente)

Description

From jabref created by alfureu: JabRef/jabref#9776

Update: Read on at https://github.com/JabRef/jabref/issues/9776#issuecomment-1555866023

JabRef version

5.9 (latest release)

Operating system

macOS

Details on version and operating system

macOS 13.3.1

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. import a biblatex library created on linux machine and with the special field priority
  2. error opening (does not open)
JabRef 5.9--2023-01-08--76253f1a7
Mac OS X 13.3.1 aarch64 
Java 19.0.1 
JavaFX 19+11

Appendix

...

java.lang.NumberFormatException: For input string: "priority"
	at java.base/java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.base/java.lang.Integer.parseInt(Unknown Source)
	at java.base/java.lang.Integer.parseInt(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.util.GroupsParser.keywordGroupFromString(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.util.GroupsParser.fromString(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.util.GroupsParser.importGroups(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.util.MetaDataParser.parse(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.util.MetaDataParser.parse(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.fileformat.BibtexParser.parseFileContent(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.fileformat.BibtexParser.parse(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.fileformat.BibtexImporter.importDatabase(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.fileformat.BibtexImporter.importDatabase(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.logic.importer.OpenDatabase.loadDatabase(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.gui.importer.actions.OpenDatabaseAction.loadDatabase(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.gui.importer.actions.OpenDatabaseAction.lambda$openTheFile$1(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
	at org.jabref@5.9.60000/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
	at org.jabref.merged.module@5.9.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)

Guide contributeur