We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
获取云端快照一直处于转圈状态
获取云端快照一直处于转圈状态,看日志存在空指针引用,对应位置的代码的话,err变量判断有问题,没有提前报错返回,导致报空指针引用
打印出报错日志
- Version: 3.1.4 - Operating System: - Browser (if used):
/usr/local/go/src/runtime/signal_unix.go:900 (0x479f68) /go/pkg/mod/github.com/siyuan-note/dejavu@v0.0.0-20240809144146-f563b9b073de/cloud/s3.go:192 (0x1b142aa) /go/pkg/mod/github.com/siyuan-note/dejavu@v0.0.0-20240809144146-f563b9b073de/log.go:57 (0x1b25018) /go/src/github.com/siyuan-note/siyuan/kernel/model/repository.go:854 (0x1c3b48b) /go/src/github.com/siyuan-note/siyuan/kernel/api/repo.go:224 (0x1cebd89) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c59199) /go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:328 (0x1c59172) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c58d2f) /go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:249 (0x1c58d1d) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x115112a) /go/pkg/mod/github.com/gin-contrib/sessions@v1.0.1/sessions.go:54 (0x1d176a4) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c9f3a8) /go/pkg/mod/github.com/gin-contrib/gzip@v1.0.1/handler.go:60 (0x1c9f390) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1d1abda) /go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:640 (0x1d1abc8) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x115112a) /go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:622 (0x1d1ce7e) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c5952e) /go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:388 (0x1c5951a) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c5947c) /go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:365 (0x1c5924f) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c59a29) /go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:414 (0x1c597e7) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x115d1b1) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0x115cc20) /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0x115c751) /go/pkg/mod/golang.org/x/net@v0.28.0/http2/h2c/h2c.go:125 (0x114b2d2) /usr/local/go/src/net/http/server.go:3210 (0x78b14d) /usr/local/go/src/net/http/server.go:2092 (0x76a66f) /usr/local/go/src/runtime/asm_amd64.s:1700 (0x4804a0)
No response
The text was updated successfully, but these errors were encountered:
感谢反馈,稍后修复。
Sorry, something went wrong.
🐛 S3/WebDAV cannot get the list of cloud snapshots siyuan-note/siyuan…
c8e544e
…#12350
88250
No branches or pull requests
获取云端快照一直处于转圈状态
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
获取云端快照一直处于转圈状态,看日志存在空指针引用,对应位置的代码的话,err变量判断有问题,没有提前报错返回,导致报空指针引用

Expected result
打印出报错日志
Screenshot or screen recording presentation
Version environment
Log file
/usr/local/go/src/runtime/signal_unix.go:900 (0x479f68)
/go/pkg/mod/github.com/siyuan-note/dejavu@v0.0.0-20240809144146-f563b9b073de/cloud/s3.go:192 (0x1b142aa)
/go/pkg/mod/github.com/siyuan-note/dejavu@v0.0.0-20240809144146-f563b9b073de/log.go:57 (0x1b25018)
/go/src/github.com/siyuan-note/siyuan/kernel/model/repository.go:854 (0x1c3b48b)
/go/src/github.com/siyuan-note/siyuan/kernel/api/repo.go:224 (0x1cebd89)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c59199)
/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:328 (0x1c59172)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c58d2f)
/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:249 (0x1c58d1d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x115112a)
/go/pkg/mod/github.com/gin-contrib/sessions@v1.0.1/sessions.go:54 (0x1d176a4)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c9f3a8)
/go/pkg/mod/github.com/gin-contrib/gzip@v1.0.1/handler.go:60 (0x1c9f390)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1d1abda)
/go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:640 (0x1d1abc8)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x115112a)
/go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:622 (0x1d1ce7e)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c5952e)
/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:388 (0x1c5951a)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c5947c)
/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:365 (0x1c5924f)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x1c59a29)
/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:414 (0x1c597e7)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x115d1b1)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0x115cc20)
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0x115c751)
/go/pkg/mod/golang.org/x/net@v0.28.0/http2/h2c/h2c.go:125 (0x114b2d2)
/usr/local/go/src/net/http/server.go:3210 (0x78b14d)
/usr/local/go/src/net/http/server.go:2092 (0x76a66f)
/usr/local/go/src/runtime/asm_amd64.s:1700 (0x4804a0)
More information
No response
The text was updated successfully, but these errors were encountered: