Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Uncaught exception in b3099

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Uncaught exception in b3099

Post by freddie »

There is an uncaught exception in b3099 that is triggered by attempting to shut down Cumulus when there is no weather station attached. This is from user mdlawler who is blind and has problems posting to the forum using screen reading software.

Log file:

Code: Select all

2021-01-06 03:51:11.996  ========================== Cumulus MX starting ==========================
2021-01-06 03:51:11.996 Command line: cumulusmx -debug
2021-01-06 03:51:11.996 Cumulus MX v.3.9.4 build 3099
2021-01-06 03:51:11.998 Platform: Win32NT
2021-01-06 03:51:11.998 OS version: Microsoft Windows NT 6.2.9200.0
2021-01-06 03:51:16.308 Current culture: English (United States)
2021-01-06 03:51:16.308 Directory separator=[\] Decimal separator=[.] List separator=[,]
2021-01-06 03:51:16.308 Date separator=[/] Time separator=[:]
2021-01-06 03:51:16.308 Standard time zone name:   Eastern Standard Time
2021-01-06 03:51:16.309 Daylight saving time name: Eastern Daylight Time
2021-01-06 03:51:16.309 Daylight saving time? False
2021-01-06 03:51:16.309 1/6/2021 3:51:16 AM
2021-01-06 03:51:16.322 Reading Cumulus.ini file
2021-01-06 03:51:16.324 ASM=10 AST=00:10:00
2021-01-06 03:51:16.325 Cumulus start date: Monday, January 4, 2021
2021-01-06 03:51:16.326 No start-up PING
2021-01-06 03:51:16.326 No start-up delay - disabled
2021-01-06 03:51:16.338 Data path = data\
2021-01-06 03:51:16.353 Creating backup folder backup\20210106035116\
2021-01-06 03:51:16.355 Created backup folder backup\20210106035116\
2021-01-06 03:51:16.355 Debug logging is enabled
2021-01-06 03:51:16.355 Data logging is enabled
2021-01-06 03:51:16.355 FTP logging is disabled
2021-01-06 03:51:16.355 Spike logging is enabled
2021-01-06 03:51:16.355 Logging interval = 10 mins
2021-01-06 03:51:16.355 Real time interval = 30 secs
2021-01-06 03:51:16.355 NoSensorCheck = 0
2021-01-06 03:51:16.381 Calculating sunrise and sunset times
2021-01-06 03:51:16.382 Sunrise: 01:02:17
2021-01-06 03:51:16.382 Sunset : 13:09:48
2021-01-06 03:51:16.382 Tomorrow sunrise: 01:02:44
2021-01-06 03:51:16.382 Tomorrow sunset : 13:10:14
2021-01-06 03:51:16.383 Tomorrow length diff: -1
2021-01-06 03:51:16.389 Station type: Davis Vantage Pro2
2021-01-06 03:51:16.390 WindUnit=mph RainUnit=in TempUnit=°F PressureUnit=in
2021-01-06 03:51:16.390 YTDRain=0.000 Year=0
2021-01-06 03:51:16.390 RainDayThreshold=-1.000
2021-01-06 03:51:16.390 Offsets and Multipliers:
2021-01-06 03:51:16.390 PO=0.000 TO=0.000 HO=0 WDO=0 ITO=0.000 SO=0.000 UVO=0.000
2021-01-06 03:51:16.391 PM=1.000 WSM=1.000 WGM=1.000 TM=1.000 TM2=0.000 HM=1.000 HM2=0.000 RM=1.000 SM=1.000 UVM=1.000
2021-01-06 03:51:16.391 Spike removal:
2021-01-06 03:51:16.391 TD=999.000 GD=999.000 WD=999.000 HD=999.000 PD=999.000 MR=999.000 MH=999.000
2021-01-06 03:51:16.391 Limits:
2021-01-06 03:51:16.391 TH=60.0 TL=-60.0 DH=40.0 PH=1090.00 PL=870.00 GH=90.000
2021-01-06 03:51:16.391 Cumulus Starting
2021-01-06 03:51:16.391 Lock: Cumulus waiting for the lock
2021-01-06 03:51:16.391 Lock: Cumulus has lock
2021-01-06 03:51:16.391 Creating extra sensors
2021-01-06 03:51:16.391 Opening station
2021-01-06 03:51:16.399 Last update time from today.ini: 1/6/2021 3:51:16 AM
2021-01-06 03:51:16.399 Read today file: Date = 00/00/00, LastUpdateTime = 1/6/2021 3:51:16 AM, Month = 1
2021-01-06 03:51:16.399 Sensor clock  12:00:00 AM
2021-01-06 03:51:16.399 Station clock 12:00:00 AM
2021-01-06 03:51:16.399 ET not initialised
2021-01-06 03:51:16.403 C:\cumulusmx\data\alltime.ini
2021-01-06 03:51:16.404 Alltime.ini file read
2021-01-06 03:51:16.407 MonthlyAlltime.ini file read
2021-01-06 03:51:16.414 Finding raintoday from logfile data\Jan21log.txt
2021-01-06 03:51:16.414 Expecting listsep=, decimal=.
2021-01-06 03:51:16.414 Midnight rain not found, setting midnight count to raindaystart = -1
2021-01-06 03:51:16.414 Checking rain counter = -1
2021-01-06 03:51:16.414 Rain counter negative, setting to zero
2021-01-06 03:51:16.415 Getting rain totals, rain season start = 1
2021-01-06 03:51:16.415 Today = 06/01/21
2021-01-06 03:51:16.416 Station type = Davis
2021-01-06 03:51:16.416 LOOP2 enabled
2021-01-06 03:51:16.416 IP address = 192.168.1.127 Port = 22222
2021-01-06 03:51:16.416 periodic disconnect = 0
2021-01-06 03:51:16.417 InitTCP: Connecting to the station
2021-01-06 03:51:16.417 OpenTcpPort: TCP Logger Connect attempt 1
2021-01-06 03:51:16.743 This Cumulus MX instance is running the latest version
!!! Unhandled Exception !!!
System.NullReferenceException: Object reference not set to an instance of an object.
   at CumulusMX.ExitHandler.Handler(CtrlType sig)
Freddie
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Uncaught exception in b3099

Post by mcrossley »

Thanks, I'll put a catch in for that...
Post Reply