InDesign 2020 crash when text frame recompose

Community Beginner ,
Nov 16, 2020

Copy link to clipboard

Copied

Hi,
I'm working with InDesign plugin development by C++ SDK. We have recomposed the text frame after auto-sizing by process command.

Ex:

InterfacePtr<ICommand> myCmd(myTextUtils->CreateRecomposeThruNthParcelCmd(theParcelList,
kInvalidParcelIndex/*recompose all*/));

ErrorCode theErrCode = CmdUtils::ProcessCommand(myCmd);

 

At that time InDesign 2020 got crashed with the "Access Violation Reading Location" exception. We build those ID2020 and ID2019 supported plugins by the same codebase. But when we process the recompose command with InDesign 2019 it isn't crash. Here I have attached a screenshot of the call stack. 

Crash.PNG

TOPICS
SDK

Views

41

Likes

Translate

Translate

Report

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

InDesign 2020 crash when text frame recompose

Community Beginner ,
Nov 16, 2020

Copy link to clipboard

Copied

Hi,
I'm working with InDesign plugin development by C++ SDK. We have recomposed the text frame after auto-sizing by process command.

Ex:

InterfacePtr<ICommand> myCmd(myTextUtils->CreateRecomposeThruNthParcelCmd(theParcelList,
kInvalidParcelIndex/*recompose all*/));

ErrorCode theErrCode = CmdUtils::ProcessCommand(myCmd);

 

At that time InDesign 2020 got crashed with the "Access Violation Reading Location" exception. We build those ID2020 and ID2019 supported plugins by the same codebase. But when we process the recompose command with InDesign 2019 it isn't crash. Here I have attached a screenshot of the call stack. 

Crash.PNG

TOPICS
SDK

Views

42

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 16, 2020 0

Have something to add?

Join the conversation