An error occurred from AEM Sync extension when I did any changes on ui.app folder | Community
Skip to main content
Level 2
Jul 10, 2023 2:04 PM UTC
Solved

An error occurred from AEM Sync extension when I did any changes on ui.app folder

Error importing package into AEM: <crx version="1.50-T20230405052634-f9df4aa" user="admin" workspace="crx.default"> <request> <param name="install" value="true"/> <param name="force" value="true"/> <param name="file" value="sync.zip"/> </request> <response> <status code="500">java.lang.NullPointerException</status> </response> </crx>

My IED is VSCode.

how to reproduce my issue:

1, cd ui.frontend and "npm run watch"

2, add some css code in ui.frontend/src/main/webpack/components/_helloworld.scss

3, change was built to /ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-site

4, AEM Sync extension watch the change and try to trigger and failed.

 

Any one know am I missing any configuration?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
James_shanAccepted solution
Level 2
Jul 12, 2023 6:45 AM UTC

I have resolved this issue, it caused by my template does not have any page policies, but the AEM Sync extension still does not work, is it a bug that can not be fixed? I am not sure, will keep an eye on it, anyway thanks.

2 replies

Kiran_Vedantam
New Participant
Jul 11, 2023 3:44 PM UTC

hi @james_shan 

 

Is this happening only from ui.apps? can you try from some other folder? Check if you are able to sync back from the server.

 

Thanks,

Kiran Vedantam.

Translate
James_shanAuthorAccepted solution
Level 2
Jul 12, 2023 6:45 AM UTC

I have resolved this issue, it caused by my template does not have any page policies, but the AEM Sync extension still does not work, is it a bug that can not be fixed? I am not sure, will keep an eye on it, anyway thanks.

Translate