Hello everyone,
We have just upgraded Service Pack 16 (SP16) in our AEM 6.5 instance. Our legacy pages are throwing errors at scriptlet occurrences. Is there any known issue which could be the reason for this problem.
To be very specific, we are experiencing a Null Pointer Exception on the below line of code in the head.jsp which is at template level. These templates and components has been developed before the sightly existence.
<meta name="last-modified-date" content="<%= (sling.getService(myUtility.class)).getLastModifiedDate(slingRequest, currentPage)%>" />
We have upgraded until SP13 in our current live instance and all good. The problem in the legacy pages happened right after SP16 installation.
Anyone have experienced this kind of a issue while upgrading SP16 ?
Could anyone suggest a workaround for the same ?
Thanks
SHYAMSUNDAR TK
Solved! Go to Solution.
Hi @samsundar23!
Personally, I am not aware of any general issue with AEMs SP16 that could cause NullPointerExceptions in scriptlets.
In addition, the provided information is unfortunately not enough to provide specific advise on how to fix the issue.
My recommendation is to perform a more detailed analysis. Some steps that may help:
Feel free to share the results of your analysis for further support in this thread.
It would also be helpful to understand if you are basing your implementation on foundation or core components for the page template.
Hope that helps!
Hi @samsundar23!
Personally, I am not aware of any general issue with AEMs SP16 that could cause NullPointerExceptions in scriptlets.
In addition, the provided information is unfortunately not enough to provide specific advise on how to fix the issue.
My recommendation is to perform a more detailed analysis. Some steps that may help:
Feel free to share the results of your analysis for further support in this thread.
It would also be helpful to understand if you are basing your implementation on foundation or core components for the page template.
Hope that helps!
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies