[ubuntu-mono] [Bug 55626] monodoc-browser: Unhandled Exception: System.TypeInitializationException

Carthik Sharma mail at carthik.net
Tue Aug 8 07:34:21 BST 2006


Public bug reported:

Originally reported using reportbug - filing by proxy

From: Per Lundberg <per at halleluja.nu>
To: Ubuntu Bug Tracking System <ubuntu-users at lists.ubuntu.com>
Subject: monodoc-browser: Unhandled Exception: System.TypeInitializationException
Message-ID: <20060805075017.15978.40012.reportbug at localhost.localdomain>
X-Mailer: reportbug 3.18ubuntu1
Date: Sat, 05 Aug 2006 09:50:17 +0200
Sender: Per Lundberg <per at amos.lan>

Package: monodoc-browser
Version: 1.1.11-1ubuntu1
Severity: grave
Justification: renders package unusable

I get the following error trying to install the monodoc browser:

Setting up monodoc-browser (1.1.11-1ubuntu1) ...
generating monodoc index...

Unhandled Exception: System.TypeInitializationException: An exception was thrown by
the type initializer for Monodoc.EditingUtils --->
System.TypeInitializationException: An exception was thrown by the type initializer
for Monodoc.SettingsHandler ---> System.TypeInitializationException: An exception
was thrown by the type initializer for System.Xml.Serialization.XmlSerializer --->
System.Configuration.ConfigurationException: Cannot find
/var/usr/etc/mono/1.0/machine.config ()
in <0x000de> System.Configuration.DefaultConfig:Init ()
in <0x0001b> System.Configuration.DefaultConfig:GetConfig (System.String sectionName)
in <0x0002b> System.Configuration.ConfigurationSettings:GetConfig (System.String
sectionName)
in <0x001e3> System.Xml.Serialization.XmlSerializer:.cctor ()--- End of inner
exception stack trace ---

in <0x00000> <unknown method>
in <0x00036> Monodoc.SettingsHandler:.cctor ()--- End of inner exception stack trace
---

in <0x00000> <unknown method>
in <0x00009> Monodoc.EditingUtils:.cctor ()--- End of inner exception stack trace ---

in <0x00000> <unknown method>
in <0x00215> Monodoc.HelpSource:GetHelpXmlWithChanges (System.String id)
in <0x00052> Monodoc.EcmaHelpSource:GetXmlFromUrl (System.String url, System.String
rest)
in <0x01b99> Monodoc.EcmaHelpSource:PopulateIndex (Monodoc.IndexMaker index_maker)
in <0x000c4> Monodoc.RootTree:MakeIndex ()
in <0x0015b> Monodoc.Driver:Main (System.String[] args)
dpkg: error processing monodoc-browser (--configure):
 subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  monodoc-browser

When trying to run monodoc after installation, I get this:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by
the type initializer for Monodoc.SettingsHandler --->
System.TypeInitializationException: An exception was thrown by the type initializer
for System.Xml.Serialization.XmlSerializer --->
System.Configuration.ConfigurationException: Cannot find
/var/usr/etc/mono/1.0/machine.config ()
in <0x000de> System.Configuration.DefaultConfig:Init ()
in <0x0001b> System.Configuration.DefaultConfig:GetConfig (System.String sectionName)
in <0x0002b> System.Configuration.ConfigurationSettings:GetConfig (System.String
sectionName)
in <0x001e3> System.Xml.Serialization.XmlSerializer:.cctor ()--- End of inner
exception stack trace ---

in <0x00000> <unknown method>
in <0x00036> Monodoc.SettingsHandler:.cctor ()--- End of inner exception stack trace
---

in <0x00000> <unknown method>
in <0x00371> Monodoc.Driver:Main (System.String[] args)

  
-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-updates
  APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-25-amd64-k8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages monodoc-browser depends on:
ii  libglade2.0-cil        2.8.2-0ubuntu5    CLI binding for the Glade librarie
ii  libglib2.0-cil         2.8.2-0ubuntu5    CLI binding for the GLib utility l
ii  libgnome2.0-cil        2.8.2-0ubuntu5    CLI binding for GNOME 2.12
ii  libgtk2.0-cil          2.8.2-0ubuntu5    CLI binding for the GTK+ toolkit 2
ii  mono-classlib-1.0      1.1.13.6-0ubuntu3 Mono class library (1.0)
ii  mono-jit               1.1.13.6-0ubuntu3 fast CLI JIT/AOT compiler for Mono
ii  monodoc-base           1.1.13-0ubuntu1   shared MonoDoc binaries
ii  monodoc-manual         1.1.13-0ubuntu1   compiled XML documentation from th

Versions of packages monodoc-browser recommends:
ii  lynx                      2.8.5-2ubuntu1 Text-mode WWW Browser

-- no debconf information

** Affects: monodoc (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
monodoc-browser: Unhandled Exception: System.TypeInitializationException
https://launchpad.net/bugs/55626



More information about the Ubuntu-mono mailing list