Bug #299

avatar

/server and /connect $server crashes with NullReferenceException

Added by Mirco Bauer 5455 days ago. Updated 5446 days ago.

Status:Closed Start:01/14/2010
Priority:Urgent Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine
Target version:0.7.1
Complexity:

Low

Found in Version:

Votes: 0

Description

When connecting to a server without specifying the protocol, or specifying an invalid/unknown protocol to the /connect (and /server) command will make it crash with:
Exception Type:
System.NullReferenceException

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

Exception StackTrace:
  at Smuxi.Engine.Session.CommandConnect (Smuxi.Engine.CommandModel cd) [0x00000] 
  at Smuxi.Engine.Session.Command (Smuxi.Engine.CommandModel cd) [0x00000] 
  at (wrapper remoting-invoke-with-check) Smuxi.Engine.Session:Command (Smuxi.Engine.CommandModel)
  at Smuxi.Frontend.CommandManager.DoExecute (Smuxi.Engine.CommandModel cmd) [0x00000] 
  at Smuxi.Frontend.CommandManager+<>c__CompilerGenerated1.<Execute>c__3 () [0x00000] 
  at Smuxi.Common.TaskQueue+<>c__CompilerGenerated4.<Queue>c__14 () [0x00000] 
  at Smuxi.Common.TaskQueue+DelegateTask.Execute () [0x00000]

Related issues

related to Smuxi - Feature #236 Process "On Connect Commands" for Quick Connect Closed 11/18/2009

Associated revisions

Revision a740b0fc63ab191f22014c169dc2744deed54361
Added by Mirco Bauer 5446 days ago

Fixed NullReferenceException if passing invalid protocol to /server and /connect commands (closes: #299)

History

Updated by Mirco Bauer 5455 days ago

avatar

This is a regression introduced with #236 (on connect commands in quick connect dialog feature), see: http://projects.qnetp.net/repositories/diff/smuxi/src/Engine/Session.cs?rev=6af341ee168bb6226528d3a13fd5e196d4e2a6f3

Updated by Mirco Bauer 5454 days ago

avatar
  • Complexity set to Low

Updated by Mirco Bauer 5446 days ago

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

Also available in: Atom PDF