PromucFlow_constructor/app
Nilansh Bansal befe9ffd64
fix: improve null safety in action execution analytics data collection (#40905)
## Description
Fix NPE in ActionExecutionSolutionCEImpl by replacing `Map.of()` with
explicit HashMap entries. This change improves error resilience by
adding null checks with default values for all map entries and makes the
code more maintainable by separating each property assignment into
individual operations.


Fixes #40904 

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/15552352827>
> Commit: 48335f468fb5104ff911f277d121817202ea7545
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15552352827&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 10 Jun 2025 07:43:44 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Improved handling of missing or null information in analytics event
data to ensure more consistent and reliable reporting. No changes to
user-facing features or workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-10 13:15:11 +05:30
..
client fix: code editor changes (#40239) 2025-06-09 11:21:27 +05:30
server fix: improve null safety in action execution analytics data collection (#40905) 2025-06-10 13:15:11 +05:30
util