<?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: Error when pushing Blob to Feature service in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-when-pushing-blob-to-feature-service/m-p/71150#M519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will research this and get back to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 15:04:45 GMT</pubDate>
    <dc:creator>AlexanderNohe1</dc:creator>
    <dc:date>2017-09-13T15:04:45Z</dc:date>
    <item>
      <title>Error when pushing Blob to Feature service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-when-pushing-blob-to-feature-service/m-p/71149#M518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a Feature&amp;nbsp;with an esriFieldTypeBlob but it crashes with an UnsupportedOperationException.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;value of the attribute is a byte array.&lt;/P&gt;&lt;P&gt;The FeatureLayer is a Feature service with the edition and addition enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Map&amp;lt;String, Object&amp;gt; attributesMap = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;HashMap&amp;lt;&amp;gt;();
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;for &lt;/SPAN&gt;(Attribute attribute : &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;attributeListAdapter&lt;/SPAN&gt;.getAllAttribute()) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; attributesMap.put(attribute.getName(), attribute.getValue());
}
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;final &lt;/SPAN&gt;FeatureTable featureTable = featureLayer.getFeatureTable();

//the createFeature cause the exception
feature = featureTable.createFeature(attributesMap, sketch.getGeometry());


FATAL EXCEPTION: main Process: com.cgi.cgis, PID: 20311 
java.lang.UnsupportedOperationException: Conversion to CoreElement not implemented: class [B
 at com.esri.arcgisruntime.internal.n.g.a(SourceFile:528)
 at com.esri.arcgisruntime.internal.n.k$b.a(SourceFile:452)
 at com.esri.arcgisruntime.internal.n.k$b.add(SourceFile:399)
 at com.esri.arcgisruntime.internal.n.g.a(SourceFile:762)
 at com.esri.arcgisruntime.data.FeatureTable.createFeature(SourceFile:535)
 at com.cgi.cgis.core.edition.manager.EditionManager.createFeature(EditionManager.java:321)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put anything else in this attribute, I get a mismatch error, and if I put null, the creation runs fine and I can push it to the service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:44:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-when-pushing-blob-to-feature-service/m-p/71149#M518</guid>
      <dc:creator>FrancisGagne</dc:creator>
      <dc:date>2021-12-10T22:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error when pushing Blob to Feature service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-when-pushing-blob-to-feature-service/m-p/71150#M519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will research this and get back to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/error-when-pushing-blob-to-feature-service/m-p/71150#M519</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-09-13T15:04:45Z</dc:date>
    </item>
  </channel>
</rss>

