question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error creating XML using in house REST server

See original GitHub issue

I 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:open
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
annishaa88commented, Nov 27, 2018

I’m also experiencing this issue with query: Mediterranean Sea

0reactions
juhaszhendersoncommented, Jan 28, 2021

Getting this too, any word on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with XML Response Format with Azure Blob Service API
I got the answer. Basically, Azure use different transfer encoding for different response transfer. Usually for big files it uses chunked ...
Read more >
Bigfix create custom site rest api xml error - Platform
Hi, I am making post api to create custom site in bigfix and getting xml pasring error. I edited your post to put...
Read more >
Handling XML from within ArcGIS Server environment?
So the service returns back to the client's browser a XML with all users stored in that table. Now, I would like to...
Read more >
Error when loading XML data from REST service - ServiceNow
Solved: I have a custom table to which I want to load data from REST API (from 3rd party). I did the following...
Read more >
XML API Reference Guide - NetSuite OpenAir
If you find any errors, please report them to us in writing. ... OpenAir XML API, OpenAir SOAP API and OpenAir REST API...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found