Skip to content

Pasting entry on the maintable in new library fails with NPE #4324

@Siedlerchr

Description

@Siedlerchr
  1. Copy an entry in the maintable
  2. Create a new library
  3. Paste entry to new library.
12:48:20.831 [JavaFX Application Thread] ERROR org.jabref.FallbackExceptionHandler - Uncaught exception occurred in Thread[JavaFX Application Thread,5,main] - java.lang.NullPointerException
	at org.jabref.gui.JabRefFrame$EditAction.execute(JabRefFrame.java:1446)
	at org.jabref.gui.actions.JabRefAction.lambda$2(JabRefAction.java:29)
	at org.controlsfx.control.action.Action.handle(Action.java:419)
	at org.controlsfx.control.action.Action.handle(Action.java:64) 

JComponent source = Globals.getFocusListener().getFocused(); is null
Unfortunately I have no idea if this Focus listener is still needed with javafx and or how to fix this

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions