Uncought exception occured in thread [#61

Hi, I have Jabref browser extension installed and when trying to send bibliographical information to Jabref from Edge or Vivaldi, I get the following error message in Jabref:


Do you have any idea about the cause of this?
I use Jabref 6.0 alpha 2.79
Thanks

@MacGyver Can you please post the whole stack trace (when you click on details)

@calixtus the cli stuff was done after the alpha release?

Hi Christoph, see below a snapshot of the entire stack


Thanks

Thanks! that look like a bug, we will look into this. We just changed to a new cli handler and seems like we missed to migrate this option.

This is not a bug, but expected behavior as we renewed the whole cli interface and modernized it a few days ago. ‘-importToOpen’ is not a valid cli option anymore in v6.
If you rely on using the browser extension, please stick to the last stable version v5.15.

The browser extension needs to be rewritten soon to keep it compatible with latest chrome browsers.

Thanks for reporting this incompatibility now.

@calixtus No this should work. This was from the changes with picocli. Before it worked. Even with 6.0 alpha2

The option is now called -add and works on the Parameter 0 instead of an attached argument to ‘-importToOpen’.
As I said, there are incompatibilities to be expected between latest alpha release and other software like the browser extension.
As the browser extension needs to be rewritten anyway to work with latest chrome, this is imho the right time to introduce a cleaned up command line interface.
See jabgui/src/main/java/org/jabref/cli/GuiCommandLine.java

I correct myself, between the latest ‘nightly’ build and the browser extension.

@MacGyver the latest development version should work again!