You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (JIRA)" <ji...@apache.org> on 2019/06/12 21:40:00 UTC
[jira] [Created] (SLING-8486) Insights Broken with New Sling Engine
Dan Klco created SLING-8486:
-------------------------------
Summary: Insights Broken with New Sling Engine
Key: SLING-8486
URL: https://issues.apache.org/jira/browse/SLING-8486
Project: Sling
Issue Type: Bug
Affects Versions: Version App CMS 0.12.0
Reporter: Dan Klco
Assignee: Dan Klco
Fix For: App CMS 0.12.2
When attempting to execute the insights with the latest version of Sling CMS, they fail with with an UnsupportedOperationException:
12.06.2019 16:29:35.724 *ERROR* [0:0:0:0:0:0:0:1 [1560374975488] GET /cms/shared/insights.html/content/apache/sling-apache-org/index HTTP/1.1] org.apache.sling.cms.core.insights.impl.BaseInsightProvider Unable to perform check HTML Validator for request PageInsightRequestImpl [markupCache={}, page=org.apache.sling.cms.core.internal.models.PageImpl@2acb749b, requestProcessor=org.apache.sling.engine.impl.SlingRequestProcessorImpl@72dee959, resourceResolver=org.apache.sling.resourceresolver.impl.ResourceResolverImpl@7b27edc]
java.lang.UnsupportedOperationException: null
at org.apache.sling.cms.core.insights.impl.FakeResponse.addHeader(FakeResponse.java:86) [org.apache.sling.cms.core:0.11.3.SNAPSHOT]
at org.apache.sling.engine.impl.SlingHttpServletResponseImpl.<init>(SlingHttpServletResponseImpl.java:59) [org.apache.sling.engine:2.6.18]
at org.apache.sling.engine.impl.request.RequestData.<init>(RequestData.java:216) [org.apache.sling.engine:2.6.18]
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:121) [org.apache.sling.engine:2.6.18]
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:247) [org.apache.sling.engine:2.6.18]
at org.apache.sling.cms.core.insights.impl.PageInsightRequestImpl.getContents(PageInsightRequestImpl.java:73) [org.apache.sling.cms.core:0.11.3.SNAPSHOT]
at org.apache.sling.cms.core.insights.impl.PageInsightRequestImpl.getPageHtml(PageInsightRequestImpl.java:104) [org.apache.sling.cms.core:0.11.3.SNAPSHOT]
at org.apache.sling.cms.core.insights.impl.providers.HTMLValdiatorInsightProvider.doEvaluateRequest(HTMLValdiatorInsightProvider.java:89) [org.apache.sling.cms.core:0.11.3.SNAPSHOT]
at org.apache.sling.cms.core.insights.impl.BaseInsightProvider.evaluateRequest(BaseInsightProvider.java:51) [org.apache.sling.cms.core:0.11.3.SNAPSHOT]
at org.apache.sling.cms.core.insights.impl.InsightFactoryImpl.lambda$getInsights$1(InsightFactoryImpl.java:55) [org.apache.sling.cms.core:0.11.3.SNAPSHOT]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)