I'm trying to queryExtent with a layer view. Instead of getting the extent, I got a strange exception:

The code is very simple:
function executeQuery(lyrView) {
console.log("Querying extent begin");
lyrView.queryExtent()
.then(function(result){ console.log(result); })
.catch(function(e){ console.error(e); });
console.log("Querying extent end");
}
Here is an running example: FeatureLayer LayerView QueryExtent
It seems that this issue only happenes on point-based feature layers. lyrView.queryExtent works as expected on polygon feature layers. Maybe it's a bug?