Skip to content

import hangs for ris files with "ER - " field, also other bib files common from journal web sites #7737

@CodeSJS

Description

@CodeSJS

JabRef version JabRef 5.3--2021-05-15--0a26d31
Windows 10 10.0 amd64
Java 16.0.1
JavaFX 16+8

Certain files I download from journals cause import to hang. (I looked through other bug reports concerning "import hangs" and this seems to be different. Apologies if duplicate.) The problem was perfectly reproducible in 5.2. In 5.3 some problem files occasionally load. If you cannot reproduce the bug, please try opening the problem files 3 or 4 times.

With ris files the problem is clear. When the ris file contains "ER - " as the last line, import (ctrl-I) hangs and I have to kill jabref and restart. Removing the last line solves the problem. This may be an illegal ris format, but many journal citation files end this way. I have provided examples from J. Chem. Phys., J. Phys. Chem., WIREs Comput. Mol Sci., and Biophys. J. It is interesting, but there is no problem opening such a file using right click, open with jabref.

Bib files from journals also give similar problems. I delete portions of the file until jabref does not hang. However, I have not pinned down the problem as I have with ris files. Examples of both ris and bib problem files will be attached.

I cannot post a log file example. When the import hangs and I have to "close program", the log is empty upon restart.

Several ris and bib files that cause problems are attached. The ris files all contain the "ER - " last line.

FilesThatCauseImportHangs.zip

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions