[Mono-list] Unhandled Exception: System.Runtime.Serialization.SerializationException

helpless akm1984 at web.de
Tue Jul 21 07:31:37 EDT 2009


Hello,

I'm trying to run a tool originally written for use under MS .net-Framework
under Mono on a Kubuntu Jaunty release. I'm using Firefox 3.5 and xulrunner
1.9.

I downloaded and compiled the latest stable version of libgdi, mono and
gluezilla. (2.4.2) and tried to run the tool. 
I downloaded the tool from here:
http://www.aommaster.com/Files/MHWT%20v.1.3.zip

However I seem to be running into all kind of troubles. :(

I have had help at the #mono irc channel on freenode, however people there
believe that this might be a problem with mono itself and advised me to ask
for help here.


I have 2 different kind of crashs:

The first occurs whenever I open a window that accepts text input into a
database. 
Could not set X locale modifiers                                                                                
Stacktrace:                                                                                                     

  at (wrapper managed-to-native)
Mono.Mozilla.Base.gluezilla_createBrowserWindow
(intptr,intptr,int,int,string,string,Mono.WebBrowser.Platform) <0x00004>  
[...]

 I attached the complete error log in 
http://www.nabble.com/file/p24568549/crash.textinputwindow.txt
crash.textinputwindow.txt 


The second occurs when I close any window (the database is updated everytime
a window is closed):

Unhandled Exception: System.Runtime.Serialization.SerializationException:
Type Malware_Helper_Workflow_Tool.speechDatabase is not marked as
Serializable.                                                                                                   
  at
System.Runtime.Serialization.Formatters.Binary.BinaryCommon.CheckSerializable
(System.Type type, ISurrogateSelector selector, StreamingContext context)
[0x00000]                                                                                      
[...]

 I attached the complete error log in 
http://www.nabble.com/file/p24568549/crash.dbupdate.txt crash.dbupdate.txt  
 

The tool creates a file Data.db in which all input should be stored. When
that file is present, the following error message is displayed at start up:
Error is: Could not load type
'System.ComponentModel.BindingList`1[[Malware_Helper_Workflow_Tool.speech,
Malware Helper Workflow Tool, Version=1.3.0.0,
Culture=neutral,PublicKeyToken=null]].

Don't know if this helps to pinpoint the problem. My guess is that all the
problems come from the same source, but I'm totally incapable of saying what
is causing this.

Please bear in mind, that this is the first time I use mono and that I am a
noob at almost everything. I will do everything you want me too (or almost
;) ) but I need simple and detailed instructions to be able to do so.

looking forward to your replies,
kathrin

-- 
View this message in context: http://www.nabble.com/Unhandled-Exception%3A-System.Runtime.Serialization.SerializationException-tp24568549p24568549.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list