BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

V1.6版本经常提示:[E] [document.go:364] panic: runtime error: invalid memory address or nil pointer dereference

Open aizaimenghuangu opened this issue 6 years ago • 0 comments

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 BookStack? 1.6

  2. 你当前使用的是什么操作系统? Mac

  3. 你是如何操作的? 点击首页或者其他页面

  4. 你期望得到什么结果? 正常访问

  5. 当前遇到的是什么结果? 出现以下错误: 2019/04/13 18:56:17 [E] [document.go:364] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1702e39]

goroutine 2449 [running]: github.com/TruthHun/BookStack/controllers.(*BookController).SaveBook.func1(0xc42f024340, 0x0, 0x0) /Users/TruthHun/goworkspace/src/github.com/TruthHun/BookStack/controllers/BookController.go:257 +0x129 created by github.com/TruthHun/BookStack/controllers.(*BookController).SaveBook /Users/TruthHun/goworkspace/src/github.com/TruthHun/BookStack/controllers/BookController.go:245 +0x7b4

aizaimenghuangu avatar Apr 15 '19 14:04 aizaimenghuangu