Bug #750

avatar

Exception: Object reference not set to an instance of an object

Added by Christopher Halse Rogers 4492 days ago.

Status:New Start:08/26/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-
Complexity:

Found in Version:

Votes: 0

Description

Smuxi seems to throw an exception while the smuxi-server is shutting down after sending /shutdown.

This also appears to halt the smuxi-server's shutdown process - when reconnecting, the tabs which had not yet disconnected were still there, and the server hadn't shutdown.

Full exception is here:
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.Db4oMessageBuffer.CloseDatabase () [0x0002e] in /build/buildd/smuxi-0.8.11+git/src/Engine/MessageBuffers/Db4oMessageBuffer.cs:417 
  at Smuxi.Engine.Db4oMessageBuffer.Dispose (Boolean disposing) [0x0000c] in /build/buildd/smuxi-0.8.11+git/src/Engine/MessageBuffers/Db4oMessageBuffer.cs:134 
  at Smuxi.Engine.Db4oMessageBuffer.Dispose () [0x00000] in /build/buildd/smuxi-0.8.11+git/src/Engine/MessageBuffers/Db4oMessageBuffer.cs:124 
  at Smuxi.Engine.ChatModel.Close () [0x00000] in /build/buildd/smuxi-0.8.11+git/src/Engine/Chats/ChatModel.cs:199 
  at (wrapper remoting-invoke-with-check) Smuxi.Engine.ChatModel:Close ()
  at Smuxi.Engine.Session.RemoveChat (Smuxi.Engine.ChatModel chat) [0x00067] in /build/buildd/smuxi-0.8.11+git/src/Engine/Session.cs:951 
  at (wrapper remoting-invoke-with-check) Smuxi.Engine.Session:RemoveChat (Smuxi.Engine.ChatModel)
  at Smuxi.Engine.ProtocolManagerBase.Dispose () [0x00023] in /build/buildd/smuxi-0.8.11+git/src/Engine/Protocols/ProtocolManagerBase.cs:145 
  at Smuxi.Engine.IrcProtocolManager.Dispose () [0x00016] in /build/buildd/smuxi-0.8.11+git/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:524 
  at Smuxi.Engine.Session.CommandShutdown (Smuxi.Engine.CommandModel cmd) [0x00064] in /build/buildd/smuxi-0.8.11+git/src/Engine/Session.cs:657 
  at Smuxi.Engine.Session.Command (Smuxi.Engine.CommandModel cd) [0x0014e] in /build/buildd/smuxi-0.8.11+git/src/Engine/Session.cs:389 
  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 

Also available in: Atom PDF