Message
[weapon_value.go:20] stack:
goroutine 8048058 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
cbg-item/internal/apps/value.(*HttpServer).GetWeaponValue.func1()
/root/sources/cbg-item/internal/apps/value/weapon_value.go:20 +0x9a
panic({0x11e3820?, 0xc00340e7e0?})
/usr/local/go/src/runtime/panic.go:785 +0x132
cbg-item/internal/apps/value/weapon.(*WeaponValue).getWeaponValueItemsFromTables(0xc003da1500?, 0x1316b78?, {0xc0041c2b00, 0x15d}, 0x5?, 0xc002de34b8?)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:179 +0x447
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValueWithItems(0xc005caa0c0, 0xc003c08b40, 0x1, 0x1, 0x0)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:138 +0x3db
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetLocalTradeItems(0xc005caa0c0, 0x7f508a8f6108?)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:58 +0x39
cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc003cbfdd0, {0x21688a0, 0xc005caa0c0}, 0xc002de36d0?)
/root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:20 +0x36
cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc002de37a8, 0x0)
/root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:29 +0x79
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValue(0xc005caa0c0)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:249 +0x83b
cbg-item/internal/apps/value.(*HttpServer).GetWeaponValue(0x1346bc1?, 0xc003afab00)
/root/sources/cbg-item/internal/apps/value/weapon_value.go:55 +0x30b
github.com/gin-gonic/gin.(*Context).Next(0xc003afab00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.Cors.func2(0xc003afab00)
/root/sources/cbg-item/internal/utils/cors.go:14 +0xa5
github.com/gin-gonic/gin.(*Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc003afab00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(0xc003afab00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func1(0xc003afab00)
/root/sources/cbg-item/internal/apps/value/http_server.go:284 +0xa9
github.com/gin-gonic/gin.(*Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc002ec0340, 0xc003afab00)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc002ec0340, {0x215f7a0, 0xc0027f9ce0}, 0xc00446e500)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2
net/http.serverHandler.ServeHTTP({0x215bf80?}, {0x215f7a0?, 0xc0027f9ce0?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc002147320, {0x2161fe8, 0xc0029329c0})
/usr/local/go/src/net/http/server.go:2092 +0x5d0
created by net/http.(*Server).Serve in goroutine 1
/usr/local/go/src/net/http/server.go:3360 +0x485