Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by wei liu, 1 year ago
com.hp.hpl.jena.shared.CannotEncodeCharacterException: cannot encode (char)   in contentXML	at com.hp.hpl.jena.rdf.model.impl.Util.substituteEntitiesInElementContent(Util.java:153)	at com.hp.hpl.jena.xmloutput.impl.Basic.writeLiteral(Basic.java:174)	at com.hp.hpl.jena.xmloutput.impl.Basic.writePredicate(Basic.java:104)	at com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements(Basic.java:77)	at com.hp.hpl.jena.xmloutput.impl.Basic.writeRDFStatements(Basic.java:66)	at com.hp.hpl.jena.xmloutput.impl.Basic.writeBody(Basic.java:40)	at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.writeXMLBody(BaseXMLWriter.java:455)	at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:424)	at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.saveModel(Unknown Source)	at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown Source)	at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown Source)	at edu.stanford.smi.protegex.owl.jena.protege2jena.Protege2Jena.saveAll(Unknown Source)	at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.save(Unknown Source)	at MiningExtract.BuildHealthProvider.IntegrateOntology(BuildHealthProvider.java:1453)	at MiningExtract.BuildHealthProvider.main(BuildHealthProvider.java:1692)