Yusaku Matsuki created BEAM-11604:
-------------------------------------

             Summary: Prevent panic to run streaming_wordcap
                 Key: BEAM-11604
                 URL: https://issues.apache.org/jira/browse/BEAM-11604
             Project: Beam
          Issue Type: Bug
          Components: sdk-go
         Environment: go version go1.15.6 darwin/amd64
            Reporter: Yusaku Matsuki


I tried to the example streaming_wordcap/wordcap.go and panic occurred.

 
{code:java}
$ cd beam/sdks/go/examples/streaming_wordcap/wordcap.go
$ go run wordcap.go \
  --project=MY_PROJECT\
  --temp_location=gs://MY_BUKET/tmp\
  --staging_location=gs://MY_BUKET/binaries\
  --runner=dataflow
...
panic: runtime error: invalid memory address or nil pointer dereferencepanic: 
runtime error: invalid memory address or nil pointer dereference[signal 
SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0x15b85c3]
goroutine 1 
[running]:github.com/apache/beam/sdks/go/pkg/beam/core/runtime/graphx.(*marshaller).addMultiEdge(0xc00079ba10,
 0x1d16d9d, 0x8, 0xc00025a0a0, 0x2544dc0, 0xc0001f6c00, 0x2, 0x30, 0x2867560)
        
$GOPATH/pkg/mod/github.com/apache/[email protected]+incompatible/sdks/go/pkg/beam/core/runtime/graphx/translate.go:305
 +0x163
...{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to