Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Dialog is not loading in AEM 6.5 [Observed the logs below]

Sudeshna1992
Level 1
Level 1

Hi Everyone!
Whenever I am uploading a related package, I am getting the following error in error.log while opening any dialog in a page. Please help with any suggestion/ solution.

*WARN* [10.104.102.152 [1599740328766] GET /mnt/override/apps/project/commons/components/content/heroComponent/_cq_dialog.html/content/www/us/en/homepage/jcr:content/heroComponentPillar1 HTTP/1.1] com.day.cq.wcm.core.impl.components.ComponentCacheImpl No component node found at /apps/project/getdatasourceheroComponentcategory
*ERROR* [10.104.102.152 [1599740328766] GET /mnt/override/apps/project/commons/components/content/heroComponent/_cq_dialog.html/content/www/us/en/homepage/jcr:content/heroComponentPillar1 HTTP/1.1] libs.granite.ui.components.foundation.form.field Unable to render field
org.apache.sling.api.scripting.ScriptEvaluationException: 
	at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:416) [org.apache.sling.scripting.core:2.0.56]
	at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184) [org.apache.sling.scripting.core:2.0.56]
	at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491) [org.apache.sling.scripting.core:2.0.56]

@kautuk_sahni  @Arun_Patidar  @Vijayalakshmi_S  

AEM 6.5 coral touc ui coral3 dialog granite Granite UI Touchui dialog
1 Accepted Solution
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @Sudeshna1992,

Can you share the below details

  • Component dialog XML here - heroComponentPillar used in the page path - /content/www/us/en/homepage/jcr:content/heroComponentPillar1
  • Background on from when the issue is occurring
  • Is AEM 6.5 instance upgraded or fresh install type.

Per the error statement(Issue in rendering field resource), I suspect the issue should be in the fields used as part of the dialog.

Example, textfield(/libs/granite/ui/components/foundation/form/textfield) or all form based granite fields inherits from field(/libs/granite/ui/components/foundation/form/field) component which is part of the error mentioned below (libs.granite.ui.components.foundation.form.field Unable to render field)

Regarding the warning, could see Data Source is used. Can you check the path and share details of the same - /apps/project/getdatasourceheroComponentcategory

View solution in original post

2 Replies
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @Sudeshna1992,

Can you share the below details

  • Component dialog XML here - heroComponentPillar used in the page path - /content/www/us/en/homepage/jcr:content/heroComponentPillar1
  • Background on from when the issue is occurring
  • Is AEM 6.5 instance upgraded or fresh install type.

Per the error statement(Issue in rendering field resource), I suspect the issue should be in the fields used as part of the dialog.

Example, textfield(/libs/granite/ui/components/foundation/form/textfield) or all form based granite fields inherits from field(/libs/granite/ui/components/foundation/form/field) component which is part of the error mentioned below (libs.granite.ui.components.foundation.form.field Unable to render field)

Regarding the warning, could see Data Source is used. Can you check the path and share details of the same - /apps/project/getdatasourceheroComponentcategory

View solution in original post

Arun_Patidar
Community Advisor
Community Advisor

The error says that herocompnnet has a dropdown which uses below datasource which is not found

/apps/project/getdatasourceheroComponentcategory