Ask Me ?

Hi Readers,

Here you may comment all the questions/ doubts which you encountered during your journey for AEM. I will try my best to help you out and might connect with you to solve them too.

Also you may post interesting questions which you went through during your respective interviews , and I will try to answer them and thereby increase the Question Bank for masses.

So go ahead and post the questions !!

Thanks a lot .


489 thoughts on “Ask Me ?

  1. Hi Hashim,

    I’m extending ‘com.adobe.cq.sightly.WCMUsePojo’ class and using request session in it to set some properties on content node (current resource). so I want to logout my session after performing that operation.

    I’m doing it using below code snippet.

    if(null != requestSession) {

    But while doing it I’m getting below error. service: Uncaught SlingException
    java.lang.IllegalArgumentException: javax.jcr.RepositoryException: This session has been closed.

    So is that not necessary to do session logouts in ‘WCMUsePojo’ extending classes? If we don’t do it, will Sling take care of it automatically?

    Thanks in Advance Hashim…



Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s