Skip to content

panic: runtime error: invalid memory address or nil pointer dereference #19

Description

@filidav

After installation and running cf top
Then selecting Cells I get this error

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x4539672]

goroutine 1 [running]:
github.com/ecsteam/cloudfoundry-top-plugin/ui/views/cellViews/cellView.(*CellListView).postProcessData(0xc000011a88, 0x1)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/ui/views/cellViews/cellView/cellListView.go:166 +0x3d2
github.com/ecsteam/cloudfoundry-top-plugin/ui/views/cellViews/cellView.(*CellListView).GetListData(0xc000011a88, 0x45ec640, 0xc000da8040, 0xc001c17810)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/ui/views/cellViews/cellView/cellListView.go:127 +0x2b
github.com/ecsteam/cloudfoundry-top-plugin/ui/uiCommon/views/dataView.(*DataListView).updateData(0xc0003ca870)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/ui/uiCommon/views/dataView/dataListView.go:225 +0x2e
github.com/ecsteam/cloudfoundry-top-plugin/ui/uiCommon/views/dataView.(*DataListView).UpdateDisplay(0xc0003ca870, 0xc0002fe120, 0x0, 0x0)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/ui/uiCommon/views/dataView/dataListView.go:211 +0x2b
github.com/ecsteam/cloudfoundry-top-plugin/ui.(*MasterUI).updateDisplay.func1(0xc0002fe120, 0xc0018278bc, 0x3)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/ui/masterUi.go:620 +0x67
github.com/jroimartin/gocui.(*Gui).consumeevents(0xc0002fe120, 0xc001827a10, 0x0)
/Users/kkellner/go_lib/src/github.com/jroimartin/gocui/gui.go:399 +0x1e8
github.com/jroimartin/gocui.(*Gui).MainLoop(0xc0002fe120, 0x4718d90, 0xc000182600)
/Users/kkellner/go_lib/src/github.com/jroimartin/gocui/gui.go:381 +0x206
github.com/ecsteam/cloudfoundry-top-plugin/ui.(*MasterUI).initGui(0xc000182600, 0x0)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/ui/masterUi.go:199 +0x70f
github.com/ecsteam/cloudfoundry-top-plugin/ui.(*MasterUI).Start(0xc000182600, 0x0)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/ui/masterUi.go:151 +0x4b
github.com/ecsteam/cloudfoundry-top-plugin/top.(*Client).Start(0xc000166400)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/top/client.go:144 +0x49a
main.(*TopCmd).Run(0xc00013a7f0, 0x47d29c0, 0xc00013a800, 0xc00009c0b0, 0x1, 0x1)
/Users/kkellner/go_lib/src/github.com/ecsteam/cloudfoundry-top-plugin/main.go:167 +0x76d
github.com/cloudfoundry/cli/plugin.Start(0x47c3860, 0xc00013a7f0)
/Users/kkellner/go_lib/src/github.com/cloudfoundry/cli/plugin/plugin_shim.go:34 +0x284

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions