Bug #299
/server and /connect $server crashes with NullReferenceException
Status: | Closed | Start: | 01/14/2010 | |
Priority: | Urgent | Due date: | ||
Assigned to: | Mirco 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
Fixed NullReferenceException if passing invalid protocol to /server and /connect commands (closes: #299)
History
Updated by Mirco Bauer 5425 days ago
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 5423 days ago
- Complexity set to Low
Updated by Mirco Bauer 5415 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset a740b0fc63ab191f22014c169dc2744deed54361.