HTTP Status 500 – Internal Server Error


Type Exception Report

Message com.hp.hpl.jena.shared.BadURIException: Only well-formed absolute URIrefs can be included in RDF/XML output: <b> Code: 58/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is required by the scheme is missing.

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: com.hp.hpl.jena.shared.BadURIException: Only well-formed absolute URIrefs can be included in RDF/XML output: <b> Code: 58/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is required by the scheme is missing.
	net.rhizomik.redefer.rdf2svg.RenderRDF.performTask(RenderRDF.java:201)
	net.rhizomik.redefer.rdf2svg.RenderRDF.doGet(RenderRDF.java:77)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Root Cause

com.hp.hpl.jena.shared.BadURIException: Only well-formed absolute URIrefs can be included in RDF/XML output: <b> Code: 58/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is required by the scheme is missing.
	com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.checkURI(BaseXMLWriter.java:768)
	com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.xmlnsDecl(BaseXMLWriter.java:300)
	com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFHeader(Basic.java:56)
	com.hp.hpl.jena.xmloutput.impl.Basic.writeBody(Basic.java:39)
	com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.writeXMLBody(BaseXMLWriter.java:452)
	com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:424)
	com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:410)
	com.hp.hpl.jena.rdf.model.impl.ModelCom.write(ModelCom.java:276)
	net.rhizomik.redefer.rdf2svg.RenderRDF.rdfModel2dot(RenderRDF.java:273)
	net.rhizomik.redefer.rdf2svg.RenderRDF.performTask(RenderRDF.java:136)
	net.rhizomik.redefer.rdf2svg.RenderRDF.doGet(RenderRDF.java:77)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/8.5.16