Hello,
I've been trying to consume a Feature Service endpoint that was recently generated but I always get the following message at Qt Creator:
Exception at 0x7ffe0b0fa839, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in runtimecore!RT_UtilityTraversability_fromJSON
The map loads but not the Feature Service Layer.
With other urls the service works as intended, which makes me think that something might be wrong with my Feature Server but I have no clue what since this error message is very generic.
Here's how I'm trying to just load it, I got it straight from the example:
I do have a more complex application but right now I only want to display this feature layer to check its availability.
FeatureLayer {id: featureLayerServiceFeatureTable {id: featureTableurl: "featureServiceURL"}
}
onLoadStatusChanged: {if (loadStatus === Enums.LoadStatusLoaded) {mapView.setViewpoint(viewPoint);}
}
}
// initial viewpointViewpointCenter {id: viewPointPoint {x: -42.97y: 21.1spatialReference: SpatialReference {wkid: 4674}
}
targetScale: 3e7}
We use a hosted ArcGis Server in one of our servers.
Thanks\!
Solved! Go to Solution.
I've figured it out.
The problem is our server load, it was very unstable and hitting 100% CPU load very quickly. We're working on it to lower it's demand, there's a lot of unneeded stuff on it.
Thank you for your help!
How is your feature service URL formatted? In the above snippet you have a text string for your URL property. Make sure you specify the layer in the service URL
For example, you should use http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0 and not http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer
I just didn't want to post my actual url since it's a server you can't access. But here's how it's formatted:
That's odd, this should work. Does the rest of your code look similar to this code sample? arcgis-runtime-samples-qt/FeatureLayer_FeatureService.qml at master · Esri/arcgis-runtime-samples-qt...
Is your service secured?
Right now it's the same code, I've only changed the url and Viewpoint parameters.
I don't know if the service itself is secured but I can acess it's url just fine and see it on the online map.
A http version of the service was published and now we're getting an additional error:
Exception at 0x7ffe0b0fa839, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in runtimecore!ESRI_CopyProtect_GetInstallDir
Lucas Danzinger, do you have any idea of what this means?
Not sure what is going on. Are you able to share your service (or a similar test service) with me? You can direct message me.
I've figured it out.
The problem is our server load, it was very unstable and hitting 100% CPU load very quickly. We're working on it to lower it's demand, there's a lot of unneeded stuff on it.
Thank you for your help!