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

Paste entries into group bug #3537

Closed
1 task done
jmkeil opened this issue Dec 15, 2017 · 6 comments
Closed
1 task done

Paste entries into group bug #3537

jmkeil opened this issue Dec 15, 2017 · 6 comments
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs groups

Comments

@jmkeil
Copy link

jmkeil commented Dec 15, 2017

JabRef version 4.0 on Windows 8.1

Steps to reproduce:

  1. Open JabRef (error on console, see details)
  2. Open the groups view
  3. Create a new Document
  4. Click "All entries"
  5. Paste some Bibtex
  6. Entry does not appear, entry counter is "0" (Expected: Entry does appear, counter increases)
  7. Save the file
  8. File contains the entry (as expected)
  9. create a new group and click on them
  10. click on "All entries"
  11. the entry now appears (as expected), counter is still "0" (not expected)
  12. create a second new document
  13. switch back to the first document
  14. counter is "1" (as expected)
Log File
AI: INFO 15-12-2017 16:13, 22: Configuration file has been successfully found as resource
16:13:18.717 [JavaFX Application Thread] ERROR org.jabref.FallbackExceptionHandler - Uncaught exception occurred in Thread[JavaFX Application Thread,5,main]
java.lang.NullPointerException: null
      at org.jabref.gui.search.GlobalSearchBar.lambda$new$5(GlobalSearchBar.java:196) ~[JabRef--master--latest.jar:?]
      at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295) ~[jfxrt.jar:?]
      at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_151]
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294) ~[jfxrt.jar:?]
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) ~[jfxrt.jar:?]
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[jfxrt.jar:?]
      at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177) ~[jfxrt.jar:?]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
File: grouptree.fxml not found, attempting with camel case
File: grouptree.css not found, attempting with camel case
@Siedlerchr
Copy link
Member

The exception looks similar to #3525. Should be fixed. But unfortunately, as we currently have issues with our certificate, the master binary does not get updated.
Either you wait or you run JabRef from source with gradlew run

@tobiasdiez tobiasdiez added bug Confirmed bugs or reports that are very likely to be bugs groups labels Dec 15, 2017
@tobiasdiez
Copy link
Member

Yes, the NPE error should be fixed but not the update problem. I'll try to have a look at it in the next days.

@tobiasdiez tobiasdiez self-assigned this Dec 15, 2017
@tobiasdiez tobiasdiez added this to To Do (nice to have) in Maintable in JavaFX via automation Jan 11, 2018
@tobiasdiez tobiasdiez added this to ToDo in JavaFX UI Rework via automation Jun 17, 2018
tobiasdiez added a commit that referenced this issue Oct 26, 2018
Fixes #3537 by replacing the EventBus subscription by a JavaFX listener.
JavaFX UI Rework automation moved this from ToDo to Completed Oct 27, 2018
Siedlerchr pushed a commit that referenced this issue Oct 27, 2018
Fixes #3537 by replacing the EventBus subscription by a JavaFX listener.
@Siedlerchr
Copy link
Member

Thank you for reporting this issue. We think, that is already fixed in our development version and consequently the change will be included in the next release.

We would like to ask you to use a development build from https://builds.jabref.org/master and report back if it works for you. Please remember to make a backup of your library before trying-out this version.

@jmkeil
Copy link
Author

jmkeil commented Nov 7, 2018

Hi. I tested the old steps to reproduce with JabRef-5.0-dev--snapshot--2018-11-06--master--5548f8f04.jar. I see some improvements (new entry now appears immediately), but there are still some problems. The problem is also not limited to pasting entries, but also affects creating new entries.

New steps to reproduce:

  1. Open JabRef
  2. Open the groups view
  3. Create a new Document
  4. Click "All entries"
  5. Paste some Bibtex / create a new entry
    • Entry appears (as expected)
    • entry counter of "All entries" is "0" (not expected)
  6. Save the file
  7. File contains the entry (as expected)
  8. create a new group
    • entry counter of "All entries" is now "1" (as expected)

@Siedlerchr
Copy link
Member

@jmkeil Thanks for your report. The entry number bug is known. If you switch to another db and then back it should be correct again. See issue #4441

@jmkeil
Copy link
Author

jmkeil commented Nov 7, 2018

Yes, this is the same bug. So this issue can stay closed. Thanks.

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 groups
Projects
No open projects
JavaFX UI Rework
  
Completed
Maintable in JavaFX
  
To Do (nice to have)
Development

No branches or pull requests

3 participants