Skip to content

Import from CLI fails sometimes #7359

@tobiasdiez

Description

@tobiasdiez

JabRef 5.2--2020-12-14--e9be339
Windows 10 10.0 amd64
Java 14.0.2

Steps to reproduce the behavior:

  1. Go to https://arxiv.org/abs/1109.0517
  2. Send to JabRef using Browser Extension
  3. Get following error:

Importing in unknown format: curves Error opening file 'curves': Could not find a suitable import format. Importing in unknown format: with Error opening file 'with': Could not find a suitable import format. Importing in unknown format: complemetary Error opening file 'complemetary': Could not find a suitable import format. Importing in unknown format: series} Error opening file 'series}': Could not find a suitable import format. Importing in unknown format: url Error opening file 'url': Could not find a suitable import format. Importing in unknown format: = Error opening file '=': Could not find a suitable import format. %d [%thread] %-5level %logger - %msg%n java.nio.file.InvalidPathException: Illegal char <:> at index 5: {http://arxiv.org/abs/1109.0517} at sun.nio.fs.WindowsPathParser.normalize(Unknown Source) ~[?:?] at sun.nio.fs.WindowsPathParser.parse(Unknown Source) ~[?:?] at sun.nio.fs.WindowsPathParser.parse(Unknown Source) ~[?:?] at sun.nio.fs.WindowsPath.parse(Unknown Source) ~[?:?] at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source) ~[?:?] at java.nio.file.Path.of(Unknown Source) ~[?:?] at org.jabref.cli.ArgumentProcessor.importFile(Unknown Source) ~[org.jabref:?] at org.jabref.cli.ArgumentProcessor.importAndOpenFiles(Unknown Source) ~[org.jabref:?] at org.jabref.cli.ArgumentProcessor.processArguments(Unknown Source) ~[org.jabref:?] at org.jabref.cli.ArgumentProcessor.(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) [?:?]

For some reason, JabRef tries to find the import format although we call it with "--importBibtex".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions