Open dmoons opened 4 years ago
With edgex release 'edinburgh', after the click of device control button/icon, the app crashed.
2019/12/17 06:17:46 [Recovery] 2019/12/17 - 06:17:46 panic recovered: POST /api HTTP/1.1 Host: 192.168.10.142:8080 Accept: / Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,es;q=0.7 Connection: keep-alive Content-Length: 210 Content-Type: application/transit+json Cookie: _ga=GA1.1.1993478011.1575869381; portainer.datatable_text_filter_home_endpoints=; portainer.datatable_settings_containers=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%2C%22truncateContainerName%22%3Atrue%2C%22containerNameTruncateSize%22%3A32%2C%22showQuickActionStats%22%3Atrue%2C%22showQuickActionLogs%22%3Atrue%2C%22showQuickActionExec%22%3Atrue%2C%22showQuickActionInspect%22%3Atrue%2C%22showQuickActionAttach%22%3Afalse%7D; portainer.datatable_pagination_containers=50; portainer.datatable_settings_container-networks=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; portainer.datatable_settings_stacks=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; portainer.datatable_settings_stack-containers=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%2C%22truncateContainerName%22%3Atrue%2C%22containerNameTruncateSize%22%3A32%2C%22showQuickActionStats%22%3Atrue%2C%22showQuickActionLogs%22%3Atrue%2C%22showQuickActionExec%22%3Atrue%2C%22showQuickActionInspect%22%3Atrue%2C%22showQuickActionAttach%22%3Afalse%7D; portainer.datatable_settings_images=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; portainer.datatable_pagination_images=25; portainer.datatable_settings_networks=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; _gid=GA1.1.15993060.1576482878; portainer.UI_STATE=%7B%22dismissedInfoPanels%22%3A%7B%7D%2C%22dismissedInfoHash%22%3A%221BLEV30PhrfNU0VIokaXGA%3D%3D%22%7D; portainer.LOGIN_STATE_UUID=ca0d54f3-30f2-4f80-96e6-1368df2f4ccb; portainer.datatable_pagination_stack-containers=50; EDGEX_SESSION_ID=cfee129d-2093-11ea-8cca-0242ac150010 Dnt: 1 Origin: http://192.168.10.142:8080 Referer: http://192.168.10.142:8080/command User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36
interface conversion: interface {} is nil, not transit.Keyword /usr/local/go/src/runtime/panic.go:502 (0x428e98) /usr/local/go/src/runtime/iface.go:252 (0x40d8c8) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/utils.go:115 (0x8bff03) /go/src/github.com/edgexfoundry/go-ui-server/internal/edgex/services.go:324 (0x8bff03) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/server.go:43 (0x8b2f96) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/server.go:68 (0x8b326f) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/server.go:163 (0x8b5e58) /go/src/github.com/gin-gonic/gin/context.go:147 (0x88a669) /go/src/github.com/gin-gonic/gin/recovery.go:83 (0x89d5e9) /go/src/github.com/gin-gonic/gin/context.go:147 (0x88a669) /go/src/github.com/gin-gonic/gin/logger.go:240 (0x89c8a0) /go/src/github.com/gin-gonic/gin/context.go:147 (0x88a669) /go/src/github.com/gin-gonic/gin/gin.go:391 (0x893a04) /go/src/github.com/gin-gonic/gin/gin.go:352 (0x893141) /usr/local/go/src/net/http/server.go:2697 (0x6777db) /usr/local/go/src/net/http/server.go:1830 (0x673910) /usr/local/go/src/runtime/asm_amd64.s:2361 (0x455080)
Could you please provide the recreate steps? Thanks.
With edgex release 'edinburgh', after the click of device control button/icon, the app crashed.
2019/12/17 06:17:46 [Recovery] 2019/12/17 - 06:17:46 panic recovered: POST /api HTTP/1.1 Host: 192.168.10.142:8080 Accept: / Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,es;q=0.7 Connection: keep-alive Content-Length: 210 Content-Type: application/transit+json Cookie: _ga=GA1.1.1993478011.1575869381; portainer.datatable_text_filter_home_endpoints=; portainer.datatable_settings_containers=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%2C%22truncateContainerName%22%3Atrue%2C%22containerNameTruncateSize%22%3A32%2C%22showQuickActionStats%22%3Atrue%2C%22showQuickActionLogs%22%3Atrue%2C%22showQuickActionExec%22%3Atrue%2C%22showQuickActionInspect%22%3Atrue%2C%22showQuickActionAttach%22%3Afalse%7D; portainer.datatable_pagination_containers=50; portainer.datatable_settings_container-networks=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; portainer.datatable_settings_stacks=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; portainer.datatable_settings_stack-containers=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%2C%22truncateContainerName%22%3Atrue%2C%22containerNameTruncateSize%22%3A32%2C%22showQuickActionStats%22%3Atrue%2C%22showQuickActionLogs%22%3Atrue%2C%22showQuickActionExec%22%3Atrue%2C%22showQuickActionInspect%22%3Atrue%2C%22showQuickActionAttach%22%3Afalse%7D; portainer.datatable_settings_images=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; portainer.datatable_pagination_images=25; portainer.datatable_settings_networks=%7B%22open%22%3Afalse%2C%22repeater%22%3A%7B%22autoRefresh%22%3Afalse%2C%22refreshRate%22%3A%2230%22%7D%7D; _gid=GA1.1.15993060.1576482878; portainer.UI_STATE=%7B%22dismissedInfoPanels%22%3A%7B%7D%2C%22dismissedInfoHash%22%3A%221BLEV30PhrfNU0VIokaXGA%3D%3D%22%7D; portainer.LOGIN_STATE_UUID=ca0d54f3-30f2-4f80-96e6-1368df2f4ccb; portainer.datatable_pagination_stack-containers=50; EDGEX_SESSION_ID=cfee129d-2093-11ea-8cca-0242ac150010 Dnt: 1 Origin: http://192.168.10.142:8080 Referer: http://192.168.10.142:8080/command User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36
interface conversion: interface {} is nil, not transit.Keyword /usr/local/go/src/runtime/panic.go:502 (0x428e98) /usr/local/go/src/runtime/iface.go:252 (0x40d8c8) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/utils.go:115 (0x8bff03) /go/src/github.com/edgexfoundry/go-ui-server/internal/edgex/services.go:324 (0x8bff03) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/server.go:43 (0x8b2f96) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/server.go:68 (0x8b326f) /go/src/github.com/edgexfoundry/go-ui-server/internal/fulcro/server.go:163 (0x8b5e58) /go/src/github.com/gin-gonic/gin/context.go:147 (0x88a669) /go/src/github.com/gin-gonic/gin/recovery.go:83 (0x89d5e9) /go/src/github.com/gin-gonic/gin/context.go:147 (0x88a669) /go/src/github.com/gin-gonic/gin/logger.go:240 (0x89c8a0) /go/src/github.com/gin-gonic/gin/context.go:147 (0x88a669) /go/src/github.com/gin-gonic/gin/gin.go:391 (0x893a04) /go/src/github.com/gin-gonic/gin/gin.go:352 (0x893141) /usr/local/go/src/net/http/server.go:2697 (0x6777db) /usr/local/go/src/net/http/server.go:1830 (0x673910) /usr/local/go/src/runtime/asm_amd64.s:2361 (0x455080)