Closed heidihoward closed 7 years ago
Test suite is currently failing due to the following:
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x4eb15b] goroutine 19 [running]: panic(0x5a6120, 0xc4200100a0) /usr/local/go/src/runtime/panic.go:500 +0x1a1 github.com/heidi-ann/ios/app.(*StateMachine).Apply(0xc4200143c0, 0x0, 0x1, 0x0, 0xc4200148a0, 0x11, 0x0, 0x0, 0x0, 0x0, ...) /home/ubuntu/go/src/github.com/heidi-ann/ios/app/app.go:32 +0x3bb github.com/heidi-ann/ios/consensus.runParticipant(0xc420017940, 0xc4200d2000, 0x0, 0x1, 0x186a0, 0x0, 0x1, 0x0, 0x1, 0x3e8, ...) /home/ubuntu/go/src/github.com/heidi-ann/ios/consensus/participant.go:69 +0x1379 github.com/heidi-ann/ios/consensus.Init(0xc4200d2000, 0x0, 0x1, 0x186a0, 0x0, 0x1, 0x0, 0x1, 0x3e8, 0x5daa3e, ...) /home/ubuntu/go/src/github.com/heidi-ann/ios/consensus/consensus.go:63 +0x575 created by main.main /home/ubuntu/go/src/github.com/heidi-ann/ios/server/server.go:77 +0xe4b
I will take a look into it now
This bug was due to a missing line in the automatically generated server configuration file. This has been fixed but i'll make a few change to ensure this gets detected at startup instead of causing a panic
Test suite is currently failing due to the following:
I will take a look into it now