Skip to content

Search errors in different catalogues #13845

@emilianosalatino

Description

@emilianosalatino

JabRef version

5.15 (latest release)

Operating system

Windows

Details on version and operating system

Windows 10, Windows 11

Checked with the latest development build (copy version output from About dialog)

  • 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. I get errors while searching in different databses. Did API's change? Are some search querys correct? Some do work like :
Image Image Image

Appendix

Searching in many databses fails.

Log File
org.jabref.logic.importer.FetcherException: An internal parser error occurred while fetching from https://scholar.archive.org/search?q=wordpress&from=0&size=20&format=json
	at [email protected]/org.jabref.logic.importer.SearchBasedParserFetcher.getBibEntries(Unknown Source)
	at [email protected]/org.jabref.logic.importer.SearchBasedParserFetcher.performSearch(Unknown Source)
	at [email protected]/org.jabref.logic.importer.PagedSearchBasedParserFetcher.performSearch(Unknown Source)
	at [email protected]/org.jabref.logic.importer.SearchBasedFetcher.performSearch(Unknown Source)
	at [email protected]/org.jabref.gui.importer.fetcher.WebSearchPaneViewModel.lambda$search$2(Unknown Source)
	at [email protected]/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
	at [email protected]/org.jabref.gui.util.UiTaskExecutor$1.call(Unknown Source)
	at [email protected]/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.jabref.logic.importer.ParseException: kong.unirest.core.json.JSONException: Invalid JSON
	at [email protected]/org.jabref.logic.importer.util.JsonReader.toJsonObject(Unknown Source)
	at [email protected]/org.jabref.logic.importer.fetcher.ScholarArchiveFetcher.lambda$getParser$0(Unknown Source)
	... 14 more
Caused by: kong.unirest.core.json.JSONException: Invalid JSON
	at [email protected]/kong.unirest.modules.gson.GsonEngine.newEngineObject(Unknown Source)
	at [email protected]/kong.unirest.core.json.JSONObject.<init>(Unknown Source)
	... 16 more

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions