Error creating XML using in house REST server
See original GitHub issueI am running the in-house RESTful server.
Using dbpeidia spotlight 1.0.0 [1] and model 2016-10 [2].
The server can do annotation most of the time, but sometimes throws:
org.dbpedia.spotlight.exceptions.OutputException: Error creating XML output.Error creating XML output.org.dbpedia.spotlight.web.rest.OutputManager.makeXML(OutputManager.java:108)
One minimum test case to reproduce the error is:
curl http://localhost:2222/en/rest/annotate --data-urlencode "text=Crimean peninsula Black Sea" -H "Accept: application/json"
Interestingly, querying the public dbpedia end point is totally fine:
curl http://api.dbpedia-spotlight.org/en/annotate --data-urlencode "text=Crimean peninsula Black Sea" -H "Accept: application/json"
[1] http://downloads.dbpedia-spotlight.org/spotlight/dbpedia-spotlight-1.0.0.jar [2] http://downloads.dbpedia-spotlight.org/2016-10/en/model/en.tar.gz
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
I’m also experiencing this issue with query: Mediterranean Sea
Getting this too, any word on this?