Changing the application theme causes exception

Posted by: kbj on 29 December 2017, 4:52 am EST

    • Post Options:
    • Link

    Posted 29 December 2017, 4:52 am EST

    In the following scenario, changing the application theme cases an:

    System.Reflection.TargetInvocationException: ‘Exception has been thrown by the target of an invocation.’

    Inner Exception

    NullReferenceException: Object reference not set to an instance of an object.

    In the included project press

    Show Form2

    then

    Close Form2

    then

    Change Theme

    The required conditions are:

    Form2 Inherits C1.Win.C1Ribbon.C1RibbonForm

    a New Form2 is loaded into the f2 variable

    themeProblem.zip

  • Posted 1 January 2018, 5:19 pm EST

    Hello Kingman,

    Thank you for sharing your sample and the description.

    We could observe the issue at our end and have escalated (Internal Tracking ID:303433) it to the concerned team. We will get back to you once we hear from them.

    Best Regards,

    Esha

  • Posted 12 March 2018, 5:54 pm EST

    Hello Kingman,

    The issue is fixed with the latest 2018v1 builds.

    You can use C1Live to upgrade to the same.

    Best Regards,

    Esha

Need extra support?

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

Learn More

Forum Channels