Skip to content

Instantly share code, notes, and snippets.

@alternayte
Created June 24, 2023 12:11
Show Gist options
  • Select an option

  • Save alternayte/d4f0cc48e0699bc73512cdd97df1ded8 to your computer and use it in GitHub Desktop.

Select an option

Save alternayte/d4f0cc48e0699bc73512cdd97df1ded8 to your computer and use it in GitHub Desktop.
2023/06/24 14:07:41 illegal base64 data at input byte 3
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x38 pc=0x100c22ac0]
goroutine 1 [running]:
google.golang.org/protobuf/proto.UnmarshalOptions.unmarshalMessageSlow({{}, 0x1, 0x1, 0x0, {0x10108bb38, 0x1400009a180}, 0x270f}, {0x140002e8290, 0x10, 0x10}, ...)
/Users/alter-nate/go/pkg/mod/google.golang.org/protobuf@v1.28.1/proto/decode.go:132 +0x90
google.golang.org/protobuf/proto.UnmarshalOptions.unmarshal({{}, 0x1, 0x1, 0x0, {0x10108bb38, 0x1400009a180}, 0x270f}, {0x140002e8290, 0x10, 0x10}, ...)
/Users/alter-nate/go/pkg/mod/google.golang.org/protobuf@v1.28.1/proto/decode.go:111 +0x228
google.golang.org/protobuf/proto.Unmarshal({0x140002e8290, 0x10, 0x10}, {0x10108a348?, 0x140001d1540?})
/Users/alter-nate/go/pkg/mod/google.golang.org/protobuf@v1.28.1/proto/decode.go:55 +0xac
github.com/memphisdev/memphis%2ego.(*schemaDetails).validateProtoMsg(0x140002adb60, {0x1010537e0?, 0x1400027cb90})
/Users/alter-nate/go/pkg/mod/github.com/memphisdev/memphis.go@v1.0.2/station.go:528 +0x320
github.com/memphisdev/memphis%2ego.(*schemaDetails).validateMsg(0x0?, {0x1010537e0?, 0x1400027cb90?})
/Users/alter-nate/go/pkg/mod/github.com/memphisdev/memphis.go@v1.0.2/station.go:486 +0xc8
github.com/memphisdev/memphis%2ego.(*Producer).validateMsg(0x140001d13c0, {0x1010537e0, 0x1400027cb90}, 0x13?)
/Users/alter-nate/go/pkg/mod/github.com/memphisdev/memphis.go@v1.0.2/producer.go:479 +0x364
github.com/memphisdev/memphis%2ego.(*ProduceOpts).produce(0x140002b6990, 0x140001d13c0)
/Users/alter-nate/go/pkg/mod/github.com/memphisdev/memphis.go@v1.0.2/producer.go:355 +0x174
github.com/memphisdev/memphis%2ego.(*Producer).Produce(0x140002adeb8?, {0x1010537e0?, 0x1400027cb90}, {0x140002adec8, 0x1, 0x0?})
/Users/alter-nate/go/pkg/mod/github.com/memphisdev/memphis.go@v1.0.2/producer.go:326 +0x144
main.main()
/Users/alter-nate/Development/memphis-demo/producer.go:39 +0x280
exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment