[
https://issues.apache.org/jira/browse/SLING-8486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Klco updated SLING-8486:
----------------------------
Summary: App CMS - Insights Broken with New Sling Engine (was: Insights
Broken with New Sling Engine)
> App CMS - 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
> Priority: Minor
> 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)