Hi Everyone,
When migrating from 5.6.1 to 6.1, I am getting an error in breadcrumb.jsp. I don't see any issue in 5.6.1 but 6.1 it throws an error. "Type mismatch:cannot convert from Integer to long".
In the below line, 0 should be replaced by 0L.
long endLevel = currentStyle.get("relParent", 0);
Why it didnt throw an compilation error in 5.6.1 and why in AEM 6.1 , it throws an error
Thanks
Yamini
Solved! Go to Solution.
Views
Replies
Total Likes
See this :- http://aem-docs.tostring.me/?d=/docs/de/aem/6-0/release-notes/known-issues.html
// It was known issue got fixed in 6.0
Solution:- https://helpx.adobe.com/x-productkb/global/jsp-compilation-issues-java-8.html
// Convert "long l = conf.get("foo", 1);" to "long l = conf.get("foo", 1L);"
~kautuk
Views
Replies
Total Likes
See this :- http://aem-docs.tostring.me/?d=/docs/de/aem/6-0/release-notes/known-issues.html
// It was known issue got fixed in 6.0
Solution:- https://helpx.adobe.com/x-productkb/global/jsp-compilation-issues-java-8.html
// Convert "long l = conf.get("foo", 1);" to "long l = conf.get("foo", 1L);"
~kautuk
Views
Replies
Total Likes
Thanks kautuk for your quick response:)
Views
Replies
Total Likes
Views
Likes
Replies