getgauge/html-report

Exception when running a data table driven spec

Closed this issue · 1 comments

SPECIFICATION

Specification Heading1
=====================
	|word|
	|----|
	|a|
Vowel counts in single word1
---------------------------
* The word <word> has "3" vowels1.

COMMAND

gauge run specs/example.spec:6

STACKTRACE

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

goroutine 1 [running]:
github.com/getgauge/html-report/generator.computeTableDrivenStatuses(0xc42009b9e0)
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/generator/transform.go:360 +0x2d
github.com/getgauge/html-report/generator.toSpec(0xc420184460, 0x0)
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/generator/transform.go:312 +0x107e
github.com/getgauge/html-report/generator.ToSuiteResult(0xc42000c0e4, 0x1c, 0xc4201083f0, 0x30)
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/generator/transform.go:59 +0x3ea
main.createReport(0xc42000e2c8)
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/htmlReport.go:84 +0xb0
github.com/getgauge/html-report/listener.(*GaugeListener).processMessages(0xc420160240, 0xc42015d880)
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/listener/gaugeListener.go:80 +0x211
github.com/getgauge/html-report/listener.(*GaugeListener).Start(0xc420160240)
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/listener/gaugeListener.go:60 +0xf3
main.createExecutionReport()
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/htmlReport.go:75 +0xe5
main.main()
	/Users/gopher/Documents/go/src/github.com/getgauge/html-report/main.go:57 +0x2f1

Gauge and HTML Report built from src.

This issue was moved to getgauge/gauge#801