Tokenizer panics (type error)

Hi
we meet another new one error.

panic: interface conversion: interface {} is string, not int64

goroutine 834 [running]:
github.com/dgraph-io/dgraph/tok.IntTokenizer.Tokens(...)
      /home/brain/go/src/github.com/dgraph-io/dgraph/tok/tok.go:194
github.com/dgraph-io/dgraph/tok.BuildTokens(0x1a0e2e0, 0xc00072ec80, 0x1ed0140, 0x2ecb2a8, 0x1ed0140, 0x2ecb2a8, 0xc00072ec80, 0x0, 0x0)
      /home/brain/go/src/github.com/dgraph-io/dgraph/tok/tok.go:108 +0x63
github.com/dgraph-io/dgraph/worker.generateTokenKeys(0xc007486000, 0xc00072ec60, 0x1, 0x1, 0x2, 0xc00072ec00, 0x1, 0x1, 0xc00064ec00)
      /home/brain/go/src/github.com/dgraph-io/dgraph/worker/executor.go:83 +0x225
github.com/dgraph-io/dgraph/worker.generateConflictKeys(0x1ec7d20, 0xc000046070, 0xc01fafdb00, 0x0)
      /home/brain/go/src/github.com/dgraph-io/dgraph/worker/executor.go:120 +0x46b
github.com/dgraph-io/dgraph/worker.(*executor).processMutationCh(0xc000409400, 0x1ec7d20, 0xc000046070, 0xc01a6ae0c0)
      /home/brain/go/src/github.com/dgraph-io/dgraph/worker/executor.go:221 +0x41f
created by github.com/dgraph-io/dgraph/worker.(*executor).getChannel
      /home/brain/go/src/github.com/dgraph-io/dgraph/worker/executor.go:276 +0x130

I think it’s something related to index.

Hey @BlankRain Can you please put this on a new post?

I will assume the original issue is fixed, as of now. Please write back here if you still face invalid memory issue.

I moved this to a new topic. @BlankRain could you please share what happened>

Hey chewxy,
sorry for late, we are in national holiday.

The same steps as Invalid memory address or nil pointer dereference error

we do delete actions in upsert block.
First , we meet the nil pointer error. with the fix https://github.com/dgraph-io/dgraph/pull/6560,
we got this error instead of the previous one.