miningcore icon indicating copy to clipboard operation
miningcore copied to clipboard

API bug - An unhandled exception was thrown by the application. System.InvalidOperationException: Nullable object must have a value. -

Open LoulouCrypto opened this issue 1 year ago • 15 comments

This bug have just start with nothing happen ( no update no reboot nothing juste happen )

It happen when we ask fot /api/pools

I was in dev branch and try in master, Same bug

[2022-12-02 23:55:04.2820] [D] [Connections] Connection id "0HMMKO1MPA8P3" started.
[2022-12-02 23:55:04.2820] [I] [Diagnostics] Request starting HTTP/1.0 GET http://pool.mynewmining.com/api/pools - -
[2022-12-02 23:55:04.2820] [T] [ResponseCompressionProvider] This request accepts compression.
[2022-12-02 23:55:04.2820] [D] [TreeRouter] Request successfully matched the route with name '(null)' and template 'api/pools'
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Attempting to bind parameter 'ct' of type 'System.Threading.CancellationToken' ...
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Done attempting to bind parameter 'ct' of type 'System.Threading.CancellationToken'.
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Attempting to validate the bound parameter 'ct' of type 'System.Threading.CancellationToken' ...
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Done attempting to validate the bound parameter 'ct' of type 'System.Threading.CancellationToken'.
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Attempting to bind parameter 'topMinersRange' of type 'System.UInt32' ...
[2022-12-02 23:55:04.2820] [D] [SimpleTypeModelBinder] Attempting to bind parameter 'topMinersRange' of type 'System.UInt32' using the name '' in request data ...
[2022-12-02 23:55:04.2820] [D] [SimpleTypeModelBinder] Could not find a value in the request with name '' for binding parameter 'topMinersRange' of type 'System.UInt32'.
[2022-12-02 23:55:04.2820] [D] [SimpleTypeModelBinder] Done attempting to bind parameter 'topMinersRange' of type 'System.UInt32'.
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Done attempting to bind parameter 'topMinersRange' of type 'System.UInt32'.
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Attempting to validate the bound parameter 'topMinersRange' of type 'System.UInt32' ...
[2022-12-02 23:55:04.2820] [D] [ParameterBinder] Done attempting to validate the bound parameter 'topMinersRange' of type 'System.UInt32'.
[2022-12-02 23:55:04.8215] [E] [Kestrel] Connection id "0HMMKO1MPA8P3", Request id "0HMMKO1MPA8P3:00000002": An unhandled exception was thrown by the application. System.InvalidOperationException: Nullable object must have a value.

LoulouCrypto avatar Dec 03 '22 09:12 LoulouCrypto