Dear Friends,
We are using the RadTreeView in one of our outlook addin application. The Radtreeview works fine in a WPF application. But in the addin it crashes the outlook when a treeview item is clicked.
If I debug I got the follwing error in VS.NET 2008 Debugger.
"An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module."
The call stack is,
> kernel32.dll!_RaiseException@16() + 0x58 bytes
mscorwks.dll!RaiseTheExceptionInternalOnly() + 0x159 bytes
mscorwks.dll!RaiseTheException() + 0x4e bytes
mscorwks.dll!RaiseTheException() + 0xc0 bytes
mscorwks.dll!RealCOMPlusThrow() + 0x30 bytes
mscorwks.dll!RealCOMPlusThrow() + 0xd bytes
mscorwks.dll!Thread::RaiseCrossContextException() + 0x1ff bytes
mscorwks.dll!Thread::DoADCallBack() + 0x13095b bytes
mscorwks.dll!_UM2MDoADCallBack@16() + 0x7c bytes
0a25847a()
user32.dll!_InternalCallWinProc@20() + 0x23 bytes
user32.dll!_UserCallWinProcCheckWow@32() + 0xb3 bytes
user32.dll!_DispatchMessageWorker@8() + 0xe6 bytes
user32.dll!_DispatchMessageW@4() + 0xf bytes
MSO.DLL!30d11bbe()
[Frames below may be incorrect and/or missing, no symbols loaded for MSO.DLL]
OUTLLIB.DLL!30053fb2()
OUTLOOK.EXE!300012d5()
kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes
ntdll.dll!__RtlUserThreadStart@8() + 0x27 bytes
There is no managed stack here.
Is there anyway to solve the problem?
The sample project contain source code and a setup project. Just install the setup project. The addin comes in the bottom of the left naviagtion pane. Click any one of the trreview item. You can see the outlook crashed.
I have uploaded a sample project that reproduce the erorr in the following location.
http://www.4shared.com/file/112645778/c879187b/XInlook.html
Thanks & Regards
Prakash