ITADN

creating contests broken, lol

#1005Closedmaks2011-2017 创建于 2026-01-23
bug
M
maks2011-2017commented
``` [01/23/26 10:12:44] [Error] [Request] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Nullable object must have a value. at System.Nullable`1.get_Value() at Refresh.Interfaces.APIv3.Endpoints.Admin.AdminContestApiEndpoints.CreateContest(RequestContext context, GameDatabaseContext database, ApiContestRequest body, String id, DataContext dataContext) in /home/runner/work/Refresh/Refresh/Refresh.Interfaces.APIv3/Endpoints/Admin/AdminContestApiEndpoints.cs:line 39 at InvokeStub_AdminContestApiEndpoints.CreateContest(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) --- End of inner exception stack trace --- at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Bunkum.Core.Endpoints.Middlewares.MainMiddleware.InvokeEndpointByRequest(ListenerContext context, Lazy`1 database) at Bunkum.Core.Endpoints.Middlewares.MainMiddleware.HandleRequest(ListenerContext context, Lazy`1 database, Action next) at Refresh.GameServer.Middlewares.DeflateMiddleware.HandleRequest(ListenerContext context, Lazy`1 database, Action next) in /home/runner/work/Refresh/Refresh/Refresh.GameServer/Middlewares/DeflateMiddleware.cs:line 26 at Refresh.GameServer.Middlewares.LegacyAdapterMiddleware.HandleRequest(ListenerContext context, Lazy`1 database, Action next) in /home/runner/work/Refresh/Refresh/Refresh.GameServer/Middlewares/LegacyAdapterMiddleware.cs:line 17 at Refresh.GameServer.Middlewares.DigestMiddleware.HandleRequest(ListenerContext context, Lazy`1 database, Action next) in /home/runner/work/Refresh/Refresh/Refresh.GameServer/Middlewares/DigestMiddleware.cs:line 76 at Refresh.Core.Metrics.RequestStatisticTrackingMiddleware.HandleRequest(ListenerContext context, Lazy`1 database, Action next) in /home/runner/work/Refresh/Refresh/Refresh.Core/Metrics/RequestStatisticTrackingMiddleware.cs:line 25 at Bunkum.Core.BunkumServer.HandleRequest(ListenerContext context, Lazy`1 database) [01/23/26 10:12:44] [Info] [Request] Served request to 94.247.63.199:54384: 500 InternalServerError on POST '/api/v3/admin/contests/' (6ms) [01/23/26 10:12:44] [Info] [Request] Served request to 94.247.63.199:54390: 404 NotFound on GET '/api/v3/contests/' (4ms) ```
关闭于 2026-02-07 8 条评论