title: Unhandled exception has occurred in your application C#
body: <p>I am getting this error when I run my c# program for about 30 mins:
  <a href="https://www.dropbox.com/s/3euos0cfaf0pum7/20150416_070119.jpg?dl=0" rel="nofollow">IMAGE LINK</a></p>
  
  <p>This is what the Details box contains:</p>
  
  
  
  <pre class="lang-html prettyprint-override"><code>See the end of this message for details on invoking 
  just-in-time (JIT) debugging instead of this dialog box.
  
  ****** Exception Text ******
  System.NullReferenceException: Object reference not set to an instance of an object.
  at WindowsFormsApplication1.Form1.button6_Click(Object sender, EventArgs e)
  at WindowsFormsApplication1.Form1.button7_Click(Object sender, EventArgs e)
  at WindowsFormsApplication1.Form1.timer2_Tick(Object sender, EventArgs e)
  at System.Windows.Forms.Timer.OnTick(EventArgs e)
  at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message&amp; m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  
  ****** Loaded Assemblies ******
  mscorlib
  Assembly Version: 4.0.0.0
  Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
  CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
  ------
  instagram Robot
  Assembly Version: 1.0.0.0
  Win32 Version: 1.0.0.0
  CodeBase: file:///C:/Users/kingd_000/Desktop/Instagram%20Robot/Instagram%20Robot/instagram%20Robot.exe
  ------
  System.Windows.Forms
  Assembly Version: 4.0.0.0
  Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
  ------
  System.Drawing
  Assembly Version: 4.0.0.0
  Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  ------
  System
  Assembly Version: 4.0.0.0
  Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
  ------
  SKGL
  Assembly Version: 2.0.4.1
  Win32 Version: 2.0.4.1
  CodeBase: file:///C:/Users/kingd_000/Desktop/Instagram%20Robot/Instagram%20Robot/SKGL.DLL
  ------
  Microsoft.VisualBasic
  Assembly Version: 10.0.0.0
  Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
  ------
  System.Core
  Assembly Version: 4.0.0.0
  Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
  ------
  System.Xml
  Assembly Version: 4.0.0.0
  Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
  CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
  ------
  Microsoft.mshtml
  Assembly Version: 7.0.3300.0
  Win32 Version: 7.0.3300.0
  CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
  ------
  
  ****** JIT Debugging ******
  To enable just-in-time (JIT) debugging, the .config file for this
  application or computer (machine.config) must have the
  jitDebugging value set in the system.windows.forms section.
  The application must also be compiled with debugging
  enabled.
  
  For example:
  
  &lt;configuration&gt;
  &lt;system.windows.forms jitDebugging="true" /&gt;
  &lt;/configuration&gt;
  
  When JIT debugging is enabled, any unhandled exception
  will be sent to the JIT debugger registered on the computer
  rather than be handled by this dialog box.
  </code></pre>
  
  <p>I have no idea how to fix this problem and am hoping someone here will be able to find out how to fix this problem. 
  Thanks in Advance!</p>