Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to call the function in cellcore.dll? Pin
whiteclouds18-Sep-10 3:33
whiteclouds18-Sep-10 3:33 
QuestionPassing array of c# objects to vbscript [modified] Pin
scootyohansen9-Sep-10 22:03
scootyohansen9-Sep-10 22:03 
QuestionValidating string values Pin
Ramkithepower9-Sep-10 21:54
Ramkithepower9-Sep-10 21:54 
AnswerRe: Validating string values Pin
Kubajzz9-Sep-10 22:07
Kubajzz9-Sep-10 22:07 
GeneralRe: Validating string values Pin
Ramkithepower9-Sep-10 22:26
Ramkithepower9-Sep-10 22:26 
GeneralRe: Validating string values Pin
OriginalGriff10-Sep-10 0:28
mveOriginalGriff10-Sep-10 0:28 
AnswerRe: Validating string values Pin
PIEBALDconsult10-Sep-10 3:46
mvePIEBALDconsult10-Sep-10 3:46 
QuestionNot getting the reason for 'Application.OnThreadException' raised. Pin
srng.net9-Sep-10 21:31
srng.net9-Sep-10 21:31 
Hi all,

I am developing a winform application.This application has several (approx. 45) windows with custom rendering on it.
I am also using a third party tool for docking and undocking these windows.

When I play with all these windows (like docking undocking and moving them from thier location etc) very rarely I face this issue of an 'Application.OnThreadException'.

The custom rendering of all windows is heavy process.
Following A) is Exception and B) is the Stack trace I got once the exception has occured.
This issue is very hard to reproduce but it is there for sure.
Could you please guide me regarding any possible reason for the same?

Thanks in advance!


A) ---Exception Message ---
Object reference not set to an instance of an object.

B) ----Stack Trace---

System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.OnThreadException(System.Exception t) + 0x8b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProcException(System.Exception e) + 0x16 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(System.Exception e) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg = 562, System.IntPtr wparam, System.IntPtr lparam) + 0x72 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m = {msg=0x232 (WM_EXITSIZEMOVE) hwnd=0xa0cbc wparam=0x0 lparam=0x0 result=0x0}) + 0x130 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x5 bytes
Syncfusion.Tools.Windows.dll!Syncfusion.Windows.Forms.Tools.NotifyNativeWindow.WndProc(ref System.Windows.Forms.Message m = {msg=0x232 (WM_EXITSIZEMOVE) hwnd=0xa0cbc wparam=0x0 lparam=0x0 result=0x0}) + 0xb3 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 562, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes
[Native to Managed Transition]
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND) hwnd=0xa0cbc wparam=0xf012 lparam=0x10f0494 result=0x0}) + 0x93 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.DefWndProc(ref System.Windows.Forms.Message m) + 0x89 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x40a bytes
System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.WndProc(ref System.Windows.Forms.Message m) + 0x2a bytes
System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.WndProc(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.WmSysCommand(ref System.Windows.Forms.Message m) + 0x70 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.WndProc(ref System.Windows.Forms.Message m) + 0x1ec bytes
Syncfusion.Tools.Windows.dll!Syncfusion.Windows.Forms.Tools.FloatingForm.WndProc(ref System.Windows.Forms.Message msg = {msg=0x112 (WM_SYSCOMMAND) hwnd=0xa0cbc wparam=0xf012 lparam=0x10f0494 result=0x0}) + 0x22b5 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg = 274, System.IntPtr wparam, System.IntPtr lparam) + 0x5a bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND) hwnd=0xa0cbc wparam=0xf012 lparam=0x10f0494 result=0x0}) + 0x130 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x5 bytes
Syncfusion.Tools.Windows.dll!Syncfusion.Windows.Forms.Tools.NotifyNativeWindow.WndProc(ref System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND) hwnd=0xa0cbc wparam=0xf012 lparam=0x10f0494 result=0x0}) + 0xb3 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 274, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes
[Native to Managed Transition]
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN) hwnd=0xa0cbc wparam=0x2 lparam=0x10f0494 result=0x0}) + 0x93 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.DefWndProc(ref System.Windows.Forms.Message m) + 0x89 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x10e bytes
System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.WndProc(ref System.Windows.Forms.Message m) + 0x2a bytes
System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.WndProc(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.WmNcButtonDown(ref System.Windows.Forms.Message m) + 0x29 bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.WndProc(ref System.Windows.Forms.Message m) + 0x1de bytes
Syncfusion.Tools.Windows.dll!Syncfusion.Windows.Forms.Tools.FloatingForm.WndProc(ref System.Windows.Forms.Message msg = {msg=0xa1 (WM_NCLBUTTONDOWN) hwnd=0xa0cbc wparam=0x2 lparam=0x10f0494 result=0x0}) + 0x1f53 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg = 161, System.IntPtr wparam, System.IntPtr lparam) + 0x5a bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN) hwnd=0xa0cbc wparam=0x2 lparam=0x10f0494 result=0x0}) + 0x130 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x5 bytes
Syncfusion.Tools.Windows.dll!Syncfusion.Windows.Forms.Tools.NotifyNativeWindow.WndProc(ref System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN) hwnd=0xa0cbc wparam=0x2 lparam=0x10f0494 result=0x0}) + 0xb3 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 161, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(int dwComponentID, int reason = -1, int pvLoopData = 0) + 0x24e bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x177 bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x61 bytes
System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) + 0x31 bytes
AnswerRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Richard MacCutchan9-Sep-10 22:11
mveRichard MacCutchan9-Sep-10 22:11 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
srng.net10-Sep-10 1:09
srng.net10-Sep-10 1:09 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Richard MacCutchan10-Sep-10 2:12
mveRichard MacCutchan10-Sep-10 2:12 
GeneralRe: Not getting the reason for 'Application.OnThreadException' raised. Pin
Dave Kreskowiak10-Sep-10 2:13
mveDave Kreskowiak10-Sep-10 2:13 
QuestionCan not create file using FileStream in release mode Pin
ndkit9-Sep-10 17:23
ndkit9-Sep-10 17:23 
AnswerRe: Can not create file using FileStream in release mode Pin
Luc Pattyn9-Sep-10 17:50
sitebuilderLuc Pattyn9-Sep-10 17:50 
GeneralRe: Can not create file using FileStream in release mode Pin
ndkit9-Sep-10 22:04
ndkit9-Sep-10 22:04 
GeneralRe: Can not create file using FileStream in release mode Pin
DaveyM699-Sep-10 22:21
professionalDaveyM699-Sep-10 22:21 
AnswerRe: Can not create file using FileStream in release mode Pin
Luc Pattyn10-Sep-10 1:42
sitebuilderLuc Pattyn10-Sep-10 1:42 
QuestionThrottling web service calls on different threads Pin
Gareth H9-Sep-10 7:33
Gareth H9-Sep-10 7:33 
AnswerRe: Throttling web service calls on different threads Pin
Ian Shlasko9-Sep-10 8:10
Ian Shlasko9-Sep-10 8:10 
GeneralRe: Throttling web service calls on different threads Pin
Gareth H10-Sep-10 1:26
Gareth H10-Sep-10 1:26 
GeneralRe: Throttling web service calls on different threads Pin
Ian Shlasko10-Sep-10 1:46
Ian Shlasko10-Sep-10 1:46 
GeneralRe: Throttling web service calls on different threads Pin
Gareth H10-Sep-10 1:50
Gareth H10-Sep-10 1:50 
AnswerRe: Throttling web service calls on different threads Pin
Luc Pattyn9-Sep-10 11:12
sitebuilderLuc Pattyn9-Sep-10 11:12 
GeneralRe: Throttling web service calls on different threads Pin
Gareth H10-Sep-10 1:37
Gareth H10-Sep-10 1:37 
AnswerRe: Throttling web service calls on different threads Pin
Abhinav S9-Sep-10 17:30
Abhinav S9-Sep-10 17:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.