Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

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

MXDiags Attached - Error and Unhandled Exceptions b3241 - SoJo Wx

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
jwpetrov
Posts: 15
Joined: Sat 19 Oct 2013 1:24 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 22H2 64 bit
Location: South Jordan, Utah
Contact:

MXDiags Attached - Error and Unhandled Exceptions b3241 - SoJo Wx

Post by jwpetrov »

Hello all:

I have attached the MXDiags file for b3241. There is a previously reported Error in the log. Further down there are some Unhandled Exception messages that also show up in the CMX runtime dialog form.

As a reminder CMX is using the PHP upload option. Even with the Error and Exceptions the .json and realtimegauges.txt files appear to be uploading properly.

Jed
South Jordan Weather
You do not have the required permissions to view the files attached to this post.
forestedge
Posts: 104
Joined: Sun 29 Jul 2012 11:46 am
Weather Station: Davis Vantage Pro2 Plus DFARS
Operating System: Windows 10 64 bit
Location: Ashurst Bridge, Hampshire UK
Contact:

Re: MXDiags Attached - Error and Unhandled Exceptions b3241 - SoJo Wx

Post by forestedge »

Further down there are some Unhandled Exception messages that also show up in the CMX runtime dialog form.
I have been having similar problems and so reverted to b3235 for the moment with no unhandled errors on the CMX dialogue screen. Also using php upload fine.
User avatar
HansR
Posts: 6059
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: MXDiags Attached - Error and Unhandled Exceptions b3241 - SoJo Wx

Post by HansR »

I see one error in the log for the upload.php. That means during more than one whole day there is only one upload error.
If you do not see any additional failures I would just ignore this. I assume CMX recovers and restores the connection.

Yes, something, some transfer, missed on the internet.
It happens. It does not look like a full system failure.
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
jwpetrov
Posts: 15
Joined: Sat 19 Oct 2013 1:24 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 22H2 64 bit
Location: South Jordan, Utah
Contact:

Re: MXDiags Attached - Error and Unhandled Exceptions b3241 - SoJo Wx

Post by jwpetrov »

HansR wrote: Sun 30 Apr 2023 1:04 pm I see one error in the log for the upload.php. That means during more than one whole day there is only one upload error.
If you do not see any additional failures I would just ignore this. I assume CMX recovers and restores the connection.

Yes, something, some transfer, missed on the internet.
It happens. It does not look like a full system failure.
Yes, Hans, I would agree the upload.php error isn't an issue in this case. I'm wondering if the Unhandled Exceptions are anything to be concerned about. As mentioned, these messages are showing up in the MXDiag runtime dialog.

Jed
User avatar
HansR
Posts: 6059
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: MXDiags Attached - Error and Unhandled Exceptions b3241 - SoJo Wx

Post by HansR »

Yes, Jed, anything unhandled should be avoided and as this is a system exception I think Mark should have a look. Too deep for me :? Though even this exception does not break and CMX simply continues. That's good :D

Code: Select all

2023-04-28 15:50:01.493 !!! Unhandled Exception !!!
System.ArgumentException: The tasks array included at least one null element.
Parameter name: tasks
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at CumulusMX.Cumulus.<DoIntervalUpload>d__944.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CumulusMX.Cumulus.<DoHTMLFiles>d__941.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
2023-04-28 15:50:02.288 SendLoopCommand: Starting - LPS 2 1
Hans

https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply