SpringSource/spring-net-social-linkedin — pull request #5 by scottksmith95 (2012-10-13 05:15:56+00:00)
Title: Fix for null reference for the following error

One or more errors occurred.
System.AggregateException: One or more errors occurred. ---> Spring.Json.JsonException: The JSON object structure does not have an entry named 'schoolName'.
at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401
at Spring.Social.LinkedIn.Api.Impl.Json.LinkedInFullProfileDeserializer.DeserializeEducations(JsonValue json) in c:\Dropbox\Projects\Clones\spring-net-social-linkedin\src\Spring.Social.LinkedIn\Social\LinkedIn\Api\Impl\Json\LinkedInFullProfileDeserializer.cs:line 198
at Spring.Social.LinkedIn.Api.Impl.Json.LinkedInFullProfileDeserializer.Deserialize(JsonValue json, JsonMapper mapper) in c:\Dropbox\Projects\Clones\spring-net-social-linkedin\src\Spring.Social.LinkedIn\Social\LinkedIn\Api\Impl\Json\LinkedInFullProfileDeserializer.cs:line 43
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144
at Spring.Rest.Client.Support.MessageConverterResponseExtractor`1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97
at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at coderbits.Externals.Social.LinkedInOperations.GetAccount(OAuthToken token) in c:\Dropbox\Projects\coderbits\coderbits.Externals\ApiAccessLayer\Social\LinkedInOperations.cs:line 26
at coderbits.Helpers.Social.LinkedInHelpers.FillDatabase(Int32 coderbitsAccountId, DataOperations dataOperations) in c:\Dropbox\Projects\coderbits\coderbits.DataAccess\Helpers\Social\LinkedInHelpers.cs:line 327
---> (Inner Exception #0) Spring.Json.JsonException: The JSON object structure does not have an entry named 'schoolName'.
at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401
at Spring.Social.LinkedIn.Api.Impl.Json.LinkedInFullProfileDeserializer.DeserializeEducations(JsonValue json) in c:\Dropbox\Projects\Clones\spring-net-social-linkedin\src\Spring.Social.LinkedIn\Social\LinkedIn\Api\Impl\Json\LinkedInFullProfileDeserializer.cs:line 198
at Spring.Social.LinkedIn.Api.Impl.Json.LinkedInFullProfileDeserializer.Deserialize(JsonValue json, JsonMapper mapper) in c:\Dropbox\Projects\Clones\spring-net-social-linkedin\src\Spring.Social.LinkedIn\Social\LinkedIn\Api\Impl\Json\LinkedInFullProfileDeserializer.cs:line 43
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144
at Spring.Rest.Client.Support.MessageConverterResponseExtractor`1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97
at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786<---