Hi Guys,
I had a dmctop session running over night and when I checked that session this morning I was greeted by:
[dsmtest@csndsmt ~]$ dmctop -d dsmtrepo -i 5
Connecting to DB dsmtrepo
By default secured connection (SSL) is used. For non-SSL connection use option -insecure.
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x627d5a]
goroutine 1 [running]:
github.com/rivo/tview.(*Application).Run.func1(0xc00016eb80)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/application.go:149 +0x82
panic(0x7627e0, 0xc5ac50)
/home/jenkins/tools/org.jenkinsci.plugins.golang.GolangInstallation/1.13/src/runtime/panic.go:679 +0x1b2
github.com/rivo/tview.(*Table).Draw.func1(...)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/table.go:563
github.com/rivo/tview.(*Table).Draw(0xc0000a4d20, 0x85bd40, 0xc000276000)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/table.go:788 +0x10ba
github.com/rivo/tview.(*Grid).Draw(0xc0001bc000, 0x85bd40, 0xc000276000)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/grid.go:662 +0x12bf
github.com/rivo/tview.(*Grid).Draw(0xc0001bc360, 0x85bd40, 0xc000276000)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/grid.go:662 +0x12bf
github.com/rivo/tview.(*Pages).Draw(0xc00015b7d0, 0x85bd40, 0xc000276000)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/pages.go:278 +0xa8
github.com/rivo/tview.(*Application).draw(0xc00016eb80, 0x0)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/application.go:363 +0xff
github.com/rivo/tview.(*Application).QueueUpdateDraw.func1()
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/application.go:494 +0x3d
github.com/rivo/tview.(*Application).Run(0xc00016eb80, 0x0, 0x0)
/home/jenkins/workspace/dmctop_master/go/pkg/mod/github.com/rivo/
tview@v0.0.0-20191018125527-685bf6da76c2/application.go:253 +0x615
dmctop/src/view.(*LayoutElements).Run(0xc000186640)
/home/jenkins/workspace/dmctop_master/go/src/dmctop/src/view/layout_object_init.go:159 +0x86
dmctop/src/view.Init(0x5)
/home/jenkins/workspace/dmctop_master/go/src/dmctop/src/view/view_init.go:28 +0xa3
main.main()
/home/jenkins/workspace/dmctop_master/go/src/dmctop/src/cmd/dmctop/main.go:50 +0x665
This was running on Red Hat Enterprise Linux Server release 7.4
Best regards
Sven
------------------------------
Sven Heidorn
------------------------------
#Db2