Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Many exception dialogs displaying
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Many exception dialogs displaying
#259
Many exception dialogs displaying 7 Months, 1 Week ago Karma: 0
Hi,

I have tried using Radialix to localize a .NET 1.1 application. I add the application to the project, but I get many exceptions like this:

Property: txtSource.PasswordChar Exception: End of Stream encountered before parsing was completed

I get about 50 of these, with varying control names - possibly one for each TextBox in the application. The forms seem to display OK once it's extracted the resources, but I then get several again each time I open a form in the designer. This makes the tool almost unusable.

In a separate bug, when I localize a .NET 2.0 application that uses DevExpress controls, I get this exception:

txtKey.EditValue: Exception: Cannot desirialize System.Object - again, both when extracting resources, and any time I open the form in the designer.

Thanks

-Matthew
mcgd
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#260
Re:Many exception dialogs displaying 7 Months, 1 Week ago Karma: 1
Hi Matthew,
Thank you for bug report.

Please send us (mailto: support@radialix.com) file or a link to it for a more rapid fixing of these errors.

Thanks in advance.
Aleksey Golovin
Administrator
Posts: 110
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#261
Re:Many exception dialogs displaying 7 Months, 1 Week ago Karma: 1
"Cannot deserialize System.Object" has been fixed. Please download and replace net.dll:
radialix.com/en/files2/Net.rar (43KB)
Aleksey Golovin
Administrator
Posts: 110
graph
User Offline Click here to see the profile of this user
Last Edit: 2009/12/23 13:40 By Aleksey Golovin.
The administrator has disabled public write access.
 
#262
Re:Many exception dialogs displaying 7 Months, 1 Week ago Karma: 0
Hi Aleksey,

Many thanks for looking at that so quickly! It does in fact solve both of the exceptions. However, there still seem to be problems writing out the resources afterwards. If I build a localized version of the executable, I get a deserialization error when I try to open most of the forms - I think probably all the forms that had the exceptions in Radialix before. A few forms without TextBoxes do open.

I get SerializationExceptions like this:

Binary stream does not contain a valid BinaryHeader, 255 [this number varies - has also been 0, 83 and -256] possible causes , invalid stream or object version change between serialisation and deserialisation

The exception comes out of BinaryFormatter, which is called by ResourceManager.GetObject

This happens in the application that was getting the PasswordChar exception.
In the application that was getting the System.Object exception, it dies with an access violation reading 0x00000000 when I try and open one of the more complex forms - not the one that got the exception.

The projects are large, so if necessary I'll plan to try and get something to you that can demonstrate the problem more simply.

Thanks

-Matthew
mcgd
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#263
Re:Many exception dialogs displaying 7 Months ago Karma: 1
Hi Matthew,
Thank you for reporting this issue.
The error occurs because of incorrect serialization of character 0x00.
I sent you fixed files.


We will fix this issue in version 2.10.02.
Aleksey Golovin
Administrator
Posts: 110
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#264
Re:Many exception dialogs displaying 7 Months ago Karma: 0
Hi Aleksey,

That has indeed fixed the problem I think.
Many thanks for the fix and the fantastic response time!

Cheers

-Matthew
mcgd
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1