After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 354777 - Thunderbird indexer throws an exception
Thunderbird indexer throws an exception
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.2.8
Other All
: Normal normal
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2006-09-07 14:44 UTC by Anders Magnusson
Modified: 2006-09-22 01:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for ParseNamespace exception (303 bytes, patch)
2006-09-09 08:42 UTC, Pierre Östlund
committed Details | Review

Description Anders Magnusson 2006-09-07 14:44:28 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:
Comment 1 Pierre Östlund 2006-09-09 08:42:17 UTC
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.
Comment 2 Pierre Östlund 2006-09-09 08:42:57 UTC
Created attachment 72441 [details] [review]
Fix for ParseNamespace exception
Comment 3 Kevin Kubasik 2006-09-16 05:28:36 UTC
Ok, this does seem to fix that error.... whats the thought on commiting?
Comment 4 Pierre Östlund 2006-09-16 06:53:57 UTC
I'm working on some of the other Thunderbird issues and I'll probably commit most of this work later on today.
Comment 5 Kevin Kubasik 2006-09-16 07:08:52 UTC
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.
Comment 6 Kevin Kubasik 2006-09-22 01:23:35 UTC
Props to Pierre.