net.sf.saxon.trans.XPathException: Illegal HTML character: decimal 157

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 Stack Overflow by user3872094
, 1 year ago
Illegal HTML character: decimal 157
net.sf.saxon.trans.XPathException: Illegal HTML character: decimal 157
at net.sf.saxon.serialize.HTMLEmitter.writeEscape(HTMLEmitter.java:366)
at net.sf.saxon.serialize.XMLEmitter.characters(XMLEmitter.java:594)
at net.sf.saxon.serialize.HTMLEmitter.characters(HTMLEmitter.java:428)
at net.sf.saxon.serialize.HTMLIndenter.characters(HTMLIndenter.java:255)
at net.sf.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:194)
at net.sf.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:194)
at net.sf.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:194)
at net.sf.saxon.event.ProxyReceiver.characters(ProxyReceiver.java:194)
at net.sf.saxon.event.ComplexContentOutputter.characters(ComplexContentOutputter.java:174)
at net.sf.saxon.expr.instruct.ValueOf.processValue(ValueOf.java:295)
at net.sf.saxon.expr.instruct.SimpleNodeConstructor.processLeavingTail(SimpleNodeConstructor.java:222)
at net.sf.saxon.expr.instruct.ValueOf.processLeavingTail(ValueOf.java:280)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.AnalyzeString.processLeavingTail(AnalyzeString.java:443)
at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:336)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1124)
at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesPackage.processLeavingTail(ApplyTemplates.java:516)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1061)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:284)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:244)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Template.expand(Template.java:367)
at net.sf.saxon.expr.instruct.CallTemplate.process(CallTemplate.java:343)
at net.sf.saxon.expr.instruct.ForEach.processLeavingTail(ForEach.java:419)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:336)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1124)
at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1100)
at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesPackage.processLeavingTail(ApplyTemplates.java:516)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1061)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:284)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:244)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:336)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1124)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:284)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:244)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:336)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1124)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:284)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:244)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:336)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1124)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:284)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:244)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:336)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1124)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:284)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:244)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:450)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:389)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:669)
at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:336)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1124)
at net.sf.saxon.Controller.transformDocument(Controller.java:2106)
at net.sf.saxon.Controller.transform(Controller.java:1705)
at net.sf.saxon.s9api.XsltTransformer.transform(XsltTransformer.java:547)
at net.sf.saxon.jaxp.TransformerImpl.transform(TransformerImpl.java:177)
at com.s1a.alpha.APP2.main(APP2.java:74)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.