Advertisement
Guest User

Untitled

a guest
Dec 11th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. {"time":"2018-12-11T22:20:32.473099+07:00","level":"-","prefix":"echo","file":"recover.go","line":"73","message":"[PANIC RECOVER] interface conversion: interface {} is nil, not string goroutine 24 [running]:
  2. github.com/labstack/echo/middleware.RecoverWithConfig.func1.1.1(0x19354f0, 0x1000, 0xc000060000, 0x1a1d740, 0xc00015e150)
  3.  
  4. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/recover.go:71 +0xf8
  5. panic(0x1812120, 0xc0002ced20)
  6. /usr/local/Cellar/go/1.11/libexec/src/runtime/panic.go:513 +0x1b9
  7. bitbucket.org/buuuksg/wearnes-valuation-api/internal/platform/postgres.(*CarDB).List(0xc0003a4080, 0xc000250e10, 0xc0002cec30, 0x1794520, 0xc0002ef550, 0xc0002cec60, 0xc00013e168, 0x0, 0xc000647680)
  8. /src/bitbucket.org/buuuksg/wearnes-valuation-api/internal/platform/postgres/car.go:29 +0x3d3
  9. bitbucket.org/buuuksg/wearnes-valuation-api/internal/calculator.(*Service).CalculateValueCar(0xc000177450, 0x1a1d740, 0xc00015e150, 0x0, 0x0, 0x1d164a00, 0xed1c09649, 0x0, 0x4044000000000000, 0x409f400000000000, ...)
  10. /src/bitbucket.org/buuuksg/wearnes-valuation-api/internal/calculator/calculator.go:57 +0x2b8
  11. bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service.(*Calculator).calculate(0xc0000b46b8, 0x1a1d740, 0xc00015e150, 0x190b7a9, 0xd)
  12. /src/bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service/calculator.go:54 +0x18e
  13. bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service.(*Calculator).calculate-fm(0x1a1d740, 0xc00015e150, 0x10, 0x0)
  14. /src/bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/service/calculator.go:46 +0x3e
  15. github.com/labstack/echo.(*Echo).Add.func1(0x1a1d740, 0xc00015e150, 0x0, 0x18b9e60)
  16. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:480 +0x8a
  17. github.com/labstack/echo.WrapMiddleware.func1.1.1(0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
  18. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:718 +0x79
  19. net/http.HandlerFunc.ServeHTTP(0xc0002ce360, 0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
  20. /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:1964 +0x44
  21. github.com/unrolled/secure.(*Secure).Handler.func1(0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
  22. /pkg/mod/github.com/unrolled/secure@v0.0.0-20181022170031-4b6b7cf51606/secure.go:144 +0xa2
  23. net/http.HandlerFunc.ServeHTTP(0xc0001a80c0, 0x1a11ba0, 0xc0001a0060, 0xc0001cc000)
  24. /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:1964 +0x44
  25. github.com/labstack/echo.WrapMiddleware.func1.1(0x1a1d740, 0xc00015e150, 0x1d, 0x190c2b7)
  26. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:719 +0x137
  27. github.com/labstack/echo/middleware.CORSWithConfig.func1.1(0x1a1d740, 0xc00015e150, 0x19354f0, 0x1000)
  28. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/cors.go:117 +0x2df
  29. github.com/labstack/echo/middleware.RecoverWithConfig.func1.1(0x1a1d740, 0xc00015e150, 0x0, 0x0)
  30. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/recover.go:78 +0xd8
  31. github.com/labstack/echo/middleware.LoggerWithConfig.func2.1(0x1a1d740, 0xc00015e150, 0x4, 0xc0001eda45)
  32. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/middleware/logger.go:118 +0x1c3
  33. github.com/labstack/echo.(*Echo).ServeHTTP(0xc000376000, 0x1a11f60, 0xc0002ae000, 0xc0001cc000)
  34. /pkg/mod/github.com/labstack/echo@v0.0.0-20180911044237-1abaa3049251/echo.go:583 +0x220
  35. net/http.serverHandler.ServeHTTP(0xc00024d930, 0x1a11f60, 0xc0002ae000, 0xc0001cc000)
  36. /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:2741 +0xab
  37. net/http.(*conn).serve(0xc00013e000, 0x1a124a0, 0xc00033e040)
  38. /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:1847 +0x646
  39. created by net/http.(*Server).Serve
  40. /usr/local/Cellar/go/1.11/libexec/src/net/http/server.go:2851 +0x2f5
  41.  
  42. goroutine 1 [chan receive]:
  43. bitbucket.org/buuuksg/wearnes-valuation-api/cmd/api/server.Start(0xc000376000, 0xc00024e8f0)
  44. /src/bitbucket.or
  45. "}
  46. {"time":"2018-12-11T22:20:32.474037+07:00","level":"ERROR","prefix":"echo","file":"error.go","line":"83","message":"interface conversion: interface {} is nil, not string"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement