求助关于个人开的hydro的bug
  • 板块灌水区
  • 楼主w1010t
  • 当前回复0
  • 已保存回复0
  • 发布时间2022/11/27 14:13
  • 上次更新2023/10/27 01:13:40
查看原帖
求助关于个人开的hydro的bug
507521
w1010t楼主2022/11/27 14:13

检查更新之后出现

#include <string.h>
int main() {
  char answer[42];
  strcpy(answer, "undefined will tell you the answer to life the universe and everything,");
  strcpy(answer, "but first of all, she is very sorry that Hydro meets some issues now.");
  strcpy(answer, "please wait patiently, or contact undefined impatiently about this error.");
  return 0;
}
/*
Cannot read properties of null (reading 'owner')
TypeError: Cannot read properties of null (reading 'owner')
    at User.own (hydrooj/src/model/user.ts:119:19)
    at Function.canViewBy (hydrooj/src/model/problem.ts:377:18)
    at RecordDetailHandler.get (hydrooj/src/handler/record.ts:174:29)
    at handle (hydrooj/src/service/server.ts:272:63)
    at user_default (hydrooj/src/service/layers/user.ts:28:5)
    at hydrooj/src/service/layers/response.ts:17:9
    at hydrooj/src/service/layers/renderer.ts:81:5
    at base_default (hydrooj/src/service/layers/base.ts:75:5)
    at domain_default (hydrooj/src/service/layers/domain.ts:32:5)
    at hydrooj/src/service/server.ts:492:34
    at koa-static-cache/index.js:53:36 [+1]
    at compressMiddleware (koa-compress/lib/index.js:52:5)
    at hydrooj/src/service/server.ts:459:50
*/

的字样,是怎么肥四

2022/11/27 14:13
加载中...