Bug #962
NullReferenceException in MessageTextView.AddMessage()
Status: | Closed | Start: | 04/22/2014 | |
Priority: | Normal | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 100% |
|
Category: | Frontend GNOME | |||
Target version: | 0.11.1 | |||
Complexity: | Low |
Found in Version: | 0.11+dev.bzr428 |
|
Votes: | 1 (View) |
Description
Exception Type: System.NullReferenceException Exception Message: Object reference not set to an instance of an object Exception StackTrace: at Gtk.TextBuffer.InsertWithTags (Gtk.TextIter& iter, System.String text, Gtk.TextTag[] tags) [0x00000] in <filename unknown>:0 at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg, Boolean addLinebreak, Boolean showTimestamps) [0x00433] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/MessageTextView.cs:401 at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg, Boolean addLinebreak) [0x00000] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/MessageTextView.cs:251 at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00000] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/MessageTextView.cs:246 at Smuxi.Frontend.Gnome.ChatView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00026] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/ChatView.cs:590 at Smuxi.Frontend.Gnome.GroupChatView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00000] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:378 at Smuxi.Frontend.Gnome.ChatView.Populate () [0x00088] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/ChatView.cs:550 at Smuxi.Frontend.Gnome.GroupChatView.Populate () [0x0018c] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:373 at Smuxi.Frontend.Gnome.ChatViewManager+<OnChatSynced>c__AnonStorey24.<>m__39 () [0x00071] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/ChatViewManager.cs:351 at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0
Associated revisions
Revision 2223ae93ccc95b89f71bf5634ab7ec9d296912ed
Frontend-GNOME: fixed NRE thrown in MessageTextView.AddMessage() (closes: #962)
History
Updated by Mirco Bauer 3900 days ago
2014-04-22 20:21:12,080 [Threadpool worker] INFO Smuxi.Frontend.EngineManager - Connecting to: tcp://127.0.0.1:7689/SessionManager (smuxi-frontend-gnome:9712): Gtk-CRITICAL **: IA__gtk_text_buffer_insert: assertion 'text != NULL' failed (smuxi-frontend-gnome:9712): Gtk-CRITICAL **: IA__gtk_text_buffer_insert: assertion 'text != NULL' failed 2014-04-22 20:22:15,908 [Main] ERROR Smuxi.Frontend.Gnome.Frontend - ShowException(): Exception: System.NullReferenceException: Object reference not set to an instance of an object at Gtk.TextBuffer.InsertWithTags (Gtk.TextIter& iter, System.String text, Gtk.TextTag[] tags) [0x00000] in <filename unknown>:0 at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg, Boolean addLinebreak, Boolean showTimestamps) [0x00433] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/MessageTextView.cs:401 at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg, Boolean addLinebreak) [0x00000] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/MessageTextView.cs:251 at Smuxi.Frontend.Gnome.MessageTextView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00000] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/MessageTextView.cs:246 at Smuxi.Frontend.Gnome.ChatView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00026] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/ChatView.cs:590 at Smuxi.Frontend.Gnome.GroupChatView.AddMessage (Smuxi.Engine.MessageModel msg) [0x00000] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:378 at Smuxi.Frontend.Gnome.ChatView.Populate () [0x00088] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/ChatView.cs:550 at Smuxi.Frontend.Gnome.GroupChatView.Populate () [0x0018c] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:373 at Smuxi.Frontend.Gnome.ChatViewManager+<OnChatSynced>c__AnonStorey24.<>m__39 () [0x00071] in /build/buildd/smuxi-0.11+dev.bzr428~ubuntu12.04.1/src/Frontend-GNOME/ChatViewManager.cs:351 at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0
Updated by Mirco Bauer 3900 days ago
- Found in Version set to 0.11+dev.bzr428
Updated by Mirco Bauer 3900 days ago
2014-04-21 13:30:57,057 [IrcProtocolManager (irc.freenode.net:6666) listener] DEBUG MESSAGEPARSER - IrcMessageData nick: 'jamesaxl' ident: '~jamesaxl' host: '41.251.255.113' type: 'ChannelMessage' from: '[email protected]' channel: '#smuxi-devel' message: 'meebey: could you try this please "curl https://api.github.com/repos/jamesaxl/smuxi-hooks/git/trees/master?recursive=1"'
becomes
13:30:57 <jamesaxl> meebey: could you try this please "curl https://api.github.com/repos/jamesaxl/smuxi-hooks/git/trees/master?recursive=1
Updated by Mirco Bauer 3900 days ago
{ "TimeStamp" : "/Date(1398194097270)/", "MessageParts" : [ { "Italic" : false, "Text" : "<", "BackgroundColor" : { "Value" : -1 }, "Type" : "Text", "IsHighlight" : false, "Underline" : false, "Bold" : false, "ForegroundColor" : { "Value" : -1 } }, { "Italic" : false, "Text" : "meebey3", "Type" : "Text", "BackgroundColor" : { "Value" : -1 }, "IsHighlight" : false, "Underline" : false, "Bold" : true, "ForegroundColor" : { "Value" : 255 } }, { "Italic" : false, "Text" : "> meebey: could you try this please \"curl ", "Type" : "Text", "BackgroundColor" : { "Value" : -1 }, "Underline" : false, "Bold" : false, "IsHighlight" : false, "ForegroundColor" : { "Value" : -1 } }, { "Italic" : false, "Url" : "https://api.github.com/repos/jamesaxl/smuxi-hooks/git/trees/master?recursive=1", "Type" : "URL", "BackgroundColor" : { "Value" : -1 }, "ForegroundColor" : { "Value" : -1 }, "IsHighlight" : false, "Bold" : false, "Underline" : false }, { "Italic" : false, "Text" : "\"", "Type" : "Text", "BackgroundColor" : { "Value" : -1 }, "Underline" : false, "Bold" : false, "IsHighlight" : false, "ForegroundColor" : { "Value" : -1 } } ], "MessageType" : "Normal" }
Updated by Mirco Bauer 3900 days ago
- Target version changed from TBD to 0.11.1
- Complexity set to Low
Updated by Mirco Bauer 3899 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 2223ae93ccc95b89f71bf5634ab7ec9d296912ed.