Set Hyperlink function using the library throws ArgumentException

Posted by: yyoshimura on 31 January 2023, 5:58 pm EST

    • Post Options:
    • Link

    Posted 31 January 2023, 5:58 pm EST

    Hi,

    We are setting Hyperlink function using the library and sometimes it throws the following exception.

    System.ArgumentException: An item with the same key has already been added. Key: ハイパーリンク
    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
    at GrapeCity.Documents.Excel.aix.a(ai0 A_0)
    at GrapeCity.Documents.Excel.aix.aku(ait A_0, Boolean A_1)

    Please refer the attachment for reproduction.

    Please help to investigate this issue. Thank you.

    Regards

    sample.zip

  • Posted 31 January 2023, 9:35 pm EST

    Hello,

    Thank you for reporting this issue. We too can observe the issue and escalate this to the development team for investigation. We will let you know as soon as we get any update on this from their end.

    [Internal Tracking ID: DOCXLS-7510]

    Regards,

    Prabhat Sharma.

  • Posted 2 February 2023, 9:29 pm EST

    Hello,

    We are glad to inform you that the issue has been fixed in the 6.0.3 release of GcExcel. Please upgrade to the latest version to get rid of this issue.

    https://www.nuget.org/packages/GrapeCity.Documents.Excel/

    Regards,

    Prabhat Sharma.

  • Posted 7 February 2023, 12:11 pm EST

    Hi,

    We confirmed that the issue is fixed in V6.0.3 when CultureInfo is “en-US” but still fails when CultureInfo is “ja-JP”. Please refer attachment for reproduction.

    sample.zip

  • Posted 7 February 2023, 3:25 pm EST

    Hello Yukinori,

    Thank you for bringing this to our attention.

    The development team has confirmed this bug and will fix it in the next hotfix 6.0.4.

    Regards,

    Prabhat Sharma.

  • Posted 27 February 2023, 1:06 am EST

    Hello,

    We are glad to inform you that the issue has been fixed in the 6.0.4 release of GcExcel. Please upgrade to the latest version to get rid of this issue.

    https://www.nuget.org/packages/GrapeCity.Documents.Excel/

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels