Open manz111 opened 1 year ago
@manz111 did this just start happening? Do you see any errors in the browsers JS console?
Also, you should not be using bulk uploads in MCP on AEM as a CLoud Service as this streams binary data through the AEM JVM. Instead you should use productized features like Bulk Import Service that handle this differently.
This is on latest ACS AEM Commons and Adobe Experience Manager 2023.6.12255.20230608T053118Z-230601
These seem to show up here ... can you check your error logs and your JS console? This might be something strange going on w your env.
Yes @davidjgonzalez , Please find below the screenshot of the error in console log -
Are there other errors if you dont filter? Also - are you seeing any errors (404, 403, 500) in the Network tab?
No, I don't see any 40x errors in the network tab. Adding screenshot below -
Hi @davidjgonzalez , We are seeing these errors in logs -
AEM Version - 2023.7.12790.20230720T124230Z-230600 ACS AEM Commons version - 6.0.14
@manz111 can you package /var/acs-commons/mcp
on your instance and attach to this ticket? I'd like to see which instance is causing the NPE.
Is this issue resolved?
@manz111 any chance you could check if the following build helps resolve this (jar is the only thing w/ changes but attached all package too). It sounds like the data under /var/acs-commons/mcp is incomplete .. so this should slot the items w/ the missing starttimes to the bottom of the dashboard so you can deal w them via the UI. That said, its hard to reproduce since we dont know what your /var/acs-commons/mcp
looks like (would still be great if you could package that up and share it -- you could send direct to dgonzale@adobe.com if it has data you dont want out in the open).
acs-aem-commons-bundle-6.0.15-SNAPSHOT.jar.txt acs-aem-commons-all-6.0.15-SNAPSHOT.zip
@MANID048 are you having this problem as well?
Hi @davidjgonzalez , I have shared with you the /var/acs-commons/mcp package from our instance to your email (sent from manasa.p2@macys.com). Waiting to hear back from you.
cc - @YegorKozlov
Thanks @manz111 - i received the zip.
It looked like there are 6 invalid processes (the mcp process instances are missing almost all data) which was breaking the report. I've put a fix in to atleast display these so you can investigate (and it wont break the report UI totally) in https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/3154
I can't tell what sort of process generated these null process nodes (they're for the most part empty) - do you have any sense if a specific process was run when these were created? While waiting for this release, you can review/delete those nodes manually:
Name | Description | Started | Completed | Tasks Completed | Errors |
---|---|---|---|---|---|
Invalid (5563E7F940240A0F) | Archived process at /var/acs-commons/mcp/instances/5563E7F940240A0F is null | n/a | n/a | ??? | |
Invalid (0C7569E69383E5D4) | Archived process at /var/acs-commons/mcp/instances/0C7569E69383E5D4 is null | n/a | n/a | ??? | |
Invalid (568FFE4CD9A4012C) | Archived process at /var/acs-commons/mcp/instances/568FFE4CD9A4012C is null | n/a | n/a | ??? | |
Invalid (21CB8D45D0E8F7EB) | Archived process at /var/acs-commons/mcp/instances/21CB8D45D0E8F7EB is null | n/a | n/a | ??? | |
Invalid (7899AA7633063FE3) | Archived process at /var/acs-commons/mcp/instances/7899AA7633063FE3 is null | n/a | n/a | ??? | |
Invalid (0B29982E13D3C8F9) | Archived process at /var/acs-commons/mcp/instances/0B29982E13D3C8F9 is null | n/a | n/a | ??? |
Thank you @davidjgonzalez for helping me in debugging. Deleted these nodes and the MCP reports have started to render. But could you let me know how you were able to find out the invalid nodes? Was it through a query or something?
It was via the acs commons patch in this ticket. I implemented better handling of invalid results to be able to see the results. :)
Required Information
Expected Behavior
MCP reports to be generated after running the MCP process
Actual Behavior
We are unable to see any MCP reports in the console on AEM cloud. Below is the screenshot of the same -
Steps to Reproduce
Upon double clicking on the report node in CRX, we see the below data :
We are not seeing any errors getting logged wrt MCP reports.
Links
https://author-xxx-xxx.adobeaemcloud.com/apps/acs-commons/content/manage-controlled-processes.html