Adobe InDesign: SDK/Scripting Bugs and Features
1 result found
-
[ID-4265726]Error during shutdown UXP plugin (InDesign 20.4.1)
If you try to access indesign.app when shutting down a plugin, an error is thrown and causes InDesign to freeze. Specifically, in the lifecycle hook »hide« and »destroy«.
The error occurred with version 20.4.1
Exception: Error: Shutting down in progress, can't process! at Object.cleanup (/Users/<username>/Desktop/UXP-Panel-Dummy/pkg/panel/hide.js:26:24) at ./main.js:58:31 at new Promise (<anonymous>) at e.exports.hide (./main.js:57:16) at e.exports.destroyPanel (uxp://uxp-internal/pluginmanagerscripts.js:2:38052)
app: Application {conditionalTextPreferences: undefined}
docCount: <unreadable>this: Object
A dummy plugin can be downloaded here:
https://kdrive.infomaniak.com/app/share/1606376/3efc4813-cd2e-40a1-9844-193d31807628How to reproduce the error:
1: Load plugin in UDT
2. Unload plugin in UDTHere is a report from another user: https://forums.creativeclouddeveloper.com/t/indesign-20-4-1-issue-with-the-destroy-lifecycle-hook/11133
3 votesThe fix of the issue is now available in the latest InDesign 2025(v20.5.0.048). We recommend you upgrade to the latest version for the fix.
If you are unable to see the update, go to the Creative Cloud application click on the context menu on the top right, and click on Check for App Updates.
—
Adobe InDesign Team
- Don't see your idea?