Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Error on startup #90

@Katashtrophie

Description

@Katashtrophie

Getting the following error when starting - anyone know how to fix this?

C:\Users\homes\Desktop\Gunbot RT\CryptoGramBot-v0.3.313>dotnet CryptoGramBot.dll
[23:44:36 INF] Services
Coinigy: False
Binance: False
Bittrex: True
Poloniex: False
[23:44:36 INF] Created General config
[23:44:36 INF] Created Telegram config
[23:44:36 INF] Created Coinigy config
[23:44:36 INF] Created Binance config
[23:44:36 INF] Created Bittrex Config
[23:44:36 INF] Created Poloniex config
[23:44:42 INF] Send Message:
<strong>Welcome to CryptoGramBot. Type /help for commands.</strong>

Hosting environment: Production
Content root path: C:\Users\homes\Desktop\Gunbot RT\CryptoGramBot-v0.3.313
Now listening on: http://localhost:5001
Application started. Press Ctrl+C to shut down.

Unhandled Exception: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Enexure.MicroBus.ReflectionExtensions.GetTaskResult(Task task)
   at Enexure.MicroBus.PipelineRunBuilder.RunHandlers(IReadOnlyCollection`1 leafHandlerTypes, Object message, CancellationToken cancellation)
   at Enexure.MicroBus.PipelineRunBuilder.<>c__DisplayClass7_0.<<BuildNextHandler>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Enexure.MicroBus.MicroBus.RunPipelineAsync(Object message, CancellationToken cancellation)
   at CryptoGramBot.Services.StartupCheckingService.SendStartupMessage() in C:\projects\telecoinigy\CryptoGramBot\Services\StartupCheckingService.cs:line 155
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at CryptoGramBot.Services.StartupCheckingService.Start() in C:\projects\telecoinigy\CryptoGramBot\Services\StartupCheckingService.cs:line 112
   at CryptoGramBot.Startup.OnStarting() in C:\projects\telecoinigy\CryptoGramBot\Startup.cs:line 290
   at CryptoGramBot.Startup.<Configure>b__9_0() in C:\projects\telecoinigy\CryptoGramBot\Startup.cs:line 65
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

C:\Users\homes\Desktop\Gunbot RT\CryptoGramBot-v0.3.313>pause
Press any key to continue . . .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions