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

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

  • July 10, 2023
  • 1 reply
  • 2254 views
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.
Best answer by James_shan

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.

1 reply

Kiran_Vedantam
Community Advisor
Community Advisor
July 11, 2023

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.

James_shanAuthorAccepted solution
Level 2
July 12, 2023

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.