PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms NumericUpDown control crashes

Reply

NumericUpDown control crashes

 
Thread Tools Rate Thread
Old 10-01-2007, 12:23 PM   #1
pavel.orehov@gmail.com
Guest
 
Posts: n/a
Default NumericUpDown control crashes


We encounter a bug in winform application in .net 2.0 that
often when we press continually on a NumericUpDown control the
application crash with the following exception :


System.NullReferenceException occurred
Message="Object reference not set to an instance of an object."
Source="System.Windows.Forms"
StackTrace:
at
System.Windows.Forms.UpDownBase.UpDownButtons.TimerHandler(Object
source, EventArgs args)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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(Form mainForm)

  Reply With Quote
Old 10-01-2007, 03:18 PM   #2
Stoitcho Goutsev \(100\)
Guest
 
Posts: n/a
Default Re: NumericUpDown control crashes

Pavel,
Can you post compilable sample that demonstrates the problem?


--
Stoitcho Goutsev (100)

<pavel.orehov@gmail.com> wrote in message
news:1168431830.304669.90550@k58g2000hse.googlegroups.com...
> We encounter a bug in winform application in .net 2.0 that
> often when we press continually on a NumericUpDown control the
> application crash with the following exception :
>
>
> System.NullReferenceException occurred
> Message="Object reference not set to an instance of an object."
> Source="System.Windows.Forms"
> StackTrace:
> at
> System.Windows.Forms.UpDownBase.UpDownButtons.TimerHandler(Object
> source, EventArgs args)
> at System.Windows.Forms.Timer.OnTick(EventArgs e)
> at System.Windows.Forms.Timer.TimerNativeWindow.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(Form mainForm)
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off