Issue with cbexport : panic assessment to nil map

When i am trying to do cbexport with a certain bucket i am getting the following error:

panic: assignment to entry in nil map

However when i change the bucket it’s working. What could be the issue. This is the command i am using:

./cbexport json -c couchbase://127.0.0.1 -u Administrator -p password -b bucket_1 -o /backup/list.json -f list --scope-field scope --collection-field collection

1 Like

You might be hitting a known issue here: Jira. In your list of documents do you have a null document? If so you can remove it and it should work.

If not please pass -v and attach the logs here