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

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

Closed
Siedlerchr opened this issue Sep 7, 2018 · 0 comments
Closed

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

Siedlerchr opened this issue Sep 7, 2018 · 0 comments
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs maintable

Comments

@Siedlerchr
Copy link
Member

  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

@Siedlerchr Siedlerchr added the bug Confirmed bugs or reports that are very likely to be bugs label Sep 7, 2018
@tobiasdiez tobiasdiez self-assigned this Sep 11, 2018
tobiasdiez added a commit that referenced this issue Sep 12, 2018
* Remove GlobalFocusListener and old TextField entry editor

Fixes #4324.

* Add default to switch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs maintable
Projects
None yet
Development

No branches or pull requests

2 participants