Error while publishing page | Community
Skip to main content
Riju-Mahna
Level 2
September 7, 2018
Solved

Error while publishing page

  • September 7, 2018
  • 4 replies
  • 4667 views

All pages in my website are throwing this error when published in touch UI, even by the admin user:

    Failed to retrieve references for the selected page.

The error in the server shows as below:

    06.09.2018 21:41:25.085 *ERROR* [10.30.86.247 [1536284485082] GET /libs/wcm/core/content/reference.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable

    java.lang.NullPointerException: null

            at com.day.cq.wcm.webservicesupport.impl.ConfigurationReferenceProvider.findReferences(ConfigurationReferenceProvider.java:86)

I checked online and it says something about the reference component in the website. But I dont have any such component in the website.

What can I do to fix this issue ? I am using AEM 6.2

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Nisha_Nivedita

First please check the component state - navigate to http://HOST:PORT/system/console/components and search for ActivationReferenceSearchServlet

Not too sure Riju as you just shared a log snippet.. For pages giving this issue , can you validate parent node's jcr:content if it has cq:cloudserviceconfigs node with configs pointing to /etc/cloudservices/* attached to it.

For a test, Can you take a backup of the node to temp for a bit further remove this property and then try to reactivate the page. NPE might come when the page is trying to access and build the references to these configs .

I also suggest raising a Day care case

4 replies

edubey
Level 10
September 7, 2018

Do you have a permission for replicate across these nodes?

smacdonald2008
Level 10
September 7, 2018

As praveen states - check permission on all nodes.

Nisha_Nivedita
Adobe Employee
Nisha_NiveditaAdobe EmployeeAccepted solution
Adobe Employee
September 9, 2018

First please check the component state - navigate to http://HOST:PORT/system/console/components and search for ActivationReferenceSearchServlet

Not too sure Riju as you just shared a log snippet.. For pages giving this issue , can you validate parent node's jcr:content if it has cq:cloudserviceconfigs node with configs pointing to /etc/cloudservices/* attached to it.

For a test, Can you take a backup of the node to temp for a bit further remove this property and then try to reactivate the page. NPE might come when the page is trying to access and build the references to these configs .

I also suggest raising a Day care case

Riju-Mahna
Level 2
September 10, 2018

Yes ! removing the cloudservices config from the website homepage did the trick !!

The cloud services I added for google analytics were missing the jcr:content nodes on this server and thats why they were causing this error on all pages on replication.