Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2007

Tip: Looking for answers? Try searching our database.

NumericUpDown control crashes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pavel.orehov@gmail.com - 10 Jan 2007 12:23 GMT
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)
Stoitcho Goutsev (100) - 10 Jan 2007 15:18 GMT
Pavel,
Can you post compilable sample that demonstrates the problem?

Signature

Stoitcho Goutsev (100)

> We encounter a bug in winform application in .net 2.0 that
> often when we press continually on a  NumericUpDown control the
[quoted text clipped - 24 lines]
> reason, ApplicationContext context)
>       at System.Windows.Forms.Application.Run(Form mainForm)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.