Object reference error running multiple charts + migration questions

Posted by: bethany.hayden on 16 March 2022, 2:38 pm EST

  • Posted 16 March 2022, 2:38 pm EST

    Hi all,

    We’re evaluating an upgrade to latest ComponentOne WinForms Chart as well as to ActiveReports v15. We have many reports which load a C1 chart into an AR SectionReport.

    I’m using an evaluation license for C1. Have upgrade all the components and did a clean build successfully. When I run my test suite (~1000 tests), I get failures for the SectionReports which have C1 Charts in them. When debugging a single test, it works fine. I get the license pop up window, and can dismiss it and the test runs successfully. If I run a test that makes more than one report, or if I run my entire test suite, that is when it seems to have a problem. I don’t get a subsequent pop up for subsequent charts/reports and that’s when it fails. Obviously, I don’t want to have to click through a popup for each test. I’d also like to have a clean test suite before I can say that, yup, this is going to upgrade fine.

    I have another question regarding going to FlexChart - we eventually want to migrate our application to .NET Core, which I understand will require us going to FlexChart. I didn’t see in the documentation anything regarding what it takes to upgrade a Chart to a FlexChart - is there something out there I could reference so we could do some estimation as to what this would take for our application?

    Thanks,

    Beth

  • Posted 22 March 2022, 8:42 am EST

    Hi Beth,

    Please provide us with a stripped down sample of your application with sample reports so we can replicate this behavior on our end.

    is there something out there I could reference so we could do some estimation as to what this would take for our application?

    The API for C1Chart and FlexChart is different and it would not be possible to convert from one chart to another directly. You would have to manually make changes in the charts if you want to convert charts to FlexChart.

  • Posted 23 March 2022, 9:01 am EST

    Thanks, our solution is pretty large and complex, so it might take a bit to get a stripped down version for you.

Need extra support?

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

Learn More

Forum Channels