# Deserializing Error for Layer Overlay

**URL:** <https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025>\
**Category:** WinForms\
**Created:** [July 9, 2012, 3:35pm UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025 "2012-07-09T15:35:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damian1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/5f9b8f/32.png) [@Damian1](https://community.thinkgeo.com/u/Damian1)\
**Post date:** [July 9, 2012, 3:35pm UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/1 "2012-07-09T15:35:31Z")

</div>

Hi,

I've&nbsp;been&nbsp;loading&nbsp;and&nbsp;saving&nbsp;serialized&nbsp;LayerOverlays&nbsp;for&nbsp;several&nbsp;months&nbsp;now&nbsp;and&nbsp;it's&nbsp;become&nbsp;clear&nbsp;in&nbsp;my&nbsp;user&nbsp;base&nbsp;that&nbsp;there&nbsp;are&nbsp;some&nbsp;seemingly&nbsp;random&nbsp;failures&nbsp;to&nbsp;deserialize&nbsp;some&nbsp;files&nbsp;even&nbsp;though&nbsp;the&nbsp;session&nbsp;they&nbsp;worked&nbsp;in&nbsp;showed&nbsp;no&nbsp;failures&nbsp;in&nbsp;the&nbsp;save&nbsp;process.

The&nbsp;error&nbsp;messages&nbsp;are&nbsp;typically&nbsp;as&nbsp;follows:

Object&nbsp;of&nbsp;type&nbsp;'ThinkGeo.MapSuite.Core.InMemoryFeatureSource'&nbsp;cannot&nbsp;be&nbsp;converted&nbsp;to&nbsp;type&nbsp;System.Collections.ObjectModel.Collection`1[ThinkGeo.MapSuite.Core.FeatureSourceColumn]'.

I&nbsp;have&nbsp;tracked&nbsp;the&nbsp;majority&nbsp;of&nbsp;errors&nbsp;to&nbsp;single&nbsp;layer&nbsp;elements&nbsp;in&nbsp;the&nbsp;serialization&nbsp;file.&nbsp;&nbsp;I&nbsp;can't&nbsp;say&nbsp;for&nbsp;certain,&nbsp;but&nbsp;I&nbsp;believe&nbsp;in&nbsp;some&nbsp;instances&nbsp;the&nbsp;hash&nbsp;codes&nbsp;are&nbsp;not&nbsp;being&nbsp;written&nbsp;correctly&nbsp;when&nbsp;I&nbsp;serialize&nbsp;the&nbsp;file&nbsp;and&nbsp;this&nbsp;is&nbsp;why&nbsp;it's&nbsp;confused&nbsp;as&nbsp;to&nbsp;converting&nbsp;the&nbsp;inherited&nbsp;member.&nbsp;&nbsp;The&nbsp;errors&nbsp;typically&nbsp;only&nbsp;occur&nbsp;in&nbsp;files&nbsp;where&nbsp;there&nbsp;are&nbsp;\>&nbsp;1000&nbsp;layer&nbsp;elements,&nbsp;so&nbsp;possibly&nbsp;some&nbsp;IO&nbsp;issues&nbsp;going&nbsp;on&nbsp;as&nbsp;well.

I&nbsp;have&nbsp;sent&nbsp;2&nbsp;example&nbsp;files&nbsp;in&nbsp;a&nbsp;zip&nbsp;file&nbsp;to&nbsp;[support@thinkgeo.com](mailto:support@thinkgeo.com)&nbsp;with&nbsp;the&nbsp;name&nbsp;of&nbsp;this&nbsp;post&nbsp;as&nbsp;the&nbsp;email&nbsp;subject.&nbsp;&nbsp;The&nbsp;two&nbsp;files&nbsp;are&nbsp;identical&nbsp;with&nbsp;the&nbsp;exception&nbsp;of&nbsp;1&nbsp;layer&nbsp;element&nbsp;named&nbsp;Rx119-2&nbsp;has&nbsp;been&nbsp;removed.&nbsp;&nbsp;With&nbsp;this&nbsp;1&nbsp;layer&nbsp;element&nbsp;removed,&nbsp;I&nbsp;can&nbsp;successfully&nbsp;read&nbsp;back&nbsp;the&nbsp;file&nbsp;and&nbsp;display&nbsp;in&nbsp;winforms&nbsp;map.

I&nbsp;have&nbsp;also&nbsp;sent&nbsp;in&nbsp;the&nbsp;same&nbsp;email&nbsp;a&nbsp;test&nbsp;project&nbsp;that&nbsp;can&nbsp;be&nbsp;used&nbsp;to&nbsp;load&nbsp;the&nbsp;two&nbsp;files&nbsp;individually&nbsp;so&nbsp;you&nbsp;can&nbsp;trigger&nbsp;the&nbsp;error&nbsp;and&nbsp;see&nbsp;how&nbsp;the&nbsp;good&nbsp;file&nbsp;displays&nbsp;properly.&nbsp;&nbsp;Since&nbsp;I&nbsp;can't&nbsp;interrogate&nbsp;the&nbsp;GeoSerializer&nbsp;class,&nbsp;I've&nbsp;no&nbsp;idea&nbsp;how&nbsp;to&nbsp;interprete&nbsp;the&nbsp;stack&nbsp;trace&nbsp;or&nbsp;even&nbsp;which&nbsp;line&nbsp;from&nbsp;the&nbsp;input&nbsp;file&nbsp;is&nbsp;causing&nbsp;the&nbsp;problem.

Please&nbsp;look&nbsp;at&nbsp;this&nbsp;as&nbsp;soon&nbsp;as&nbsp;possible.&nbsp;&nbsp;The&nbsp;failures&nbsp;in&nbsp;saving&nbsp;files&nbsp;people&nbsp;have&nbsp;spent&nbsp;a&nbsp;lot&nbsp;of&nbsp;time&nbsp;working&nbsp;on&nbsp;is&nbsp;resulting&nbsp;in&nbsp;some&nbsp;credibility&nbsp;issues.

Thanks&nbsp;and&nbsp;Regards,

Damian

&nbsp;

---

<div class="post-metadata">

**Author:** ![Damian1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/5f9b8f/32.png) [@Damian1](https://community.thinkgeo.com/u/Damian1)\
**Post date:** [July 9, 2012, 4:11pm UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/2 "2012-07-09T16:11:07Z")

</div>

Update:&nbsp;  
&nbsp;&nbsp;  
&nbsp;Hash&nbsp;code&nbsp;"22170731"&nbsp;is&nbsp;indeed&nbsp;assigned&nbsp;in&nbsp;lines&nbsp;11081,&nbsp;11121,&nbsp;11123&nbsp;to&nbsp;define&nbsp;the&nbsp;featureSource.&nbsp;  
&nbsp;&nbsp;  
&nbsp;It&nbsp;is&nbsp;then&nbsp;further&nbsp;referenced&nbsp;in&nbsp;lines&nbsp;320860&nbsp;and&nbsp;320876&nbsp;to&nbsp;define&nbsp;the&nbsp;featureSourceColumns&nbsp;of&nbsp;the&nbsp;offending&nbsp;layer&nbsp;element.&nbsp;  
&nbsp;&nbsp;  
&nbsp;So,&nbsp;seems&nbsp;we&nbsp;just&nbsp;need&nbsp;to&nbsp;understand&nbsp;how&nbsp;the&nbsp;GeoSerializer&nbsp;could&nbsp;write&nbsp;out&nbsp;the&nbsp;data&nbsp;in&nbsp;this&nbsp;manner&nbsp;and&nbsp;prevent&nbsp;it&nbsp;from&nbsp;reusing&nbsp;hash&nbsp;codes&nbsp;for&nbsp;different&nbsp;types&nbsp;of&nbsp;objects.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;Damian

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [July 13, 2012, 1:06am UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/3 "2012-07-13T01:06:22Z")

</div>

&nbsp;

Hi&nbsp;Damian,  
We&nbsp;have&nbsp;got&nbsp;the&nbsp;zip&nbsp;file&nbsp;you&nbsp;provided,&nbsp;thanks&nbsp;for&nbsp;your&nbsp;detailed&nbsp;information.&nbsp;We&nbsp;can&nbsp;reproduce&nbsp;the&nbsp;issue&nbsp;with&nbsp;your&nbsp;sample&nbsp;and&nbsp;data,&nbsp;the&nbsp;problem&nbsp;is&nbsp;that&nbsp;one&nbsp;FeatureSource&nbsp;and&nbsp;FeatureColumn&nbsp;have&nbsp;the&nbsp;same&nbsp;Hashcode,&nbsp;that’s&nbsp;very&nbsp;weird,&nbsp;normally,&nbsp;we&nbsp;get&nbsp;the&nbsp;hashCode&nbsp;using&nbsp;code&nbsp;“object.GetHashCode()”,&nbsp;one&nbsp;instance&nbsp;should&nbsp;be&nbsp;one&nbsp;HashCode,&nbsp;there&nbsp;shouldn’t&nbsp;be&nbsp;any&nbsp;exception.&nbsp;So&nbsp;we&nbsp;was&nbsp;wondering&nbsp;how&nbsp;to&nbsp;generate&nbsp;a&nbsp;demo&nbsp;serialized&nbsp;string,&nbsp;the&nbsp;attached&nbsp;is&nbsp;the&nbsp;demo&nbsp;what&nbsp;we&nbsp;tried,&nbsp;but&nbsp;all&nbsp;works&nbsp;fine,&nbsp;can&nbsp;you&nbsp;do&nbsp;a&nbsp;check&nbsp;for&nbsp;us&nbsp;if&nbsp;there&nbsp;is&nbsp;anything&nbsp;different&nbsp;with&nbsp;yours?&nbsp;  
Thanks,  
Johnny&nbsp;&nbsp;  
  
[Program.zip](https://community.thinkgeo.com/uploads/default/original/2X/8/83cb67d85aa0f3f9606ee36345532362faebfcdb.zip) (1.06 KB)

---

<div class="post-metadata">

**Author:** ![Damian1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/5f9b8f/32.png) [@Damian1](https://community.thinkgeo.com/u/Damian1)\
**Post date:** [July 13, 2012, 11:32am UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/4 "2012-07-13T11:32:01Z")

</div>

Hi&nbsp;Johnny,

I've&nbsp;updated&nbsp;your&nbsp;.cs&nbsp;file&nbsp;with&nbsp;what&nbsp;I'm&nbsp;doing.&nbsp;&nbsp;See&nbsp;attached.

The&nbsp;big&nbsp;difference&nbsp;is&nbsp;that&nbsp;I&nbsp;am&nbsp;sending&nbsp;full&nbsp;Overlays&nbsp;which&nbsp;can&nbsp;each&nbsp;contain&nbsp;many&nbsp;Layers&nbsp;to&nbsp;the&nbsp;serializer.&nbsp;&nbsp;Your&nbsp;code&nbsp;is&nbsp;just&nbsp;serializing&nbsp;a&nbsp;collection&nbsp;of&nbsp;layers.&nbsp;

The&nbsp;other&nbsp;thing&nbsp;that&nbsp;I&nbsp;see&nbsp;is&nbsp;that&nbsp;I&nbsp;seem&nbsp;to&nbsp;have&nbsp;left&nbsp;a&nbsp;"var"&nbsp;type&nbsp;for&nbsp;my&nbsp;foreach&nbsp;loop&nbsp;when&nbsp;populating&nbsp;the&nbsp;globalRecord&nbsp;object&nbsp;with&nbsp;Overlays.&nbsp;&nbsp;This&nbsp;is&nbsp;a&nbsp;remnant&nbsp;from&nbsp;when&nbsp;I&nbsp;used&nbsp;standard&nbsp;MS&nbsp;serializer,&nbsp;but&nbsp;I&nbsp;am&nbsp;guessing&nbsp;VS&nbsp;is&nbsp;able&nbsp;to&nbsp;correctly&nbsp;interprete&nbsp;var&nbsp;to&nbsp;Overlay&nbsp;anyway.

Thanks,

Damian

[Program\_DH.zip](https://community.thinkgeo.com/uploads/default/original/2X/c/c9ae2cc4bb6b5a0bd058a33b589fe79950322e32.zip) (1.29 KB)

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [July 16, 2012, 3:24am UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/5 "2012-07-16T03:24:47Z")

</div>

&nbsp;Damian,

We&nbsp;modified&nbsp;your&nbsp;code&nbsp;a&nbsp;bit&nbsp;to&nbsp;make&nbsp;it&nbsp;running,&nbsp;and&nbsp;everything&nbsp;looks&nbsp;good&nbsp;without&nbsp;any&nbsp;exception.&nbsp;Could&nbsp;you&nbsp;try&nbsp;this&nbsp;modifed&nbsp;code&nbsp;on&nbsp;your&nbsp;machine&nbsp;and&nbsp;let&nbsp;us&nbsp;know&nbsp;what&nbsp;the&nbsp;result&nbsp;is?&nbsp;it&nbsp;will&nbsp;be&nbsp;great&nbsp;if&nbsp;you&nbsp;can&nbsp;provide&nbsp;us&nbsp;a&nbsp;runable&nbsp;program&nbsp;to&nbsp;recreate&nbsp;this&nbsp;issue.

Thanks,

Ben

[Program\_DH\_Modified.zip](https://community.thinkgeo.com/uploads/default/original/2X/6/62f02181d141e016e43b40a47857d64ba27fe8d4.zip) (1.01 KB)

---

<div class="post-metadata">

**Author:** ![Damian1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/5f9b8f/32.png) [@Damian1](https://community.thinkgeo.com/u/Damian1)\
**Post date:** [July 16, 2012, 11:50am UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/6 "2012-07-16T11:50:49Z")

</div>

Ben,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Fundamentally,&nbsp;nothing’s&nbsp;any&nbsp;different&nbsp;with&nbsp;this&nbsp;code.&nbsp;&nbsp;Sorry,&nbsp;I&nbsp;wasn’t&nbsp;trying&nbsp;to&nbsp;be&nbsp;programmatically&nbsp;correct&nbsp;with&nbsp;your&nbsp;console&nbsp;app.&nbsp;&nbsp;Anyway,&nbsp;I&nbsp;am&nbsp;doing&nbsp;some&nbsp;additional&nbsp;testing&nbsp;by&nbsp;making&nbsp;multiple&nbsp;overlays&nbsp;with&nbsp;many&nbsp;layers&nbsp;and&nbsp;trying&nbsp;to&nbsp;read&nbsp;them&nbsp;back&nbsp;with&nbsp;my&nbsp;test&nbsp;utility&nbsp;from&nbsp;above.&nbsp;&nbsp;I&nbsp;am&nbsp;seeing&nbsp;some&nbsp;indexing&nbsp;issues&nbsp;in&nbsp;the&nbsp;winformsMap&nbsp;control&nbsp;when&nbsp;I&nbsp;use&nbsp;an&nbsp;additional&nbsp;for&nbsp;loop&nbsp;to&nbsp;make&nbsp;11&nbsp;overlays&nbsp;with&nbsp;1000&nbsp;objects&nbsp;in&nbsp;them.&nbsp;&nbsp;The&nbsp;file&nbsp;it&nbsp;creates&nbsp;is&nbsp;about&nbsp;130Mb,&nbsp;so&nbsp;I’ll&nbsp;let&nbsp;you&nbsp;modify&nbsp;and&nbsp;test&nbsp;this&nbsp;on&nbsp;your&nbsp;end.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Unfortunately,&nbsp;since&nbsp;the&nbsp;save&nbsp;files&nbsp;that&nbsp;are&nbsp;generated&nbsp;with&nbsp;the&nbsp;errors&nbsp;are&nbsp;completely&nbsp;intermittent&nbsp;with&nbsp;the&nbsp;exception&nbsp;of&nbsp;them&nbsp;being&nbsp;large&nbsp;files,&nbsp;there&nbsp;is&nbsp;likely&nbsp;no&nbsp;way&nbsp;I&nbsp;can&nbsp;provide&nbsp;for&nbsp;you&nbsp;an&nbsp;example&nbsp;that&nbsp;writes&nbsp;the&nbsp;error&nbsp;seen&nbsp;previously&nbsp;consistently.&nbsp;&nbsp;One&nbsp;thing&nbsp;is&nbsp;certain&nbsp;though.&nbsp;&nbsp;I&nbsp;do&nbsp;have&nbsp;save&nbsp;files&nbsp;where&nbsp;the&nbsp;geoserializer&nbsp;has&nbsp;reused&nbsp;hash&nbsp;codes.&nbsp;&nbsp;I&nbsp;don’t&nbsp;do&nbsp;anything&nbsp;to&nbsp;the&nbsp;geoserializer&nbsp;output&nbsp;except&nbsp;write&nbsp;it&nbsp;to&nbsp;the&nbsp;FileStream.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Is&nbsp;there&nbsp;someway&nbsp;we&nbsp;can&nbsp;put&nbsp;a&nbsp;trace&nbsp;on&nbsp;the&nbsp;issue?&nbsp;&nbsp;Maybe&nbsp;I&nbsp;can&nbsp;interrogate&nbsp;geoserializer&nbsp;prior&nbsp;to&nbsp;writing&nbsp;if&nbsp;you&nbsp;had&nbsp;some&nbsp;kind&nbsp;of&nbsp;test&nbsp;procedure&nbsp;we&nbsp;could&nbsp;run.&nbsp;&nbsp;Then&nbsp;I&nbsp;could&nbsp;output&nbsp;some&nbsp;debug&nbsp;of&nbsp;the&nbsp;processes&nbsp;that&nbsp;occured&nbsp;prior&nbsp;to&nbsp;write.&nbsp;  
&nbsp;&nbsp;  
&nbsp;There&nbsp;are&nbsp;some&nbsp;other&nbsp;details&nbsp;as&nbsp;to&nbsp;why&nbsp;this&nbsp;test&nbsp;project&nbsp;would&nbsp;be&nbsp;different&nbsp;than&nbsp;ones&nbsp;generated&nbsp;by&nbsp;my&nbsp;users.&nbsp;&nbsp;Basically,&nbsp;there&nbsp;is&nbsp;a&nbsp;lot&nbsp;of&nbsp;editing&nbsp;of&nbsp;shapes&nbsp;going&nbsp;on&nbsp;prior&nbsp;to&nbsp;writing&nbsp;a&nbsp;save&nbsp;file.&nbsp;&nbsp;In&nbsp;the&nbsp;console&nbsp;app&nbsp;you&nbsp;provided,&nbsp;we&nbsp;are&nbsp;just&nbsp;writing&nbsp;out&nbsp;2000&nbsp;instances&nbsp;of&nbsp;the&nbsp;same&nbsp;objects&nbsp;which&nbsp;are&nbsp;never&nbsp;edited&nbsp;prior&nbsp;to&nbsp;save.&nbsp;&nbsp;Are&nbsp;there&nbsp;any&nbsp;properties&nbsp;of&nbsp;shape&nbsp;objects&nbsp;or&nbsp;the&nbsp;winformsMap&nbsp;control&nbsp;which&nbsp;should&nbsp;be&nbsp;set&nbsp;prior&nbsp;to&nbsp;saving?&nbsp;&nbsp;For&nbsp;example,&nbsp;should&nbsp;a&nbsp;shape&nbsp;layer&nbsp;always&nbsp;be&nbsp;open&nbsp;when&nbsp;saving?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;Damian&nbsp;  
&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [July 19, 2012, 2:10am UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/7 "2012-07-19T02:10:35Z")

</div>

&nbsp;

Damian,  
We&nbsp;are&nbsp;still&nbsp;unable&nbsp;to&nbsp;reproduce&nbsp;the&nbsp;problem&nbsp;what&nbsp;you&nbsp;mentioned&nbsp;that&nbsp;making&nbsp;11&nbsp;Overlays&nbsp;with&nbsp;2000&nbsp;objects&nbsp;for&nbsp;WinformsMap,&nbsp;and&nbsp;then&nbsp;serializing&nbsp;the&nbsp;“WinformsMap”&nbsp;into&nbsp;“\*.txt”&nbsp;file.&nbsp;It&nbsp;created&nbsp;a&nbsp;file&nbsp;about&nbsp;180MB,&nbsp;the&nbsp;Deserialize&nbsp;works&nbsp;great&nbsp;as&nbsp;well.&nbsp;Can&nbsp;you&nbsp;try&nbsp;the&nbsp;attached&nbsp;demo&nbsp;on&nbsp;your&nbsp;end&nbsp;and&nbsp;let&nbsp;us&nbsp;know&nbsp;if&nbsp;it&nbsp;works&nbsp;fine?  
Thanks,

Johnny

[GeoSerializer\_Test\_20120719.zip](https://community.thinkgeo.com/uploads/default/original/2X/8/82596b527b292cba734d05735e9115ca5cf649f6.zip) (3.28 KB)

---

<div class="post-metadata">

**Author:** ![Damian1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/5f9b8f/32.png) [@Damian1](https://community.thinkgeo.com/u/Damian1)\
**Post date:** [July 24, 2012, 12:53pm UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/8 "2012-07-24T12:53:46Z")

</div>

Hi&nbsp;Johnny,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;will&nbsp;keep&nbsp;looking&nbsp;for&nbsp;why&nbsp;this&nbsp;occurrs.&nbsp;&nbsp;So&nbsp;far,&nbsp;no&nbsp;more&nbsp;reports&nbsp;of&nbsp;late.&nbsp;  
&nbsp;&nbsp;  
&nbsp;One&nbsp;thing&nbsp;to&nbsp;check&nbsp;maybe&nbsp;is&nbsp;that&nbsp;I’ve&nbsp;been&nbsp;using&nbsp;5.5.155.0&nbsp;library&nbsp;up&nbsp;until&nbsp;last&nbsp;week.&nbsp;&nbsp;I’m&nbsp;now&nbsp;on&nbsp;6.0.0.65.&nbsp;&nbsp;Is&nbsp;there&nbsp;maybe&nbsp;something&nbsp;between&nbsp;these&nbsp;versions&nbsp;that&nbsp;might&nbsp;make&nbsp;a&nbsp;difference?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Damian

---

<div class="post-metadata">

**Author:** ![Gary2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/49beb7/32.png) [@Gary2](https://community.thinkgeo.com/u/Gary2)\
**Post date:** [July 24, 2012, 2:41pm UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/9 "2012-07-24T14:41:57Z")

</div>

Hello&nbsp;Damian,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yes,&nbsp;probably&nbsp;this&nbsp;is&nbsp;the&nbsp;reason,&nbsp;because&nbsp;from&nbsp;5.5.155.0&nbsp;to&nbsp;6.0.0.55,&nbsp;we&nbsp;did&nbsp;a&nbsp;lot&nbsp;of&nbsp;changes&nbsp;and&nbsp;bug&nbsp;fix.&nbsp;  
&nbsp;&nbsp;  
&nbsp;So&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;us&nbsp;know&nbsp;if&nbsp;you&nbsp;still&nbsp;meet&nbsp;this.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Gary

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [July 24, 2012, 7:44pm UTC](https://community.thinkgeo.com/t/deserializing-error-for-layer-overlay/2025/10 "2012-07-24T19:44:36Z")

</div>

Damian,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Hard&nbsp;to&nbsp;say,&nbsp;I&nbsp;guess&nbsp;the&nbsp;"5.5.155.0"&nbsp;is&nbsp;a&nbsp;temporary&nbsp;version&nbsp;from&nbsp;development&nbsp;branch.&nbsp;After&nbsp;that,&nbsp;we&nbsp;did&nbsp;do&nbsp;some&nbsp;changes&nbsp;to&nbsp;the&nbsp;GeoSerializer.&nbsp;Maybe&nbsp;you&nbsp;need&nbsp;abstract&nbsp;the&nbsp;code&nbsp;about&nbsp;serialize&nbsp;out&nbsp;and&nbsp;test&nbsp;it&nbsp;separately.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Johnny
