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

Importing from the ACM Digital Library hangs after selection #3500

Closed
1 task done
khatchad opened this issue Dec 8, 2017 · 2 comments
Closed
1 task done

Importing from the ACM Digital Library hangs after selection #3500

khatchad opened this issue Dec 8, 2017 · 2 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs fetcher

Comments

@khatchad
Copy link

khatchad commented Dec 8, 2017

JabRef version 4.1-dev--snapshot--2017-12-08--master--6f39151a7, Linux 4.13.0-17-generic amd64, Java 1.8.0_121 on Ubuntu 17.10

Steps to reproduce:

  1. Search for a paper on the ACM Portal.
  2. Select to import one the returned entries.

Expected result:
Entry appears in my bibliography.

Actual result:
JabRef hangs.

Log File
10:06:08.970 [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$173(PlatformImpl.java:295) ~[jfxrt.jar:?]
      at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_121]
      at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) ~[jfxrt.jar:?]
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) ~[jfxrt.jar:?]
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) ~[jfxrt.jar:?]
      at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139) ~[jfxrt.jar:?]
      at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]                     
File: grouptree.fxml not found, attempting with camel case                         
File: grouptree.css not found, attempting with camel case                          
10:06:44.558 [JabRef CachedThreadPool] ERROR org.jabref.FallbackExceptionHandler - Uncaught exception occurred in Thread[JabRef CachedThreadPool,6,main]
java.lang.StringIndexOutOfBoundsException: String index out of range: -1           
      at java.lang.String.substring(String.java:1960) ~[?:1.8.0_121]             
      at org.jabref.gui.importer.fetcher.ACMPortalFetcher.downloadEntryBibTeX(ACMPortalFetcher.java:325) ~[JabRef--master--latest.jar:?]
      at org.jabref.gui.importer.fetcher.ACMPortalFetcher.getEntries(ACMPortalFetcher.java:181) ~[JabRef--master--latest.jar:?]
      at org.jabref.gui.importer.fetcher.GeneralFetcher.lambda$actionPerformed$2(GeneralFetcher.java:198) ~[JabRef--master--latest.jar:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_121]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_121]
      at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
@Siedlerchr Siedlerchr added bug Confirmed bugs or reports that are very likely to be bugs fetcher labels Dec 8, 2017
@Siedlerchr
Copy link
Member

I can only reproduce the fetcher bug itself, seems like there has been an update to the acm page

@lenhard
Copy link
Member

lenhard commented Dec 8, 2017

The outdated jdk version could be part of the problem. The latest development snapshot should display a warning that says that you need at least 1.8.0_144.

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 fetcher
Projects
None yet
Development

No branches or pull requests

3 participants