jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Exception at org.jabref.gui.desktop.os.Linux.lambda$nativeOpenFile$0

Open ilippert opened this issue 5 years ago • 6 comments

JabRef version

Latest development branch build (please note build date below)

Operating system

GNU / Linux

Details on version and operating system

Fedora 35

Checked with the latest development build

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

Steps to reproduce the behaviour

When I click on the bibtex key in the preview pane, I get this exception. Maybe related to https://github.com/JabRef/jabref/issues/8280?

Appendix

...

Log File
java.lang.NullPointerException
	at java.base/java.io.File.<init>(Unknown Source)
	at [email protected]/org.jabref.gui.desktop.os.Linux.lambda$nativeOpenFile$0(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)

ilippert avatar Dec 02 '21 08:12 ilippert

Maybe related to #8255 and #7706 @evanpickett You worked on this recently, do you mind taking a look at this issue?

Siedlerchr avatar Dec 02 '21 09:12 Siedlerchr

I'll take a look tomorrow and see if I can work on it

evanpickett avatar Dec 02 '21 15:12 evanpickett

I'm finishing up my semester at university and then I'll have more time to look at this, sorry for the delay!

evanpickett avatar Dec 09 '21 08:12 evanpickett

@ilippert I am having trouble reproducing this on my mac, I can click wherever I want but it does nothing @mlep You recently had the similar issue.

Do you use the "Custom preview layout"? (e..g a modified version from JabRef's default) Do you display the DOI as hyperlink?

Siedlerchr avatar Dec 10 '21 20:12 Siedlerchr

Found the bug. Simple fix is on the way

Siedlerchr avatar Dec 21 '21 16:12 Siedlerchr

sorry for no response for days - pandemic everywhere... thanks for the fix, and for looking into it!

ilippert avatar Dec 21 '21 16:12 ilippert