Bug #947

avatar

InvalidOperationException thrown in TwitterProtocolManager.CommandUnfollow()

Added by Jamie Bliss 3955 days ago. Updated 3955 days ago.

Status:Closed Start:01/25/2014
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine Twitter
Target version:0.10.1
Complexity:

Low

Found in Version:

git 57d9120 / bzr 409

Votes: 0

Description

I did: /unfollow ArtistSilk
Exception Type:
System.InvalidOperationException

Exception Message:
Operation is not valid due to the current state of the object

Exception StackTrace:
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename unknown>:0 

Exception.ToString():
System.InvalidOperationException: Operation is not valid due to the current state of the object

Server stack trace: 
  at System.Linq.Enumerable.Single[KeyValuePair`2] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.Single[KeyValuePair`2] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 
  at Smuxi.Engine.TwitterProtocolManager.CommandUnfollow (Smuxi.Engine.CommandModel cmd) [0x00000] in <filename unknown>:0 
  at Smuxi.Engine.TwitterProtocolManager.Command (Smuxi.Engine.CommandModel command) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Runtime.Remoting.RemotingServices:InternalExecute (System.Reflection.MethodBase,object,object[],object[]&)
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage (System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x00000] in <filename unknown>:0 

Exception rethrown at [0]: 

  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename unknown>:0 

Client 410
Server 409

Associated revisions

Revision ea2e244bdf410676cce780668ea228bb2873b4d3
Added by Mirco Bauer 3955 days ago

Engine-Twitter: fixed InvalidOperationException thrown by /unfollow command (closes: #947)

This exception was thrown if the Twitter screen name couldn't be found by using
LINQ's Single() method.

History

Updated by Mirco Bauer 3955 days ago

avatar
  • Subject changed from Exception: Operation is not valid due to the current state of the object to InvalidOperationException thrown in TwitterProtocolManager.CommandUnfollow()
  • Target version set to 0.10.1
  • Complexity set to Low
  • Found in Version changed from Client 410 to bzr409

Updated by Mirco Bauer 3955 days ago

avatar
  • Found in Version changed from bzr409 to git 57d9120 / bzr 409

Updated by Mirco Bauer 3955 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF