Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Attempted to divide by 0 in PieChart3D
posted

One of our customer got this error. (see attachment)

We are not in an environment that is very easy to reproduce but if you can give it a look it would be appreciated.

Regards.

Matt

Parents
  • 28496
    Offline posted

    i looked over the PieChart3D.Initialize() method and ran a few experiments, and it seems to me that this method is protected from division by zero errors.  There is a possibility to divide 360 (double) by 0 (double), but this would result in Infinity, not an exception.

    i am looking at the latest source code, so if you are using an older version, i can check the sources for that as well.

    if this only happens with one customer, maybe he could try installing the latest service pack for the .NET framework?  that's kind of a wild guess, but there's a chance it will resolve the problem.

Reply Children