cswendrowski / FoundryVTT-Discord-Rich-Presence

Enables Discord Rich Presence for http://foundryvtt.com/
17 stars 6 forks source link

App Crashing on Launch #27

Open djplasmid opened 3 years ago

djplasmid commented 3 years ago
Created DiscordManager bc7afd5a-88c2-407c-8a85-f0b119c57051
bc7afd5a-88c2-407c-8a85-f0b119c57051 - Creating new Discord instance
Registered event handlers
Registered command C:\FoundryRichPresence-win10x64\RichPresenceApi.exe
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://[::]:2324
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\djpla
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://127.0.0.1:2324/Status
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
      CORS policy execution successful.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 4226.365ms 101
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://127.0.0.1:2324/Status
info: Microsoft.AspNetCore.Cors.Infrastructure.CorsService[4]
      CORS policy execution successful.
LastUpdated: 5:21:16 PM
User fetched: XXXXXX (116374398235181058)
9e975e5a-57db-456d-8b33-bc3f26bd10ae - Set activity result: Ok
Fetched Image, processing..
Unhandled exception. System.ArgumentOutOfRangeException: Value 6400 must be greater than or equal to 16384. (Parameter 'data')
   at SixLabors.Guard.ThrowArgumentOutOfRangeException(String parameterName, String message)
   at SixLabors.ImageSharp.Image.LoadPixelData[TPixel](Configuration config, ReadOnlySpan`1 data, Int32 width, Int32 height)
   at SixLabors.ImageSharp.Image.LoadPixelData[TPixel](Configuration config, Byte[] data, Int32 width, Int32 height)
   at RichPresenceApi.MessageHandlers.ModuleLaunchedMessageHandler.<>c__DisplayClass2_1.<<OnMessage>b__2>d.MoveNext() in D:\Programming\Git\FoundryVTT-Discord-Rich-Presence\LocalApi\RichPresenceApi\MessageHandlers\ModuleLaunchedMessageHandler.cs:line 40
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()