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

DOAB fetcher throws exception when searching for "politik" #9571

Closed
2 tasks done
Siedlerchr opened this issue Jan 18, 2023 · 0 comments · Fixed by #9572
Closed
2 tasks done

DOAB fetcher throws exception when searching for "politik" #9571

Siedlerchr opened this issue Jan 18, 2023 · 0 comments · Fixed by #9572
Labels
component: fetcher [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs

Comments

@Siedlerchr
Copy link
Member

Siedlerchr commented Jan 18, 2023

JabRef version

5.9 (latest release)

Operating system

macOS

Details on version and operating system

No response

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Go to "web search"
  2. Use "DOAB" fetcher
  3. Search for the word "politik"

Wait. Eventually following error message with trigger:

	at [email protected]/kong.unirest.json.JSONObject.tryNumber(JSONObject.java:972)
	at [email protected]/kong.unirest.json.JSONObject.getInt(JSONObject.java:494)
	at [email protected]/org.jabref.logic.importer.fetcher.DOABFetcher.jsonToBibEntry(DOABFetcher.java:121)
	at [email protected]/org.jabref.logic.importer.fetcher.DOABFetcher.lambda$getParser$0(DOABFetcher.java:77)
	at [email protected]/org.jabref.logic.importer.SearchBasedParserFetcher.getBibEntries(SearchBasedParserFetcher.java:59)
	at [email protected]/org.jabref.logic.importer.SearchBasedParserFetcher.performSearch(SearchBasedParserFetcher.java:54)
	at [email protected]/org.jabref.logic.importer.SearchBasedFetcher.performSearch(SearchBasedFetcher.java:51)
	at [email protected]/org.jabref.gui.importer.fetcher.WebSearchPaneViewModel.lambda$search$3(WebSearchPaneViewModel.java:137)
	at [email protected]/org.jabref.gui.util.BackgroundTask$1.call(BackgroundTask.java:60)
	at [email protected]/org.jabref.gui.util.DefaultTaskExecutor$1.call(DefaultTaskExecutor.java:161)
	at javafx.graphics@19/javafx.concurrent.Task$TaskCallable.call(Task.java:1426)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1589)

Appendix

Originally created at https://github.com/JabRef/jabref-issue-melting-pot/issues/75
...

Log File
Paste an excerpt of your log file here
@Siedlerchr Siedlerchr added [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs component: fetcher labels Jan 18, 2023
@Siedlerchr Siedlerchr mentioned this issue Jan 18, 2023
6 tasks
@github-project-automation github-project-automation bot moved this to Normal priority in Prioritization Jan 18, 2023
@github-project-automation github-project-automation bot moved this from Normal priority to Done in Prioritization Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: fetcher [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant