Symptom
When opening a custom UI Screen (for example, an Embedded Component) from the Cloud Applications Studio, and selecting the Edit icon to edit this screen, the UI Designer crashes and either error message is shown:
- A new guard page for the stack cannot be created
- UI Designer has caught an exception. Display/Edit operation failed to execute
This issue does not occur when you open and edit an Embedded Component from the Configuration Explorer section within the UI Designer.
Environment
- SAP Cloud for Customer
- SAP Business ByDesign
- SAP Cloud Application Studio
Reproducing the Issue
- Open the Cloud Applications Studio (SDK).
- Open the affected solution.
- Open any custom UI component.
- Highlight a pane on the screen, and select the Edit icon.
- The error appears and the SDK shuts down.
Cause
An UI screen opened from the Cloud Applications Studio is already opened in Edit mode.
Therefore, when you select the Edit icon again, it causes the Cloud Applications Studio to crash.
Resolution
When opening an UI Screen from the SDK, do not select the Edit icon.
Make the concerned changes, and Save and Activate these changes.
Keywords
pencil, PDI , KBA , ui designer , crash , edit mode , AP-RC-UIF-DT , UI Framework Designtime , How To