GNOME Bugzilla – Bug 324904
beagle-settings / beagle-config crashes with mono > 1.1.10
Last modified: 2006-01-05 18:52:04 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.
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.
*** Bug 324958 has been marked as a duplicate of this bug. ***
Possibly a mono bug. I've filed it here: http://bugzilla.ximian.com/show_bug.cgi?id=77159
Fixed in CVS. The mono behavior is consistent with .NET, so I've changed the code in Beagle to not return ReadOnly lists.