NullReferenceException was unhandled

5 posts, 0 answers
  1. Paul Beaulieu
    Paul Beaulieu avatar
    2 posts
    Member since:
    Mar 2006

    Posted 04 Jun 2008 Link to this post

    new project Added a RadRibbonBar.  Make the form a shaped form.  
    by pasting the imports line and the inherits line.




    Class Form1
    Inherits ShapedForm

    End Class

    Run the application.  Press any key exept the space bar and shift. and the app crashes. see bleow.   Has any one else seen this. is there a fix.  I am using 2008 Q1

    System.NullReferenceException was unhandled
      Message="Object reference not set to an instance of an object."
           at Telerik.WinControls.ComponentBehavior.ProcessUnmappedItems(List`1 childrenToBeMapped)
           at Telerik.WinControls.ComponentBehavior.IsPartOfKeyTip(Keys input, String representation)
           at Telerik.WinControls.ComponentBehavior.ProccessKeyMap(Keys input)
           at Telerik.WinControls.UI.RadRibbonBar.OnKeyDown(KeyEventArgs e)
           at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
           at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
           at System.Windows.Forms.Control.WmKeyChar(Message& m)
           at System.Windows.Forms.Control.WndProc(Message& m)
           at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
           at Telerik.WinControls.RadControl.WndProc(Message& m)
           at Telerik.WinControls.UI.RadRibbonBar.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 Test.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 have tested this on 3 seperate apps and it is the same on all.

  2. Paul Beaulieu
    Paul Beaulieu avatar
    2 posts
    Member since:
    Mar 2006

    Posted 04 Jun 2008 Link to this post

    Never mind SP1 fixes this issue.

  3. DevCraft R3 2016 release webinar banner
  4. Nikolay
    Nikolay avatar
    1802 posts

    Posted 05 Jun 2008 Link to this post

    Hi Paul Beaulieu,

    I'm glad to hear the issue has been resolved.

    If you have additional questions, do not hesitate to contact me.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Alejandro
    Alejandro avatar
    1 posts
    Member since:
    Dec 2007

    Posted 11 May 2009 Link to this post

    Hi, This is Alex

    One question.

    Who can i get the SP1 for 2008 Q1

    I have the same problem

  6. Nikolay
    Nikolay avatar
    1802 posts

    Posted 14 May 2009 Link to this post

    Hello Alejandro,

    If you are a trial user, you can download only the latest version from our site.
    If you are a customer, you can download all versions that we have released for a period of 1 year from the date of purchase. If you have a subscription, our site will extend that period with 1 year.

    The issue that is discussed in this thread is addressed not only in Q1 2008 SP1, but in our latest Q1 2009 SP1 as well. Since Q1 2009 SP1 is the latest version, you can download it from Your Account >> Free Trials >> RadControls for WinForms v2009.1.9.414.

    If you have additional questions, feel free to contact me.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
DevCraft R3 2016 release webinar banner