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 324904 - beagle-settings / beagle-config crashes with mono > 1.1.10
beagle-settings / beagle-config crashes with mono > 1.1.10
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.1.x
Other Linux
: Urgent major
: ---
Assigned To: Beagle Bugs
Beagle Bugs
: 324958 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-12-24 00:09 UTC by Debajyoti Bera
Modified: 2006-01-05 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Temporary patch to fix it (1.39 KB, patch)
2005-12-24 00:15 UTC, Debajyoti Bera
none Details | Review

Description Debajyoti Bera 2005-12-24 00:09:15 UTC
Both beagle-settings  and beagle-config is crashing with the following error:

Debug: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml
Error: Could not load configuration from indexing.xml: Exception has been thrown by the target of an invocation

This is happening with me for mono-1.1.12. Someone with 1.1.11 also reported the same problem in IRC.
Comment 1 Debajyoti Bera 2005-12-24 00:15:14 UTC
Created attachment 56344 [details] [review]
Temporary patch to fix it

Originally Conf returned a readonly copy of the arraylists - which was crashing the deserializer when it tried to add elements to them. This patch temporarily forces Conf to return the original arraylist. It will prevent the crash but may have some side effects.

There should be a better approach to enforce the readonly property.
Comment 2 Debajyoti Bera 2005-12-25 20:47:42 UTC
*** Bug 324958 has been marked as a duplicate of this bug. ***
Comment 3 Joe Shaw 2006-01-04 17:12:30 UTC
Possibly a mono bug.  I've filed it here:
http://bugzilla.ximian.com/show_bug.cgi?id=77159
Comment 4 Joe Shaw 2006-01-05 18:52:04 UTC
Fixed in CVS.  The mono behavior is consistent with .NET, so I've changed the code in Beagle to not return ReadOnly lists.