[Pkg-mono-devel] Unhandled exception when I start monodoc

Tomasz Rybak bogomips@post.pl
Wed, 30 Jun 2004 22:38:33 +0200


W li¶cie z sob, 26-06-2004, godz. 12:29, Harobed pisze: 
> Hello,
> 
> I've monodoc installed on my debian.
> 
> The version is 0.17
> 
> When I start monodoc I've this error :
> 
> Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type.
> in <0x00061> Glade.XML:GetWidget (string)
> in <0x001b7> Glade.XML:BindFields (object,System.Type)
> in <0x0001a> Glade.XML:BindFields (object)
> in <0x0001a> Glade.XML:Autoconnect (object)
> in <0x00089> Monodoc.Browser:.ctor ()
> in <0x0028b> Monodoc.Driver:Main (string[])
> 
> Why this ? Thanks

I can start MonoDoc without problems; only when I choose topic from 
"C# Compiler Error Reference" I have this exception:

Unhandled Exception: System.InvalidOperationException: Token content in
state Prolog would result in an invalid XML document.
in <0x0003a> System.Xml.XmlTextWriter:WriteString (string)
in <0x0014f> Monodoc.ErrorDocumentation:RenderAsHtml ()
in <0x001fc> Monodoc.ErrorHelpSource:GetText (string,Monodoc.Node&)
in <0x00121> Monodoc.TreeBrowser:RowActivated (object,System.EventArgs)
in <0x00069> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x0012d> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x0005a> (wrapper native-to-managed)
GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x002b0> Monodoc.Driver:Main (string[])

tomus@barad-dur:~$ dpkg -l | grep mono
ii  libmono-dev    0.97-1         libraries for the Mono interpreter -
Develop
ii  libmono0       0.97-1         libraries for the Mono interpreter
ii  mono           0.97-1         The Mono .NET development environment
ii  mono-assemblie 0.96-1         architecture specific files for
Mono/.NET as
ii  mono-assemblie 0.96-1         the Mono .NET class libraries
ii  mono-common    0.97-1         common files for the Mono CLI runtimes
ii  mono-gac       0.96-1         Mono GAC Tool
ii  mono-jay       0.96-1         LALR(1) parser generator oriented to
Java/.N
ii  mono-jit       0.97-1         fast CLI (.NET/Mono) JIT compiler
ii  mono-mcs       0.96-1         the Mono C# compiler
ii  mono-utils     0.97-1         Mono utilities
ii  monodevelop    0.4-1          A C# Development Environment
ii  monodoc        0.17-2         The MONO documentation viewer
ii  monodoc-base   0.17-2         shared MonoDoc binaries
ii  monodoc-browse 0.17-2         MonoDoc GTK+ based viewer
ii  monodoc-manual 0.17-2         compiled XML documentation from the
MONO pro
tomus@barad-dur:~$ dpkg -l | grep cil
ii  libgconf-cil   0.98-2         a .NET binding for GConf
ii  libgecko-cil   0.5-1          .NET binding for the GtkMozEmbed
library
ii  libglade-cil   0.98-2         a .NET binding for the Glade libraries
ii  libglib-cil    0.98-2         a .NET binding for the GLib utility
library
ii  libgnome-cil   0.98-2         a .NET binding for GNOME
ii  libgtk-cil     0.98-2         a .NET binding for the Gtk+ toolkit
ii  libwine-cil    0.3-2          WINE bindings for Mono
tomus@barad-dur:~$ dpkg -l | grep mozilla
ii  mozilla        1.7-2          The Mozilla Internet application suite
- met
ii  mozilla-browse 1.7-2          The Mozilla Internet application suite
- cor
ii  mozilla-cascad 0.4.0-1        A stylesheet editor for Mozilla
Composer
ii  mozilla-checky 2.1-1          Online validation and analysis
services for
ii  mozilla-dev    1.7-2          The Mozilla Internet application suite
- dev
ii  mozilla-diggle 0.6-3          A set of URL manipulation utilities
for Mozi
ii  mozilla-dom-in 1.7-2          A tool for inspecting the DOM of pages
in Mo
ii  mozilla-js-deb 1.7-2          JavaScript debugger for use with
Mozilla
ii  mozilla-liveht 0.8-3          Adds information about the HTTP
headers to M
ii  mozilla-mailne 1.7-2          The Mozilla Internet application suite
- mai
ii  mozilla-mozges 0.3.99+2004050 Mouse gestures add-on for Mozilla
suite
ii  mozilla-nukeim 0.3-2          Mozilla context menu option to remove
image
ii  mozilla-psm    1.7-2          The Mozilla Internet application suite
- Per
ii  mozilla-xft    1.7-2          The Mozilla Internet application suite
- Xft
tomus@barad-dur:~$

Kernel: 2.4.26-ow1
Language settings (but the same exception occurs with LC_ALL=C):
tomus@barad-dur:~$ set | grep LC_
LC_ALL=pl_PL
LC_COLLATE=pl_PL
LC_CTYPE=pl_PL
LC_MESSAGE=pl_PL
LC_MONETARY=pl_PL
LC_NUMERIC=pl_PL
LC_TIME=pl_PL



-- 
Tomasz Rybak <bogomips@post.pl>