Dgraph 20.03.0 live panic: interface conversion: interface {} is nil, not int64

Moved from GitHub dgraph/5386

Posted by zhaolin-st:

I was using live in Dgraph version 20.03.0, problem was same like Issue #4889


There is a "age [Int] "in the schema.

danielmai commented :

Can you share an example of the JSON and schema used for live loader?

zhaolin-st commented :

Data and schema like this

<age>: [int] @index(term) .
<name>: [string] @index(hash) .
{
    "set": [
        {
            "name": [
                "诸暨"
            ],
            "uid":  "_:abc"
            "age": [
                23
            ]
        }
      ]
}


Can you share an example of the JSON and schema used for live loader?

PabloCastellano commented :

I’ve hit the same issue with v20.03.0 but it looks like the bug is fixed in v20.03.3

I have got this error v20.03.4 using live, but guess its caused by another reason like used “start” as the predicate’s name?

Because my data could be loaded if I renamed it to “s” (Sorry for now I have no time to make an reproducable example)