Hi,
I have a LibraryView and Document and DocumentView living on a dialog and when I instantiate, during the initialization, I am seeing "
Failed to reset viewport preview. Exception was: Object reference not set to an instance of an object." written in the debug msg window. I am running with break-on-exceptions and it doesn't stop in my code, so I assume this is being emitted from Nevron.
This exception causes about a 2 second delay on the dialog coming up so I'd like to find a way to prevent it from getting thrown.
Is there something I am failing to hook up properly?
Thanks in advance.
Regards,
Jason Irby
Disregard.
I think I traced down the real cause of the delay. It doesn't appear the exception is the main time hit.
The real hit is loadinglibraryFromFile with a nlx. A simple lib with 4 shapes takes almost 3 sec to load.
nlb is a lot faster but for some odd reason in our app it never loads successfully. It just returns a null object with no error. THe path is fine. If I use a bogus path I do get an error. With the correct path, it just silently returns null.
In my test app it works just fine. Really bizzar. So fo now I guess I'm stuck with the nlx format.
Jason