Comments (3)
The issue seems to be present when the page is within a folder structure - which is the case for all of the websites in the project I'm working on. When there are at least two outer folders (not one weirdly enough) the issue arises. This is an example of the bad json string that can't be parsed:
"{"path":"/content/testfolder/testfolder2/root/jcr:content/par_fullcolumn/brandedcontainer-B4",
"slingPath":"/content/testfolder/testfolder2/root/jcr:content/par_fullcolumn/brandedcontainer-B4.html",
"dialog":"/apps/branded/components/content/brandedcontainer/cq:dialog",
"dialogLoadingMode":"auto",
"dialogLayout":"auto",
"dialogSrc":"/mnt/override/apps/branded/components/content/brandedcontain<!--cq{"
Looks like a code-comment might have something to do with the issue? The string always stops abrubptly at <!--cq{
and obviously lacks some closing parentheses.
from aem-datalayer.
Also, the issue appears in edit mode and not in published mode. There is a chance that our page components are at fault, but it's hard to say at this point.
from aem-datalayer.
Also on the backend-side this error appears when we experience the issue:
GET /content/subpath2.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDeveloperModeFilter Error during include of SlingRequestPathInfo:
path='/content/subpath2/jcr:content/par_fullcolumn/brandedcontainer-B4/par', selectorString='null', extension='html', suffix='null'
org.apache.sling.api.scripting.ScriptEvaluationException: java.lang.StackOverflowError
"subpath2" is the page where the datalayer configuration is added.
from aem-datalayer.
Related Issues (14)
- StackOverflow Error in AEM 6.2 HOT 2
- Feature Request - Configurable Data Layer HOT 1
- SightlyException on AEM 6.4 HOT 4
- Unnecessarily Escalated Logging HOT 1
- Stackoverflow error in 6.4
- AEM Datalayer and event tracking
- Models are getting instantiated twice for every component on page when datalayer is turned on
- Removing <div> HTML tags in AEM-DataLayer package
- Publish instance error HOT 2
- Incorrect Parameter Class for setType on EventInfo
- Publisher Should be Required
- Support SlingHttpServletRequest
- Using OTB JSON Exporter opposed to Gson HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aem-datalayer.