Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

InDesign crashed loading Plug-Ins

New Here ,
Feb 22, 2022 Feb 22, 2022

I'm developing a plugin for InDesign.

I rebuilt some plugins using the 2022 SDK to make the plugins for InDesign 2021 compatible with InDesign 2022.

Most plugins worked correctly in InDesign 2022, But one plugin didn't work.

When I put that plug-in  in the Plug-Ins folder and launch InDesign, the running screen(Logo&Product Name) appears, after that disappears a few seconds later.

And the main screen of InDesign 2022 does not appear.

The task manager doesn't show InDesign.exe, so I don't think it's going on all the time.

When InDesign crashed, I didn't get any error messages.

Also, the Adobe Crash Report doesn't appear, so I don't know what caused the error.

Reliable method is to use a debug version of InDesign, but I don't have it.

Due to personal circumstances, it is not possible to reveal the contents of the plug-in that is in error.

Please give me some tips to resolve the error.

 

I'm sorry if it's difficult to read because it's machine translation.

 

TOPICS
Bug , SDK
239
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 22, 2022 Feb 22, 2022

With the little information that you gave, we can't provide much pointers here. Somethings I would do are listed below

  • Get the Debug version of InDesign.
  • Check for any startup code. Do you have StartupShutDownService implemented? Add logs/alerts to see if that bit of code works fine.
  • Divide and conquer, remove pieces of code and see if it resolves the problem to isolate the issue. Look for things like services, command interceptors etc

-Manan 

Translate
Community Expert ,
Feb 22, 2022 Feb 22, 2022

With the little information that you gave, we can't provide much pointers here. Somethings I would do are listed below

  • Get the Debug version of InDesign.
  • Check for any startup code. Do you have StartupShutDownService implemented? Add logs/alerts to see if that bit of code works fine.
  • Divide and conquer, remove pieces of code and see if it resolves the problem to isolate the issue. Look for things like services, command interceptors etc

-Manan 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 23, 2022 Feb 23, 2022
LATEST

I investigated the cause by commenting out and uncommenting the source.

The place where InDesign crashed was where I was calling the DLL I created.

In conclusion, it was because the DLL file was missing in the same directory as InDesign.exe.

The DLL file was placed in inDesign 2021.

After placing the DLL file in 2022 as well, the crash no longer occurs!

Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines