Bug #1018

avatar

NullReferenceException thrown in SqliteMessageBuffer.get_Count()

Added by Mirco Bauer 1450 days ago. Updated 1354 days ago.

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

100%

Category:Engine
Target version:1.0
Complexity:

Medium

Found in Version:

5f66fe5

Votes: 0

Description

Exception Type:
System.NullReferenceException

Exception Message:
Object reference not set to an instance of an 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.NullReferenceException: Object reference not set to an instance of an object

Server stack trace: 
  at Smuxi.Engine.SqliteMessageBuffer.get_Count () [0x00000] in /usr/local/src/smuxi/src/Engine/MessageBuffers/SqliteMessageBuffer.cs:42 
  at Smuxi.Engine.ChatModel.GetSyncMessages () [0x0000d] in /usr/local/src/smuxi/src/Engine/Chats/ChatModel.cs:248 
  at Smuxi.Engine.ChatModel.get_Messages () [0x00000] in /usr/local/src/smuxi/src/Engine/Chats/ChatModel.cs:82 

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 

History

Updated by Mirco Bauer 1354 days ago

avatar

I think this happens if you close an unsynced chat:

Exception Type:
System.NullReferenceException

Exception Message:
Object reference not set to an instance of an 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) [0x001e9] in /tmp/buildd/mono-3.2.8+dfsg/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:248 

Exception.ToString():
System.NullReferenceException: Object reference not set to an instance of an object

Server stack trace: 
  at Smuxi.Engine.SqliteMessageBuffer.get_Count () [0x00000] in /usr/local/src/smuxi-cloud/src/Engine/MessageBuffers/SqliteMessageBuffer.cs:42 
  at Smuxi.Engine.ChatModel.GetSyncMessages () [0x0000d] in /usr/local/src/smuxi-cloud/src/Engine/Chats/ChatModel.cs:249 
  at Smuxi.Engine.ChatModel.get_Messages () [0x00000] in /usr/local/src/smuxi-cloud/src/Engine/Chats/ChatModel.cs:83 

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) [0x001e9] in /tmp/buildd/mono-3.2.8+dfsg/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:248 

Updated by Mirco Bauer 1354 days ago

avatar
  • Complexity set to Medium

Updated by Mirco Bauer 1354 days ago

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

Also available in: Atom PDF