shodan Posted November 13, 2008 Report Share Posted November 13, 2008 Hi, I'm Marco from Italy I've been using ChartFX since 2006 and I worked with it very much and proved to be an amazing product. By the way, while using an application I made using ChartFX, an exception occurred and I'm trying hard to figure out how to resolve it. To zoom in the data, I use the function SetScrollView. It all worked fine until some days ago when, examining the data of an XML, ChartFX thrown an exception. It happened this way: after zooming three times on the data (the amount of zoom levels may vary depending on the data), the scrollbar appeared as usual. But when I scrolled all to the right, the scrollbar disappeared, ChartFX freezed for some seconds and I got this exception. No matter what I do, I can't handle it because is generated by ChartFX itself. Here's the copy of the exception as VS2005 shows System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="ChartFX.WinForms" StackTrace: at ChartFX.WinForms.Axis.d(Int32 A_0, Int32 A_1) at ChartFX.WinForms.ag.f(MouseEventArgs A_0) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String commandLine) at ZoomTest.My.MyApplication.Main(String Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81 at System.AppDomain.nExecuteAssembly(Assembly assembly, String args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() I would really appreciate any help. Thanks in advance Marco Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.