This is a migrated thread and some comments may be shown as answers.

NullReferenceException was unhandled

4 Answers 107 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Paul Beaulieu
Top achievements
Rank 1
Paul Beaulieu asked on 04 Jun 2008, 05:08 PM
new project vb.net Added a RadRibbonBar.  Make the form a shaped form.  
by pasting the imports line and the inherits line.

Imports

Telerik.WinControls.UI

Public

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."
  Source="Telerik.WinControls"
  StackTrace:
       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.

Thanks
 Paul

4 Answers, 1 is accepted

Sort by
0
Paul Beaulieu
Top achievements
Rank 1
answered on 04 Jun 2008, 05:39 PM
Never mind SP1 fixes this issue.

Paul
0
Nikolay
Telerik team
answered on 05 Jun 2008, 04:08 PM
Hi Paul Beaulieu,

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

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

Regards,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alejandro
Top achievements
Rank 1
answered on 11 May 2009, 06:38 PM
Hi, This is Alex

One question.

Who can i get the SP1 for 2008 Q1

I have the same problem

Thanks
0
Nikolay
Telerik team
answered on 14 May 2009, 01:34 PM
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,
Nikolay
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.
Tags
RibbonBar
Asked by
Paul Beaulieu
Top achievements
Rank 1
Answers by
Paul Beaulieu
Top achievements
Rank 1
Nikolay
Telerik team
Alejandro
Top achievements
Rank 1
Share this question
or