HimitZH / HOJ

⚡🔥Hcode Online Judge(HOJ)🔥⚡:基于SpringCloud与Vue前后端分离,分布式架构的在线测评平台OJ (An open source online judge system base on SpringBoot, Springcloud Alibaba and Vue.js !)
https://docs.hdoi.cn
MIT License
677 stars 148 forks source link

我想把一个用户提升为管理员的时候在后台操作时候提示服务器异常 #2

Closed madhat386 closed 3 years ago

madhat386 commented 3 years ago

进docker看了下日志,提示如下信息。不知道是不是我操作不对

2021-10-05 17:16:05 [http-nio-6688-exec-3] ERROR hoj - 系统通用异常-------------->org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'null' in 'class top.hcode.hoj.pojo.entity.UserRole' at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78)

HimitZH commented 3 years ago

进docker看了下日志,提示如下信息。不知道是不是我操作不对

2021-10-05 17:16:05 [http-nio-6688-exec-3] ERROR hoj - 系统通用异常-------------->org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'null' in 'class top.hcode.hoj.pojo.entity.UserRole' at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78) 感谢你的提供,我已修复该bug, 请使用以下命令更新 docker-compose down 关闭容器 docker-compose pull 更新镜像 docker-compose up -d 启动服务

madhat386 commented 3 years ago

谢谢,我操作下试试

Himit_ZH @.***> 于2021年10月5日周二 下午6:21写道:

进docker看了下日志,提示如下信息。不知道是不是我操作不对

2021-10-05 17:16:05 [http-nio-6688-exec-3] ERROR hoj - 系统通用异常-------------->org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'null' in 'class top.hcode.hoj.pojo.entity.UserRole' at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78)

感谢你的提供,我已修复该bug, 请使用以下命令更新 docker-compose down 关闭容器 docker-compose pull 更新镜像 docker-compose up -d 启动服务

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HimitZH/HOJ/issues/2#issuecomment-934273855, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3MVRLHQALGCG5W4RCLT4DUFLGSDANCNFSM5FLJU6UA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

HimitZH commented 3 years ago

谢谢,我操作下试试 Himit_ZH @.***> 于2021年10月5日周二 下午6:21写道: 进docker看了下日志,提示如下信息。不知道是不是我操作不对 2021-10-05 17:16:05 [http-nio-6688-exec-3] ERROR hoj - 系统通用异常-------------->org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'null' in 'class top.hcode.hoj.pojo.entity.UserRole' at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78) 感谢你的提供,我已修复该bug, 请使用以下命令更新 docker-compose down 关闭容器 docker-compose pull 更新镜像 docker-compose up -d 启动服务 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3MVRLHQALGCG5W4RCLT4DUFLGSDANCNFSM5FLJU6UA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

建议参考文档进行更新:更新文档地址,或者加QQ群598587305,有如何bug或者更新问题可以直接询问