Jump to content
Software FX Community

NullPointerException


User (Legacy)

Recommended Posts

Used to get this on 6.0 periodically.  It is much more frequent on 6.2

I'm getting a null reference exception when I start my application which

uses ChartFX.

I do not get it every time.

Here is the stack trace. Do you have any idea what I should look for to

track this problem down?

************** Exception Text **************

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

object.

at SoftwareFX.ChartFX.DataArray.get_Item(Int32 index)

at SoftwareFX.ChartFX.17.BeginLoop()

at SoftwareFX.ChartFX.0X.G8(17 1H0, Boolean 1H1, Int32 1H2, Int32 1H3,

Point& 1H4, Object& 1H5)

at SoftwareFX.ChartFX.0X.G9(Int32 1H6, Int32 1H7, Object& 1H8)

at SoftwareFX.ChartFX.0X.3N(Point 1GA, String& 1GB)

at SoftwareFX.ChartFX.K.4J(Object 0RP, EventArgs 0RQ)

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.DebuggableCallback(IntPtr hWnd, Int32 msg,

IntPtr idEvent, IntPtr dwTime)

Link to comment
Share on other sites

My app is immensely complex.  There's no way i'll be able to repro it with a

small standalone case.

Do you have any experience with what sorts of "bad things" you can do to

cause this type of error so

i can check my code for spots CFX might not be happy with?

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:iyvePoKqDHA.1892@WEBSERVER1...

> We need a repro case in order to be able to determine what's wrong. It is

> crashing is during Paint so the stack trace doesn't tell us much (except

for

> that).

>

> Can you reproduce it consistently ? if so, send us the program that causes

> the problem and we will debug it here.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...