Hello guys,
I'm not a professional programmer. I'm getting this exception on #Dev, what should I do? Thanks
SharpDevelop Version : 4.3.1.9430-406354be
.NET Version : 4.0.30319.586
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : Portuguese (Brazil) (pt-BR)
Current UI language : pt-br
Working Set Memory : 106404kb
GC Heap Memory : 34659kb
Exception thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
at P2C_ADS.ADScomm.TimerRefreshReadOnceTick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---- Recent log messages:
13:53:58.296 [1] DEBUG - Debugger: Callback: LoadModule C:\Documents and Settings\DMedeiros1\Meus documentos\SharpDevelop Projects\P2C_ADS\P2C_ADS\bin\Debug\P2C_ADS.exe
13:53:58.312 [1] DEBUG - Debugger: Loaded symbols from disk for P2C_ADS.exe
13:53:58.312 [1] DEBUG - Debugger: Callback: NameChange: pAppDomain
13:53:58.343 [1] DEBUG - Debugger: Callback: LoadAssembly
13:53:58.343 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll
13:53:58.343 [1] DEBUG - Debugger: Callback: LoadAssembly
13:53:58.343 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
13:53:58.359 [1] DEBUG - Debugger: Callback: LoadAssembly
13:53:58.359 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
13:53:58.375 [1] DEBUG - Debugger: Callback: LoadAssembly
13:53:58.375 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
13:53:58.375 [1] DEBUG - Debugger: Callback: LoadAssembly
13:53:58.375 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
13:53:58.406 [1] DEBUG - Debugger: Callback: LoadAssembly
13:53:58.406 [1] DEBUG - Debugger: Callback: LoadModule C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll
13:53:58.484 [1] DEBUG - Debugger: Callback: LoadAssembly
13:53:58.484 [1] DEBUG - Debugger: Callback: LoadModule C:\Documents and Settings\DMedeiros1\Meus documentos\SharpDevelop Projects\P2C_ADS\P2C_ADS\bin\Debug\TwinCAT.Ads.dll
13:54:07.875 [5] DEBUG - Telling worker process to exit
13:54:07.875 [5] DEBUG - Waiting for thread-join
13:54:07.875 [8] DEBUG - Cannot read from WorkerProcess 445460: end of stream
13:54:07.875 [8] DEBUG - Stopped reading from WorkerProcess 445460.
13:54:07.875 [8] DEBUG - Telling worker process to exit
13:54:07.890 [8] DEBUG - End of reader thread on WorkerProcess 445460.
13:54:07.890 [5] DEBUG - Joined!
13:54:08.546 [1] ERROR - ThreadException caught
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at P2C_ADS.ADScomm.TimerRefreshReadOnceTick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
ProjectService.OpenSolution: [Solution: FileName=C:\Documents and Settings\DMedeiros1\Meus documentos\SharpDevelop Projects\P2C_ADS\P2C_ADS.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: P2C_ADS]