Jump to content
Software FX Community

out of bounds


User (Legacy)

Recommended Posts

Hi,

when I use chartfx in an asp.net application and I switch the HTML tag to

.NET instead of PNG, I get a .NET error (so an actual crash). See message

below.

Looks like a bug? I use the trial version.

I use the financial extension. It also occurs when I use the ChartFX without

the extension.

Regards

Stefan

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

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

System.IndexOutOfRangeException: Index was outside the bounds of the array.

at SoftwareFX.ChartFX.Internet.Client.0L.SerializeAsFont(String sName,

Object objFont, ObjFlags flags)

at SoftwareFX.ChartFX.Internet.Client.24.3H(Boolean 2PV, IPersistBase

2PW)

at SoftwareFX.ChartFX.Internet.Client.0L.CH(String 1U5, Object 1U6,

String 1U7, ObjFlags 1U8, Int64 1U9)

at SoftwareFX.ChartFX.Internet.Client.0L.Serialize(String sName, Object

obj, String sType, ObjFlags flags)

at SoftwareFX.ChartFX.Internet.Client.ChartCore.75(Boolean 1K3,

IPersistBase 1K4, Boolean 1K5)

at SoftwareFX.ChartFX.Internet.Client.Chart.OnDownload(DownloadEventArgs

args)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase:

file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

----------------------------------------

System

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase:

file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

----------------------------------------

System.Drawing

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase:

file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

----------------------------------------

RegexAssembly6_0

Assembly Version: 0.0.0.0

Win32 Version: n/a

CodeBase:

----------------------------------------

ChartFX.MainClient

Assembly Version: 6.0.1201.29676

Win32 Version: n/a

CodeBase: http://localhost/chartfx62/download/ChartFX.MainClient.DLL

----------------------------------------

System.Windows.Forms

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase:

file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

----------------------------------------

Microsoft.mshtml

Assembly Version: 7.0.3300.0

Win32 Version: 7.0.3300.0

CodeBase:

file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll

----------------------------------------

Accessibility

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase:

file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll

----------------------------------------

ChartFX.Internet.Client

Assembly Version: 6.2.1859.20587

Win32 Version: n/a

CodeBase:

http://localhost/chartfx62/download/ChartFX.Internet.Client.DLL

----------------------------------------

ChartFX.Internet.Base

Assembly Version: 6.2.1859.20539

Win32 Version: n/a

CodeBase: http://localhost/chartfx62/download/ChartFX.Internet.Base.DLL

----------------------------------------

System.Xml

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase:

file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

----------------------------------------

ChartFX.Financial.Client

Assembly Version: 6.2.1998.25716

Win32 Version: n/a

CodeBase:

http://localhost/chartfx62/download/ChartFX.Financial.Client.DLL

----------------------------------------

************** JIT Debugging **************

To enable just in time (JIT) debugging, the config file for this

application or machine (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the machine

rather than being handled by this dialog.

Link to comment
Share on other sites

Does it happen with any chart ? Please try with a default chart by dropping 

a new one in a form.

What version/versions of the .NET framework do you have installed in the

Client and in the Server ?

What are the file versions of ChartFX.Internet.dll and

ChartFX.Internet.Client.dll ?

--

Francisco Padron

www.chartfx.com

"Stefan" <stefan@ibrain.nl> wrote in message

news:a7gK$Q2lFHA.1828@webserver3.softwarefx.com...

> Hi,

>

> when I use chartfx in an asp.net application and I switch the HTML tag to

> .NET instead of PNG, I get a .NET error (so an actual crash). See message

> below.

>

> Looks like a bug? I use the trial version.

>

> I use the financial extension. It also occurs when I use the ChartFX

> without the extension.

>

> Regards

> Stefan

>

>

>

> See the end of this message for details on invoking

> just-in-time (JIT) debugging instead of this dialog box.

>

> ************** Exception Text **************

> System.IndexOutOfRangeException: Index was outside the bounds of the

> array.

> at SoftwareFX.ChartFX.Internet.Client.0L.SerializeAsFont(String sName,

> Object objFont, ObjFlags flags)

> at SoftwareFX.ChartFX.Internet.Client.24.3H(Boolean 2PV, IPersistBase

> 2PW)

> at SoftwareFX.ChartFX.Internet.Client.0L.CH(String 1U5, Object 1U6,

> String 1U7, ObjFlags 1U8, Int64 1U9)

> at SoftwareFX.ChartFX.Internet.Client.0L.Serialize(String sName, Object

> obj, String sType, ObjFlags flags)

> at SoftwareFX.ChartFX.Internet.Client.ChartCore.75(Boolean 1K3,

> IPersistBase 1K4, Boolean 1K5)

> at SoftwareFX.ChartFX.Internet.Client.Chart.OnDownload(DownloadEventArgs

> args)

>

>

> ************** Loaded Assemblies **************

> mscorlib

> Assembly Version: 1.0.5000.0

> Win32 Version: 1.1.4322.2032

> CodeBase:

> file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

> ----------------------------------------

> System

> Assembly Version: 1.0.5000.0

> Win32 Version: 1.1.4322.2032

> CodeBase:

> file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

> ----------------------------------------

> System.Drawing

> Assembly Version: 1.0.5000.0

> Win32 Version: 1.1.4322.2032

> CodeBase:

> file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

> ----------------------------------------

> RegexAssembly6_0

> Assembly Version: 0.0.0.0

> Win32 Version: n/a

> CodeBase:

> ----------------------------------------

> ChartFX.MainClient

> Assembly Version: 6.0.1201.29676

> Win32 Version: n/a

> CodeBase: http://localhost/chartfx62/download/ChartFX.MainClient.DLL

> ----------------------------------------

> System.Windows.Forms

> Assembly Version: 1.0.5000.0

> Win32 Version: 1.1.4322.2032

> CodeBase:

> file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

> ----------------------------------------

> Microsoft.mshtml

> Assembly Version: 7.0.3300.0

> Win32 Version: 7.0.3300.0

> CodeBase:

> file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll

> ----------------------------------------

> Accessibility

> Assembly Version: 1.0.5000.0

> Win32 Version: 1.1.4322.573

> CodeBase:

> file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll

> ----------------------------------------

> ChartFX.Internet.Client

> Assembly Version: 6.2.1859.20587

> Win32 Version: n/a

> CodeBase:

> http://localhost/chartfx62/download/ChartFX.Internet.Client.DLL

> ----------------------------------------

> ChartFX.Internet.Base

> Assembly Version: 6.2.1859.20539

> Win32 Version: n/a

> CodeBase: http://localhost/chartfx62/download/ChartFX.Internet.Base.DLL

> ----------------------------------------

> System.Xml

> Assembly Version: 1.0.5000.0

> Win32 Version: 1.1.4322.2032

> CodeBase:

> file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

> ----------------------------------------

> ChartFX.Financial.Client

> Assembly Version: 6.2.1998.25716

> Win32 Version: n/a

> CodeBase:

> http://localhost/chartfx62/download/ChartFX.Financial.Client.DLL

> ----------------------------------------

>

> ************** JIT Debugging **************

> To enable just in time (JIT) debugging, the config file for this

> application or machine (machine.config) must have the

> jitDebugging value set in the system.windows.forms section.

> The application must also be compiled with debugging

> enabled.

>

> For example:

>

> <configuration>

> <system.windows.forms jitDebugging="true" />

> </configuration>

>

> When JIT debugging is enabled, any unhandled exception

> will be sent to the JIT debugger registered on the machine

> rather than being handled by this dialog.

>

>

>

>

>

Link to comment
Share on other sites

  • 1 month later...

Francisco,

I use 6.2 and financial extension. The chart is on HtmlTag Auto.

.NET Framework 1.1 with all updates. I get the message on the client on

which I am debugging from visual studio.

I get it with any graph with financial extension. WIthout the extension it

works fine.

When I switch to PNG output the error is gone.

Regards

Stefan

"Software FX Support" <noreply@softwarefx.com> wrote in message

news:8rcEu9CmFHA.1412@webserver3.softwarefx.com...

> Does it happen with any chart ? Please try with a default chart by

> dropping a new one in a form.

>

> What version/versions of the .NET framework do you have installed in the

> Client and in the Server ?

>

> What are the file versions of ChartFX.Internet.dll and

> ChartFX.Internet.Client.dll ?

>

> --

> Francisco Padron

> www.chartfx.com

>

>

> "Stefan" <stefan@ibrain.nl> wrote in message

> news:a7gK$Q2lFHA.1828@webserver3.softwarefx.com...

>> Hi,

>>

>> when I use chartfx in an asp.net application and I switch the HTML tag to

>> .NET instead of PNG, I get a .NET error (so an actual crash). See message

>> below.

>>

>> Looks like a bug? I use the trial version.

>>

>> I use the financial extension. It also occurs when I use the ChartFX

>> without the extension.

>>

>> Regards

>> Stefan

>>

>>

>>

>> See the end of this message for details on invoking

>> just-in-time (JIT) debugging instead of this dialog box.

>>

>> ************** Exception Text **************

>> System.IndexOutOfRangeException: Index was outside the bounds of the

>> array.

>> at SoftwareFX.ChartFX.Internet.Client.0L.SerializeAsFont(String sName,

>> Object objFont, ObjFlags flags)

>> at SoftwareFX.ChartFX.Internet.Client.24.3H(Boolean 2PV, IPersistBase

>> 2PW)

>> at SoftwareFX.ChartFX.Internet.Client.0L.CH(String 1U5, Object 1U6,

>> String 1U7, ObjFlags 1U8, Int64 1U9)

>> at SoftwareFX.ChartFX.Internet.Client.0L.Serialize(String sName, Object

>> obj, String sType, ObjFlags flags)

>> at SoftwareFX.ChartFX.Internet.Client.ChartCore.75(Boolean 1K3,

>> IPersistBase 1K4, Boolean 1K5)

>> at

>> SoftwareFX.ChartFX.Internet.Client.Chart.OnDownload(DownloadEventArgs

>> args)

>>

>>

>> ************** Loaded Assemblies **************

>> mscorlib

>> Assembly Version: 1.0.5000.0

>> Win32 Version: 1.1.4322.2032

>> CodeBase:

>> file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

>> ----------------------------------------

>> System

>> Assembly Version: 1.0.5000.0

>> Win32 Version: 1.1.4322.2032

>> CodeBase:

>> file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

>> ----------------------------------------

>> System.Drawing

>> Assembly Version: 1.0.5000.0

>> Win32 Version: 1.1.4322.2032

>> CodeBase:

>> file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

>> ----------------------------------------

>> RegexAssembly6_0

>> Assembly Version: 0.0.0.0

>> Win32 Version: n/a

>> CodeBase:

>> ----------------------------------------

>> ChartFX.MainClient

>> Assembly Version: 6.0.1201.29676

>> Win32 Version: n/a

>> CodeBase: http://localhost/chartfx62/download/ChartFX.MainClient.DLL

>> ----------------------------------------

>> System.Windows.Forms

>> Assembly Version: 1.0.5000.0

>> Win32 Version: 1.1.4322.2032

>> CodeBase:

>> file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

>> ----------------------------------------

>> Microsoft.mshtml

>> Assembly Version: 7.0.3300.0

>> Win32 Version: 7.0.3300.0

>> CodeBase:

>> file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll

>> ----------------------------------------

>> Accessibility

>> Assembly Version: 1.0.5000.0

>> Win32 Version: 1.1.4322.573

>> CodeBase:

>> file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll

>> ----------------------------------------

>> ChartFX.Internet.Client

>> Assembly Version: 6.2.1859.20587

>> Win32 Version: n/a

>> CodeBase:

>> http://localhost/chartfx62/download/ChartFX.Internet.Client.DLL

>> ----------------------------------------

>> ChartFX.Internet.Base

>> Assembly Version: 6.2.1859.20539

>> Win32 Version: n/a

>> CodeBase:

>> http://localhost/chartfx62/download/ChartFX.Internet.Base.DLL

>> ----------------------------------------

>> System.Xml

>> Assembly Version: 1.0.5000.0

>> Win32 Version: 1.1.4322.2032

>> CodeBase:

>> file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

>> ----------------------------------------

>> ChartFX.Financial.Client

>> Assembly Version: 6.2.1998.25716

>> Win32 Version: n/a

>> CodeBase:

>> http://localhost/chartfx62/download/ChartFX.Financial.Client.DLL

>> ----------------------------------------

>>

>> ************** JIT Debugging **************

>> To enable just in time (JIT) debugging, the config file for this

>> application or machine (machine.config) must have the

>> jitDebugging value set in the system.windows.forms section.

>> The application must also be compiled with debugging

>> enabled.

>>

>> For example:

>>

>> <configuration>

>> <system.windows.forms jitDebugging="true" />

>> </configuration>

>>

>> When JIT debugging is enabled, any unhandled exception

>> will be sent to the JIT debugger registered on the machine

>> rather than being handled by this dialog.

>>

>>

>>

>>

>>

>

>

Link to comment
Share on other sites

  • 2 weeks later...

I am unable to reproduce this problem, please contact Software FX support. 

It will make it faster if you attach the chart file pointed by the OBJCT tag

(CHW file). To obtain this file, do a view-source in your page, look for the

<OBJECT> tag of the chart and copy the url of the CHW file, then go to your

browser, paste the url (after your web site name) and when prompted select

to save it to a file.

--

Francisco Padron

www.chartfx.com

"Edwin" <info@ibrain.nl> wrote in message

news:aLmB1ALtFHA.4084@webserver3.softwarefx.com...

> Francisco,

>

> I use 6.2 and financial extension. The chart is on HtmlTag Auto.

>

> .NET Framework 1.1 with all updates. I get the message on the client on

> which I am debugging from visual studio.

>

> I get it with any graph with financial extension. WIthout the extension it

> works fine.

> When I switch to PNG output the error is gone.

>

> Regards

> Stefan

>

>

> "Software FX Support" <noreply@softwarefx.com> wrote in message

> news:8rcEu9CmFHA.1412@webserver3.softwarefx.com...

>> Does it happen with any chart ? Please try with a default chart by

>> dropping a new one in a form.

>>

>> What version/versions of the .NET framework do you have installed in the

>> Client and in the Server ?

>>

>> What are the file versions of ChartFX.Internet.dll and

>> ChartFX.Internet.Client.dll ?

>>

>> --

>> Francisco Padron

>> www.chartfx.com

>>

>>

>> "Stefan" <stefan@ibrain.nl> wrote in message

>> news:a7gK$Q2lFHA.1828@webserver3.softwarefx.com...

>>> Hi,

>>>

>>> when I use chartfx in an asp.net application and I switch the HTML tag

>>> to .NET instead of PNG, I get a .NET error (so an actual crash). See

>>> message below.

>>>

>>> Looks like a bug? I use the trial version.

>>>

>>> I use the financial extension. It also occurs when I use the ChartFX

>>> without the extension.

>>>

>>> Regards

>>> Stefan

>>>

>>>

>>>

>>> See the end of this message for details on invoking

>>> just-in-time (JIT) debugging instead of this dialog box.

>>>

>>> ************** Exception Text **************

>>> System.IndexOutOfRangeException: Index was outside the bounds of the

>>> array.

>>> at SoftwareFX.ChartFX.Internet.Client.0L.SerializeAsFont(String sName,

>>> Object objFont, ObjFlags flags)

>>> at SoftwareFX.ChartFX.Internet.Client.24.3H(Boolean 2PV, IPersistBase

>>> 2PW)

>>> at SoftwareFX.ChartFX.Internet.Client.0L.CH(String 1U5, Object 1U6,

>>> String 1U7, ObjFlags 1U8, Int64 1U9)

>>> at SoftwareFX.ChartFX.Internet.Client.0L.Serialize(String sName,

>>> Object obj, String sType, ObjFlags flags)

>>> at SoftwareFX.ChartFX.Internet.Client.ChartCore.75(Boolean 1K3,

>>> IPersistBase 1K4, Boolean 1K5)

>>> at

>>> SoftwareFX.ChartFX.Internet.Client.Chart.OnDownload(DownloadEventArgs

>>> args)

>>>

>>>

>>> ************** Loaded Assemblies **************

>>> mscorlib

>>> Assembly Version: 1.0.5000.0

>>> Win32 Version: 1.1.4322.2032

>>> CodeBase:

>>> file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

>>> ----------------------------------------

>>> System

>>> Assembly Version: 1.0.5000.0

>>> Win32 Version: 1.1.4322.2032

>>> CodeBase:

>>> file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

>>> ----------------------------------------

>>> System.Drawing

>>> Assembly Version: 1.0.5000.0

>>> Win32 Version: 1.1.4322.2032

>>> CodeBase:

>>> file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

>>> ----------------------------------------

>>> RegexAssembly6_0

>>> Assembly Version: 0.0.0.0

>>> Win32 Version: n/a

>>> CodeBase:

>>> ----------------------------------------

>>> ChartFX.MainClient

>>> Assembly Version: 6.0.1201.29676

>>> Win32 Version: n/a

>>> CodeBase: http://localhost/chartfx62/download/ChartFX.MainClient.DLL

>>> ----------------------------------------

>>> System.Windows.Forms

>>> Assembly Version: 1.0.5000.0

>>> Win32 Version: 1.1.4322.2032

>>> CodeBase:

>>> file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

>>> ----------------------------------------

>>> Microsoft.mshtml

>>> Assembly Version: 7.0.3300.0

>>> Win32 Version: 7.0.3300.0

>>> CodeBase:

>>> file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll

>>> ----------------------------------------

>>> Accessibility

>>> Assembly Version: 1.0.5000.0

>>> Win32 Version: 1.1.4322.573

>>> CodeBase:

>>> file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll

>>> ----------------------------------------

>>> ChartFX.Internet.Client

>>> Assembly Version: 6.2.1859.20587

>>> Win32 Version: n/a

>>> CodeBase:

>>> http://localhost/chartfx62/download/ChartFX.Internet.Client.DLL

>>> ----------------------------------------

>>> ChartFX.Internet.Base

>>> Assembly Version: 6.2.1859.20539

>>> Win32 Version: n/a

>>> CodeBase:

>>> http://localhost/chartfx62/download/ChartFX.Internet.Base.DLL

>>> ----------------------------------------

>>> System.Xml

>>> Assembly Version: 1.0.5000.0

>>> Win32 Version: 1.1.4322.2032

>>> CodeBase:

>>> file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

>>> ----------------------------------------

>>> ChartFX.Financial.Client

>>> Assembly Version: 6.2.1998.25716

>>> Win32 Version: n/a

>>> CodeBase:

>>> http://localhost/chartfx62/download/ChartFX.Financial.Client.DLL

>>> ----------------------------------------

>>>

>>> ************** JIT Debugging **************

>>> To enable just in time (JIT) debugging, the config file for this

>>> application or machine (machine.config) must have the

>>> jitDebugging value set in the system.windows.forms section.

>>> The application must also be compiled with debugging

>>> enabled.

>>>

>>> For example:

>>>

>>> <configuration>

>>> <system.windows.forms jitDebugging="true" />

>>> </configuration>

>>>

>>> When JIT debugging is enabled, any unhandled exception

>>> will be sent to the JIT debugger registered on the machine

>>> rather than being handled by this dialog.

>>>

>>>

>>>

>>>

>>>

>>

>>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...