GNOME Bugzilla – Bug 354777
Thunderbird indexer throws an exception
Last modified: 2006-09-22 01:23:35 UTC
Please describe the problem: I don't know if this is a problem or not, but the Thunderbird indexer is throwing the following exception: 060907 1017134025 07936 Beagle WARN EX: Failed to load /home/anders/.mozilla-thunderbird/3lz9ydut.default/ImapMail/mail.xyz.com/Sorted messages.sbd/xyz.sbd/Projects.sbd/xyz.sbd/xyz.msf: 060907 1017134025 07936 Beagle WARN EX: System.NullReferenceException: Object reference not set to an instance of an object 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.MorkDatabase.ParseNamespace (System.String ns) [0x00000] in /build/buildd/beagle-0.2.8/Util/Mork.cs:192 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.MorkDatabase.AddRow (System.String id, System.String ns, System.String table, System.String cells) [0x00000] in /build/buildd/beagle-0.2.8/Util/Mork.cs:205 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.MorkDatabase.ParseRows (System.String rows, System.String ns, System.String table) [0x000a1] in /build/buildd/beagle-0.2.8/Util/Mork.cs:174 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content) [0x00133] in /build/buildd/beagle-0.2.8/Util/Mork.cs:112 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.MorkDatabase.ParseGroups (System.String groups) [0x0000e] in /build/buildd/beagle-0.2.8/Util/Mork.cs:182 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read (System.String content) [0x0018d] in /build/buildd/beagle-0.2.8/Util/Mork.cs:115 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.MorkDatabase.Read () [0x00047] in /build/buildd/beagle-0.2.8/Util/Mork.cs:73 060907 1017134025 07936 Beagle WARN EX: at Beagle.Util.Thunderbird+Database.Load () [0x00010] in /build/buildd/beagle-0.2.8/Util/Thunderbird.cs:433 060907 1017134025 07936 Beagle WARN EX: at Beagle.Daemon.ThunderbirdQueryable.MailIndexableGenerator.LoadDatabase () [0x00017] in /build/buildd/beagle-0.2.8/beagled/ThunderbirdQueryable/Mail.cs:80 After this it seems like it stops indexing Thunderbird stuff. I can see some Thunderbird related printouts in the log files, but beagle-index-info shows that the Thunderbird Count isn't increasing. Steps to reproduce: I don't know how to reproduce this, I guess it is something with my mail box. Actual results: Expected results: Does this happen every time? Other information:
Not a too strange error, but it's one that I've haven't in account for (apparently). I'll attach a patch that you can try out.
Created attachment 72441 [details] [review] Fix for ParseNamespace exception
Ok, this does seem to fix that error.... whats the thought on commiting?
I'm working on some of the other Thunderbird issues and I'll probably commit most of this work later on today.
Alright, sounds awesome, feel free to IM me (qub333 on gtalk) and we can talk, or ill be in #dashboard on the irc as kkubasik.
Props to Pierre.