Menu

#4 Caught exception in run loop!

open-out-of-date
None
5
2010-08-09
2010-01-02
Anonymous
No

Hello:

I'm getting a popup message box that says:
System.invalidOperationException: Bug in processDataWMR100
at WMR100QxStation.Wmr100WxStation.processDataWmr100(Byte[] usbRecord)
at WMR100WxStation.WMR100WxStation.MainRunLoop()

Operating system is Windows XP Media Center with all updates and patches as of 1-1-10. Hardware is a Dell GX-280, P4 3.2 with 3 gb mem and assorted harddrives. The station is a WMR-100 connected to a belkin usb hub.

I'll be happy to post any other information that might be needed to help with this problem.

Have a good day

David

Discussion

  • A Weather Guy

    A Weather Guy - 2010-01-04

    David,

    Can you tell me a bit more about when this happens? Frequently or rarely, etc? If you bypass the USB hub and plug the WMR100 directly into the computer's USB port, does the crash still occur? Try starting WSDL before plugging in the USB cable from the WMR100, then plug in the WMR100 cable. After the crash, look in the message log -- is there any information that might be useful?

    Sometimes it is easier to work on these kind of bugs either in the forum or via e-mail. If you create a source forge account I can send you my e-mail address...

     
  • A Weather Guy

    A Weather Guy - 2010-01-04
    • assigned_to: nobody --> aweatherguy
     
  • A Weather Guy

    A Weather Guy - 2010-01-04

    I was just looking at the code -- do you have one of those floating water temperature sensors? If so then that is the problem. Just to verify you could try taking the batteries out of the sensor temporarily.

    If that is the problem, you could help get this working. Another user was helping to get that sensor working but the task was never finished. If you're willing to help we could likely get support for that sensor working...

     
  • David

    David - 2010-01-04

    Hello:

    Created an account, prob should have done that first.

    No floating sensors, but I do have two additional temp only sensors on channel 3 & 4. THN800 I believe without looking.

    The msg box seems to popup at about 60 sec intervals with another ~10 secs after the first, then another 60 pause. The second one at 10 secs isn't consistent though.

    Haven't direct connected the usb cable, but I'll try that when I get home from work tonight. I have tried starting WSDL before, as well as while, the station is connected with no apparent change.

    The log file shows nothing strange (at least to me), it seems to be routine notices.

    LOG FILE START-----------------------------------------------

    1/4/2010 17:31:02 (UTC) - Welcome to WSDL version 3.4.0.0 !
    1/4/2010 17:31:02 (UTC) - Loading weather log...
    1/4/2010 17:31:02 (UTC) - Loaded 55 records.
    1/4/2010 17:31:02 (UTC) - Port opened to WeatherJack barometer (communications not verified yet)
    1/4/2010 17:31:03 (UTC) - New device is a supported weather station!
    1/4/2010 17:32:03 (UTC) - Successfully backed up log file.
    1/4/2010 17:33:02 (UTC) - Successfully backed up log file.
    1/4/2010 17:34:02 (UTC) - Successfully backed up log file.
    1/4/2010 17:35:02 (UTC) - Successfully backed up log file.
    1/4/2010 17:36:02 (UTC) - Successfully backed up log file.
    1/4/2010 17:36:02 (UTC) - ----------------------------------------
    1/4/2010 17:36:02 (UTC) - Wireless Sensor Communication Statistics
    1/4/2010 17:36:02 (UTC) - Sensor Updates Missed Since Avg Interval(sec)
    1/4/2010 17:36:02 (UTC) - Anemometer 000021 000000 5:31 PM UTC 22.6
    1/4/2010 17:36:02 (UTC) - Rain Bucket 000007 000000 5:31 PM UTC 59.0
    1/4/2010 17:36:02 (UTC) - Temp Ch 01 000005 000000 5:31 PM UTC 64.0
    1/4/2010 17:36:02 (UTC) - Temp Ch 02 000005 000000 5:31 PM UTC 66.5
    1/4/2010 17:36:02 (UTC) - Temp Ch 03 000004 000001 5:31 PM UTC 69.7
    1/4/2010 17:36:02 (UTC) - ----------------------------------------
    1/4/2010 17:37:02 (UTC) - Successfully backed up log file.
    1/4/2010 17:38:02 (UTC) - Successfully backed up log file.
    1/4/2010 17:39:02 (UTC) - Successfully backed up log file.
    1/4/2010 17:40:02 (UTC) - Successfully backed up log file.

    LOG FILE END----------------------------------------------------------

    As of right now it seems that my channel two and three sensors are 'frozen' at 32.0°F, this is a new development as of today, they all read correctly when I ran WSDL a couple of days ago. They read correctly on the station, just not in the program.

    I'll check back when I'm done 'earning a living' tonight.................

    Have a good day

    David

     
  • A Weather Guy

    A Weather Guy - 2010-01-04

    David,

    I'll add a new post in the open discussion forum to continue this...I have a patch for you too. I'm also going to send you my e-mail address -- let me know if you get the message. If you do, please reply with an e-mail address where I can send the patch.

     
  • A Weather Guy

    A Weather Guy - 2010-08-09
    • status: open --> open-out-of-date
     
  • A Weather Guy

    A Weather Guy - 2010-08-09

    Closing this now. Cannot recall if this was actually fixed or not. Please feel free to resubmit if the problem still exists.

     
  • Nobody/Anonymous

    Hello:

    I'm getting a popup message box that says:

    ---------------------------
    Caught exception in run loop!
    ---------------------------
    System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.

    à WMR100WxStation.WMR100WxStation.LogMessage(String message)

    à WMR100WxStation.WMR100WxStation.processOsUsbData(Byte[] usbRecord)

    à WMR100WxStation.WMR100WxStation.MainRunLoop()
    ---------------------------
    OK
    ---------------------------
    Operating system is Windows XP . The station is a WMR-200 directly connected usb cable. lang is french

    Have a good day

    Jean-Luc

     

Log in to post a comment.

MongoDB Logo MongoDB