Bug #1023

avatar

NullReferenceException thrown in Newtonsoft.Json.Serialization.ResolverContractKey.GetHashCode()

Added by Mirco Bauer 3580 days ago.

Status:New Start:02/04/2015
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

0%

Category:Engine Twitter
Target version:0.11.1
Complexity:

Medium

Found in Version:

Votes: 0

Description

2015-02-04 15:25:09,490 [-1270912144] ERROR Smuxi.Engine.TwitterProtocolManager - Connect(): Exception
System.NullReferenceException: Object reference not set to an instance of an object
  at Newtonsoft.Json.Serialization.ResolverContractKey.GetHashCode () [0x00000] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs:71 
  at System.Collections.Generic.GenericEqualityComparer`1[Newtonsoft.Json.Serialization.ResolverContractKey].GetHashCode (ResolverContractKey obj) [0x0000d] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/Syst
em.Collections.Generic/EqualityComparer.cs:97 
  at System.Collections.Generic.Dictionary`2[Newtonsoft.Json.Serialization.ResolverContractKey,Newtonsoft.Json.Serialization.JsonContract].set_Item (ResolverContractKey key, Newtonsoft.Json.Serialization.
JsonContract value) [0x00016] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:155 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x0006d] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultContractR
esolver.cs:242 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.GetContractSafe (System.Type type) [0x00008] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSeriali
zerInternalReader.cs:107 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00011] in /usr/local/src/smuxi-cl
oud/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs:115 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x0016e] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSeri
alizer.cs:546 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializer.c
s:512 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002b] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/
Newtonsoft.Json/JsonConvert.cs:928 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[TwitterUser] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/Newto
nsoft.Json/JsonConvert.cs:888 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[TwitterUser] (System.String value) [0x00000] in /usr/local/src/smuxi-cloud/lib/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConvert.cs:845 
  at Twitterizer.Core.SerializationHelper`1[Twitterizer.TwitterUser].Deserialize (System.String webResponseData, Twitterizer.Core.DeserializationHandler deserializationHandler) [0x00006] in /usr/local/src
/smuxi-cloud/lib/Twitterizer/Twitterizer2/Core/SerializationHelper.cs:96 
  at Twitterizer.Core.SerializationHelper`1[Twitterizer.TwitterUser].Deserialize (System.Byte[] webResponseData, Twitterizer.Core.DeserializationHandler deserializationHandler) [0x00000] in /usr/local/src
/smuxi-cloud/lib/Twitterizer/Twitterizer2/Core/SerializationHelper.cs:66 
  at Twitterizer.Core.TwitterCommand`1[T].ExecuteCommand () [0x003ed] in /usr/local/src/smuxi-cloud/lib/Twitterizer/Twitterizer2/Core/TwitterCommand.cs:302 
  at Twitterizer.Core.CommandPerformer.PerformAction[TwitterUser] (ICommand`1 command) [0x00006] in /usr/local/src/smuxi-cloud/lib/Twitterizer/Twitterizer2/Core/CommandPerformer.cs:51 
  at Twitterizer.TwitterAccount.VerifyCredentials (Twitterizer.OAuthTokens tokens, Twitterizer.VerifyCredentialsOptions options) [0x00008] in /usr/local/src/smuxi-cloud/lib/Twitterizer/Twitterizer2/Method
s/Account/TwitterAccount.cs:53 
  at Smuxi.Engine.TwitterProtocolManager.Connect (Smuxi.Engine.FrontendManager fm, Smuxi.Engine.ServerModel server) [0x00000] in <filename unknown>:0 
2015-02-04 15:25:09,887 [-1270912144] DEBUG Smuxi.Engine.TwitterProtocolManager - UpdateUser(): getting user details from twitter...

Also available in: Atom PDF