Profile Picture

NRichtTextView Exceptions

Posted By Rob Panosh 4 Years Ago
Author
Message
Rob Panosh
Problem Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 14, Visits: 31
Hi,

When the NRichTextView is intiallially loaded I am getting a registry UnauthorizedAccessException. 

Then a bunch of System.IndexOutOfRangeException exceptions.  These exceptions slow down the opening of the control (first load) by about eight seconds.
See attached document for list of exceptions and glyph errors.  
Please advise ..
Thanks,
Rob


Attachments
IntitialLoadExceptions.txt (362 views, 23.00 KB)
Nevron Support
Posted 4 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Rob,

Both exceptions are handled and will not cause problems for the normal operation of the control.

1. The first exception is caused by an attempt of the control to write a timestamp in the registry - we'll remove this attempt in the next release so it will not appear anymore.

2. The second type of exception is caused by the internal OpenType glyph grid fitting program interpreter. It simply executes an invalid glyph program and generates an index out of range exception. We've deliberately left indexing unchecked for performance reasons as the .NET runtime will check the indexing anyway, but will consider adding an option to have bounds checked indexing in the interpreter to avoid exceptions.

Please let us know if you have any questions or comments.

Best Regards,
Nevron Support Team



Rob Panosh
Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 14, Visits: 31
Hi, 
Thanks for the quick response.  I have been profiling our application using ants.  I noticed that I'm losing about 8 meg of memory every time I open/close your form with your control on it and I am explicitly calling dispose()..
Nevron.Nov.Internal is growing by 2 for each control instance.  See attached instance retention graph (png file).  Is there anything else I need to do to dispose/release the control?  Our form the control is on is getting released.
Thanks,
Rob




Attachments
graph.png (350 views, 104.00 KB)
Nevron Support
Posted 4 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Rob,
What is the version you're currently using? There was indeed a memory leak related to the ribbon buttons icons that were holding a back reference to the control however that was fixed this year. Can you try to test with the latest release on whether the problem persists?


Best Regards,
Nevron Support Team



Rob Panosh
Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 14, Visits: 31
Here are the versions we are using.

https://www.nevron.com/forum/uploads/images/59c40fda-cd99-4c7b-ae97-cd92.jpg

Is this the latest?

Rob



Rob Panosh
Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 14, Visits: 31
I just download the latest and updated my references.

https://www.nevron.com/forum/uploads/images/5d0bb61c-baef-4f72-ad34-27b6.jpg

The leak still seems to be there.  This is REALLY a big deal for and causing issues with our release.

Rob

Nevron Support
Posted 4 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Rob,
Thank you for reporting this problem - it is fixed not and we'll upload an updated version by the end of the week. We'll keep you posted.

Best Regards,
Nevron Support Team



Rob Panosh
Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 14, Visits: 31
Thank You!

Rob

Nevron Support
Posted 4 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Rob,

As promised you can download the amended version from this link:

http://www.nevron.com/_AUTHOR/Res/Downloads/NOV/NovSetup2019_1.zip

We hope this fixes the issue - let us know if you still experience any problems.

Best Regards,
Nevron Support Team



Rob Panosh
Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 14, Visits: 31
I will test and get back to you.

Thanks,
Rob



Similar Topics


Reading This Topic