Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dragging files and folders on entry generates exception #7072

Open
ilippert opened this issue Nov 4, 2020 · 30 comments
Open

dragging files and folders on entry generates exception #7072

ilippert opened this issue Nov 4, 2020 · 30 comments
Labels
os: linux status: depends-on-external A bug or issue that depends on an update of an external library

Comments

@ilippert
Copy link
Contributor

ilippert commented Nov 4, 2020

JabRef 5.2--2020-11-03--b5bcea4
Linux 5.8.17-200.fc32.x86_64 amd64
Java 15.0.1

Upon dragging a pdf (without write file permissions) on an entry, I got this exception.

Log File
java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
  at org.jabref.merged.module@5.2.214/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.214/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.2.214/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

@ilippert
Copy link
Contributor Author

ilippert commented Nov 7, 2020

JabRef 5.2--2020-11-05--09f8098
Linux 5.8.18-200.fc32.x86_64 amd64
Java 15.0.1

another log case for the same error - but without read-only file.

Log File

java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
  at org.jabref.merged.module@5.2.224/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

@ilippert ilippert changed the title dragging read-only file on entry generates exception dragging files on entry generates exception Nov 8, 2020
@ilippert
Copy link
Contributor Author

ilippert commented Nov 8, 2020

Exception, but file was attached.

Log File

java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
  at org.jabref.merged.module@5.2.224/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.2.224/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

@ilippert
Copy link
Contributor Author

ilippert commented Nov 18, 2020

Same happens regularly (error, but file gets attached) - just documenting the errors, in case that is helpful.

JabRef 5.2--2020-11-17--a335f0d
Linux 5.9.8-200.fc33.x86_64 amd64
Java 15.0.1

Log File

java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
  at org.jabref.merged.module@5.2.264/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
  at org.jabref.merged.module@5.2.264/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.2.264/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

@Siedlerchr
Copy link
Member

It's always the same error, so no need to report it everytime, but I fear it's somehow related to javafx. I am not sure if we can do anything about this atm.
Coul you please give some more information about your GUI toolkit? KDE? GTK? Gnome?
There was a similar thing in OSX which got fixed in the latest javafx application.

@ilippert
Copy link
Contributor Author

Ok, thanks a lot.
This is gnome, Fedora 33, Wayland.

@ilippert
Copy link
Contributor Author

ilippert commented Jan 7, 2021

It is still the same issue
JabRef 5.3--2021-01-07--129abaa
Linux 5.9.16-200.fc33.x86_64 amd64
Java 15.0.1

@Siedlerchr
Copy link
Member

Can you please try again with the latest version? I updated the javafx version

@ilippert
Copy link
Contributor Author

Hi,
at
JabRef 5.3--2021-01-09--86852c6
Linux 5.9.16-200.fc33.x86_64 amd64
Java 15.0.1
JavaFX 15.0.1+1

I do not get any reaction - no error message but neither is a pdf attached.

@ilippert
Copy link
Contributor Author

ilippert commented Feb 5, 2021

Hi,

at
JabRef 5.3--2021-02-03--242a494
Linux 5.10.11-200.fc33.x86_64 amd64
Java 15.0.2
JavaFX 15.0.1+1
I get

Log File
java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
  at org.jabref.merged.module@5.3.115/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.115/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.3.115/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

and the pdf does not get attached.

@ilippert
Copy link
Contributor Author

@ilippert
Copy link
Contributor Author

Hi,

at
JabRef 5.3--2021-03-19--049acb9
Linux 5.11.7-200.fc33.x86_64 amd64
Java 15.0.2
JavaFX 16+8
I get

Log File
  at org.jabref.merged.module@5.3.203/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
  at org.jabref.merged.module@5.3.203/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.3.203/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)


and the pdf does get attached when I drag and drop onto the File field of an entry/in entry editor.

@Siedlerchr
Copy link
Member

@ilippert damn, I hoped that the bug was fixed with jfx16 :/
Did you press any modifier key? Can you try with shift/ctrl/alt... And the exception from the log seems to be missing some lines wich state the cause, but that seems like the same as in your other post

@ilippert
Copy link
Contributor Author

Hi, pressing/not pressing modifier keys does not prevent the error message.

 And the exception from the log seems to be missing some lines wich state the cause, but that seems like the same as in your other post 

well that is what JabRef offers to me.

@ilippert
Copy link
Contributor Author

ilippert commented Aug 15, 2021

When I attach a file, it does attach, but I get an error in

JabRef 5.3--2021-07-16--c99d61c
Linux 5.13.8-200.fc34.x86_64 amd64
Java 16.0.1
JavaFX 16+8

Log File

java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
at org.jabref.merged.module@5.3.21/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
at org.jabref.merged.module@5.3.21/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at org.jabref.merged.module@5.3.21/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

@ilippert
Copy link
Contributor Author

This is the complete error message that JabRef offers to me.

I did not press any keys whilst drag & drop.

@ilippert
Copy link
Contributor Author

error still at JabRef 5.4--2021-08-15--96061b7
Linux 5.13.9-200.fc34.x86_64 amd64
Java 16.0.2
JavaFX 16+8

@Siedlerchr
Copy link
Member

Good news, this might be fixed with the upcoming JavaFX17 version which will be released soon

@Siedlerchr Siedlerchr added the status: depends-on-external A bug or issue that depends on an update of an external library label Aug 17, 2021
@Siedlerchr
Copy link
Member

@ilippert This will be hopefully fixed in the next master/main version (currently building). Javafx 17 got released and this should fix it.

@ilippert
Copy link
Contributor Author

Hi,

on

JabRef 5.4--2021-09-10--6c145fc
Linux 5.13.14-200.fc34.x86_64 amd64
Java 16.0.2
JavaFX 17+18

I get this error AND no file gets attached.

	at org.jabref.merged.module@5.4.182/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.182/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at org.jabref.merged.module@5.4.182/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

@ilippert
Copy link
Contributor Author

ilippert commented Sep 21, 2021

JabRef 5.4--2021-09-20--a91420d
Linux 5.13.16-200.fc34.x86_64 amd64
Java 16.0.2
JavaFX 17+18

I get this error AND file DOES get attached.

	at org.jabref.merged.module@5.4.217/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

@ilippert ilippert changed the title dragging files on entry generates exception dragging files and folders on entry generates exception Sep 22, 2021
@ilippert
Copy link
Contributor Author

JabRef 5.4--2021-09-20--a91420d
Linux 5.13.16-200.fc34.x86_64 amd64
Java 16.0.2
JavaFX 17+18

I cannot attach a folder to the entry.

	at org.jabref.merged.module@5.4.217/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at org.jabref.merged.module@5.4.217/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

@Siedlerchr
Copy link
Member

It seems like they recognized that this bug is still occuring under linux https://bugs.openjdk.java.net/browse/JDK-8275033

@CodeDead
Copy link

It seems like they recognized that this bug is still occuring under linux https://bugs.openjdk.java.net/browse/JDK-8275033

I was facing the same problem for an entirely different project using Fedora Linux 36 and drag and drop events. After a lengthy Reddit discussion, Nir Lisker got this issue reopened. It is still present in JavaFX 19 and below. Hopefully it will gain some traction.

@philipptempel
Copy link

After updating to JabRef 5.9, I am experiencing the same issue.
When dragging a PDF onto an existing entry, I am receiving an Uncaught exception occured in Thread[#31,JavaFX Application Thread,5,main] exception.

JabRef version: 5.9
Operating system: Ubuntu 22.04.1 LTS 64-bit
GNOME Version: GNOME 42.5
Windowing System: Wayland
Kernel: Linux 5.15.0-58-generic #64-Ubuntu SMP

Log File
java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
	at org.jabref.merged.module@5.9.6000/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
	at org.jabref.merged.module@5.9.6000/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at org.jabref.merged.module@5.9.6000/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

@CodeDead
Copy link

CodeDead commented Feb 3, 2023

@philipptempel The issue lies in the JFX SDK and will be fixed in openjfx21, which will be released at an unknown date as of today. It could be months, but it has nothing to do with the application itself

@ilippert
Copy link
Contributor Author

I just checked, in my reading of openjdk/jfx@7e54b63 we are now at openjfx22. But the issue has not changed in my experience with JabRef.

JabRef 5.10--2023-07-04--ffedea2
Linux 6.4.8-200.fc38.x86_64 amd64
Java 21-internal
JavaFX 20+19

@Siedlerchr
Copy link
Member

@ilippert Java & javafx are independent. We are still using javafx 20 as the version number you posted reports :)

@philipptempel
Copy link

To chime in on the recent activity: I do no longer have the problem / error when dragging files to JabRef. Neither on macOS nor on Linux.

JabRef 5.9--2023-01-08--76253f1a7
Mac OS X 13.4.1 x86_64 
Java 19.0.1 
JavaFX 19+11

@ilippert
Copy link
Contributor Author

ilippert commented Sep 26, 2023

I am on

JabRef 5.11--2023-09-25--bc8fb3f
Linux 6.5.5-200.fc38.x86_64 amd64 
Java 21-internal 
JavaFX 20.0.2+3

and the issue persists

Log File
java.lang.NullPointerException: Cannot read field "dragboard" because "this.this$0.dndGesture" is null
  at org.jabref.merged.module@5.11.201/javafx.scene.Scene$DropTargetListener.drop(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.lambda$handleDragDrop$2(Unknown Source)
  at java.base/java.security.AccessController.doPrivileged(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleDragDrop$11(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.glass.ui.View.handleDragDrop(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.glass.ui.View.notifyDragDrop(Unknown Source)
  at org.jabref.merged.module@5.11.201/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
  at org.jabref.merged.module@5.11.201/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

@Siedlerchr
Copy link
Member

Might be fixed by the newer javafx version, but we are currently blocked by a third party component and cannot upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux status: depends-on-external A bug or issue that depends on an update of an external library
Projects
Status: Normal priority
Development

No branches or pull requests

4 participants