[
https://issues.apache.org/jira/browse/SLING-8329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821815#comment-16821815
]
Radu Cotescu commented on SLING-8329:
-------------------------------------
It seems that this is how {{org.cyberneko.html.HTMLScanner}} notifies
internally that it has reached the EOF. The exception is then caught and the
state reset. Unfortunately it's not something that we can control. This is the
dependency chain:
{noformat}
[INFO] org.apache.sling:org.apache.sling.xss:bundle:2.1.7-SNAPSHOT
[INFO] +- org.owasp.antisamy:antisamy:jar:1.5.7:provided
[INFO] | +- org.apache.xmlgraphics:batik-css:jar:1.9.1:provided
[INFO] | | +- org.apache.xmlgraphics:batik-util:jar:1.9.1:provided
[INFO] | | | +- org.apache.xmlgraphics:batik-constants:jar:1.9.1:provided
[INFO] | | | \- org.apache.xmlgraphics:batik-i18n:jar:1.9.1:provided
[INFO] | | +- org.apache.xmlgraphics:xmlgraphics-commons:jar:2.2:provided
[INFO] | | \- xml-apis:xml-apis-ext:jar:1.3.04:provided
[INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:provided
{noformat}
And it seems that {{net.sourceforge.nekohtml:nekohtml:jar:1.9.22}} is the
latest version. :(
> XSSApi indirectly triggers silent EOFExceptions
> -----------------------------------------------
>
> Key: SLING-8329
> URL: https://issues.apache.org/jira/browse/SLING-8329
> Project: Sling
> Issue Type: Improvement
> Components: XSS Protection API
> Affects Versions: XSS Protection API 2.1.0
> Reporter: Nicolas Peltier
> Assignee: Radu Cotescu
> Priority: Major
> Attachments: Screenshot 2019-03-26 at 16.27.28.png
>
>
> While profiling some rendering, i noticed almost every page rendering
> generates tons of EOFException, that are totally silent, and not blocking the
> computing to be correct, but still are a performance drain.
> !Screenshot 2019-03-26 at 16.27.28.png!
> cc [~radu.cotescu]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)