Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

reflect: reflect.Value.Set using unaddressable value #26

Closed
rollbar bot opened this issue May 17, 2018 · 0 comments
Closed

reflect: reflect.Value.Set using unaddressable value #26

rollbar bot opened this issue May 17, 2018 · 0 comments
Labels
duplicate This issue or pull request already exists type:bug Something isn't working

Comments

@rollbar
Copy link

rollbar bot commented May 17, 2018

View details in Rollbar: https://rollbar.com/RTradeLtd/Temporal/items/2/

Traceback (most recent call last):
  File "/usr/local/go/src/runtime/panic.go", line 503, in runtime.gopanic
  File "/usr/local/go/src/reflect/value.go", line 234, in reflect.flag.mustBeAssignable
  File "/usr/local/go/src/reflect/value.go", line 1366, in reflect.Value.Set
  File "github.com/jinzhu/gorm/callback_query.go", line 43, in gorm.queryCallback
  File "github.com/jinzhu/gorm/scope.go", line 857, in gorm.(*Scope).callCallbacks
  File "github.com/jinzhu/gorm/main.go", line 311, in gorm.(*DB).Find
  File "github.com/RTradeLtd/Temporal/api/api.go", line 136, in api.getUploadsFromDatabase
  File "github.com/gin-gonic/gin/context.go", line 108, in gin.(*Context).Next
  File "github.com/gin-contrib/rollbar/recovey.go", line 40, in rollbar.Recovery.func1
  File "github.com/gin-gonic/gin/context.go", line 108, in gin.(*Context).Next
  File "github.com/gin-gonic/gin/recovery.go", line 48, in gin.RecoveryWithWriter.func1
  File "github.com/gin-gonic/gin/context.go", line 108, in gin.(*Context).Next
  File "github.com/gin-gonic/gin/logger.go", line 86, in gin.LoggerWithWriter.func1
  File "github.com/gin-gonic/gin/context.go", line 108, in gin.(*Context).Next
  File "github.com/gin-gonic/gin/gin.go", line 359, in gin.(*Engine).handleHTTPRequest
  File "github.com/gin-gonic/gin/gin.go", line 326, in gin.(*Engine).ServeHTTP
  File "/usr/local/go/src/net/http/server.go", line 2695, in http.serverHandler.ServeHTTP
  File "/usr/local/go/src/net/http/server.go", line 1830, in http.(*conn).serve
  File "/usr/local/go/src/runtime/asm_amd64.s", line 2362, in runtime.goexit
{40e13aa}: reflect: reflect.Value.Set using unaddressable value
@bonedaddy bonedaddy added type:bug Something isn't working duplicate This issue or pull request already exists labels May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant