07.08.2023 11:54:17.283 *ERROR* [10.242.69.100 [1691409257199] GET /content/XXX/en_us/navigation.html HTTP/1.1] com.adobe.cq.sightly.WCMUsePojo Failed to activate Use class
java.lang.NullPointerException: null
at com.adobe.cq.sightly.WCMUsePojo.init(WCMUsePojo.java:86) [com.adobe.cq.sightly.cq-wcm-sightly-extension:1.6.0]
Views
Replies
Total Likes
Hi,
Firstly, the usage of the WCMUse class is deprecated, and it is preferable to use Sling Models instead. Additionally, it appears that there is some logic within your class that is causing a null pointer exception. My guess is that this may be related to content that is available in the author environment but not in the publish environment. If you review the log, it will likely indicate the specific line in your class where the null pointer exception is being thrown. Could you please check that?
Another possibility.. check if your bundle is active or not.
All the bundles on publisher are active
This could be because of component logic is failed on publishers.
Can you share the complete stack trace.
Views
Likes
Replies
Views
Likes
Replies