Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2
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?

1 Accepted Solution

Avatar

Correct answer by
Level 2

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.

View solution in original post

2 Replies

Avatar

Community Advisor

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.

Avatar

Correct answer by
Level 2

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.