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

InDesign Crashes When Accessing NonHiddenStartPageNumber in Plugin Development

Participant ,
Sep 12, 2024 Sep 12, 2024

Hi everyone,

 

I was trying to port our plugins to the new CS20 SDK and identified that ISectionCmdData.Set() requires two new parameters. NonHiddenStartPageUID and NonHiddenStartPageNumber. 
When I try to access an existing section (ISection) and retrieve this data, I can retrieve the NonHiddenStartPageUID using mySection.GetNonHiddenStartPageUID() along all the other required parameters of the section such as ContinueFromPrevSection, OffsetFromPrevSection, StartPageNumber, etc.

 

But when I try to access mySection->GetNonHiddenStartPageNumber(); it crashes givig me the following error.

 

Exception thrown at 0x00007FFA1B237446 (Sections.rpln) in InDesign (Prerelease).exe: 0xC0000005: Access violation writing location 0x0000000000000001.

Can someone help me to find a solution for this problem?

 

 

<Title renamed by MOD>

 

TOPICS
Bug , SDK
335
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

Participant , Sep 18, 2024 Sep 18, 2024

With the newest version of the plugin SDK (plugin_sdk_080) the issue is sorted. These changes no longer exist anymore in the new SDK and the old code is working fine now with out any changes.

Thanks everyone for the support. 

Translate
Community Expert ,
Sep 13, 2024 Sep 13, 2024

Maybe it's file related - corruption? Have you tried on other INDD files? 

 

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
Participant ,
Sep 17, 2024 Sep 17, 2024

Yes I have. This happens in a newly created file in InDesign Pre release 2025. 

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
Community Expert ,
Sep 18, 2024 Sep 18, 2024
quote

This happens in a newly created file in InDesign Pre release 2025. 

By Chamari_Silva

 

You may want to post any prerelease questions here:

https://www.adobeprerelease.com/

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
Guide ,
Sep 13, 2024 Sep 13, 2024

Hmm, is version 20 already published?

Otherwise better ask in the prerelease areas.

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
Participant ,
Sep 18, 2024 Sep 18, 2024
LATEST

With the newest version of the plugin SDK (plugin_sdk_080) the issue is sorted. These changes no longer exist anymore in the new SDK and the old code is working fine now with out any changes.

Thanks everyone for the support. 

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