2
Vote

Error dialog pops up every few hours.

description

Error dialog is in screenshot.
 
Details below:
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 WeatherBar.Form1.RefreshImage(PictureBox picture, Conditions conditions)
at WeatherBar.Form1.UpdateConditions(Conditions conditions)
at WeatherBar.Form1.timer3_Tick(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)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

WeatherBar
Assembly Version: 1.0.0.0
Win32 Version: 

CodeBase: file:///C:/Users/User/Documents/weatherbar/WeatherBar.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Microsoft.WindowsAPICodePack.Shell
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/USER/Documents/weatherbar/Microsoft.WindowsAPICodePack.Shell.DLL

Microsoft.WindowsAPICodePack
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/USER/Documents/weatherbar/Microsoft.WindowsAPICodePack.DLL

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.4902 built by: NetFXw7

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.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:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
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.

 

 
If i click continue the application still runs, just an annoyance.

file attachments

comments

DennisDelimarsky wrote Mar 26, 2010 at 5:57 PM

Download the most recent build of WeatherBar. I fixed the issue.

wrote Mar 26, 2010 at 5:57 PM

HatakareMitsuga wrote Jun 4, 2010 at 1:53 AM

I get error pop ups every so often saying that the weatherbar could not find info for my area. I would much wrather not have these, as they are just annoying. Though I don't have a pic right now, I'll be sure to post one as soon as I get the 2 consecutive pop ups again.

DennisDelimarsky wrote Jun 6, 2010 at 1:52 PM

I will look into that. I think it will be a good idea to introduce optional error notifications that will be tuned in the application settings.

wrote Jun 6, 2010 at 2:22 PM

HatakareMitsuga wrote Jun 6, 2010 at 2:22 PM

Got the pop ups, uploading the pics.

HatakareMitsuga wrote Jun 6, 2010 at 5:11 PM

"Weather Bar 2 Errors.png" by the way.

joaoqgomes wrote Jun 29, 2010 at 9:32 PM

I am experiencing the exact same behavior the screenshots describe, for location Lisbon, Portugal (showing as Lisbon, Lisbon in WeatherBar).

HatakareMitsuga wrote Jul 28, 2010 at 2:55 AM

I neglected to mention that my location is Silver Spring, Maryland.

wrote Feb 14, 2013 at 7:08 PM