java.lang.RuntimeException: org.owasp.validator.html.ScanException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

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 Atlassian JIRA by Lukáš Lalinský, 1 year ago
org.owasp.validator.html.ScanException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
via Atlassian JIRA by Lukáš Lalinský, 1 year ago
org.owasp.validator.html.ScanException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
via Atlassian JIRA by Omar Al-Safi [Atlassian], 1 year ago
org.owasp.validator.html.ScanException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
via Atlassian JIRA by Omar Al-Safi [Atlassian], 1 year ago
org.owasp.validator.html.ScanException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
java.lang.RuntimeException: org.owasp.validator.html.ScanException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
at com.atlassian.markup.internal.MarkupFactoryImpl$AntiSamyParser.clean(MarkupFactoryImpl.java:98)
at com.atlassian.markup.internal.MarkupFactoryImpl$AntiSamyParser.markup(MarkupFactoryImpl.java:91)
at com.atlassian.stash.internal.markup.DefaultMarkupService$2.apply(DefaultMarkupService.java:78)
at com.atlassian.stash.internal.markup.DefaultMarkupService$2.apply(DefaultMarkupService.java:75)
at com.atlassian.markup.renderer.impl.MarkupRendererImpl.render(MarkupRendererImpl.java:42)
at com.atlassian.stash.internal.markup.DefaultMarkupService.render(DefaultMarkupService.java:58)
at com.atlassian.stash.rest.enrich.DefaultMarkupEnricher.render(DefaultMarkupEnricher.java:42)
at com.atlassian.stash.rest.enrich.DefaultMarkupEnricher.access$000(DefaultMarkupEnricher.java:14)
at com.atlassian.stash.rest.enrich.DefaultMarkupEnricher$1.apply(DefaultMarkupEnricher.java:31)
at com.atlassian.stash.rest.util.RestUtils.processEntities(RestUtils.java:193)
at com.atlassian.stash.rest.util.RestUtils.processEntities(RestUtils.java:206)
at com.atlassian.stash.rest.util.RestUtils.processEntities(RestUtils.java:206)
at com.atlassian.stash.rest.util.RestUtils.processEntities(RestUtils.java:206)
at com.atlassian.stash.rest.enrich.DefaultMarkupEnricher.enrich(DefaultMarkupEnricher.java:26)
at com.atlassian.stash.internal.rest.filter.MarkupResourceFilterFactory$1.filter(MarkupResourceFilterFactory.java:23)
at com.atlassian.stash.rest.util.AbstractResourceFilterFactory$ResourceFilterEx.filter(AbstractResourceFilterFactory.java:49)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)
at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:90)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77)
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100)
at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75)
at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:72)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.lang.Thread.run(Thread.java:636)

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.