<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invalid JSON message in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225933#M1132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've figured it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2020 12:15:22 GMT</pubDate>
    <dc:creator>ViníciusCosta</dc:creator>
    <dc:date>2020-02-11T12:15:22Z</dc:date>
    <item>
      <title>Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225926#M1125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've been trying to consume a Feature Service endpoint that was recently generated but I always get the following message at Qt Creator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Exception at 0x7ffe0b0fa839, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in runtimecore!RT_UtilityTraversability_fromJSON&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The map loads but not the Feature Service Layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's how I'm trying to just load it, I got it straight from the example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a more complex application but right now I only want to display this feature layer to check its&amp;nbsp;availability.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;&lt;SPAN style="color: #66a334;"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;id&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9acfd6;"&gt;featureLayer&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #66a334;"&gt;ServiceFeatureTable&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;id&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9acfd6;"&gt;featureTable&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;url&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d69545;"&gt;"featureServiceURL"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;            &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;onLoadStatusChanged&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #45c6d6;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;(&lt;SPAN&gt;loadStatus&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;===&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #66a334;"&gt;Enums&lt;/SPAN&gt;.LoadStatusLoaded)&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #9acfd6;"&gt;mapView&lt;/SPAN&gt;.setViewpoint(&lt;SPAN style="color: #9acfd6;"&gt;viewPoint&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;            &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;        &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #a8abb0;"&gt;//&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a8abb0;"&gt;initial&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a8abb0;"&gt;viewpoint&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #66a334;"&gt;ViewpointCenter&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;id&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9acfd6;"&gt;viewPoint&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #66a334;"&gt;Point&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;x&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt;  &lt;/SPAN&gt;-42.97&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;y&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt;  &lt;/SPAN&gt;21.1&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;spatialReference&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #66a334;"&gt;SpatialReference&lt;/SPAN&gt;&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                    &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;wkid&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;4674&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;                &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;            &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #ff6aad;"&gt;targetScale&lt;/SPAN&gt;:&lt;SPAN style="color: #bec0c2;"&gt; &lt;/SPAN&gt;3e7&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #bec0c2;"&gt;        &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use a hosted ArcGis Server in one of our servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks\!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 20:58:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225926#M1125</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2020-02-06T20:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225927#M1126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, you should use&amp;nbsp;&lt;A class="jivelink12" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0&lt;/A&gt;&amp;nbsp;and not&amp;nbsp;&lt;A class="jivelink13" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 21:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225927#M1126</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2020-02-06T21:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225928#M1127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink1" href="https://192.168.0.204/server/rest/services/gislmdc_uff_geotecnia/gislmdc_uff_geotecnia/FeatureServer/10" title="https://192.168.0.204/server/rest/services/gislmdc_uff_geotecnia/gislmdc_uff_geotecnia/FeatureServer/10"&gt;https://192.168.0.204/server/rest/services/gislmdc_uff_geotecnia/gislmdc_uff_geotecnia/FeatureServer/10&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 12:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225928#M1127</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2020-02-07T12:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225929#M1128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's odd, this should work. Does the rest of your code look similar to this code sample?&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_QMLSamples/Features/FeatureLayer_FeatureService/FeatureLayer_FeatureService.qml" title="https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_QMLSamples/Features/FeatureLayer_FeatureService/FeatureLayer_FeatureService.qml"&gt;arcgis-runtime-samples-qt/FeatureLayer_FeatureService.qml at master · Esri/arcgis-runtime-samples-qt · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your service secured?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225929#M1128</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2020-02-07T15:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225930#M1129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right now it's the same code, I've only changed the url and Viewpoint parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 18:27:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225930#M1129</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2020-02-07T18:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225931#M1130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A http version of the service was published and now we're getting an additional error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception at 0x7ffe0b0fa839, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in runtimecore!ESRI_CopyProtect_GetInstallDir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/25477"&gt;Lucas Danzinger&lt;/A&gt;‌, do you have any idea of what this means?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 16:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225931#M1130</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2020-02-10T16:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225932#M1131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 20:40:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225932#M1131</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2020-02-10T20:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid JSON message</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225933#M1132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've figured it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 12:15:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/invalid-json-message/m-p/225933#M1132</guid>
      <dc:creator>ViníciusCosta</dc:creator>
      <dc:date>2020-02-11T12:15:22Z</dc:date>
    </item>
  </channel>
</rss>

