Error on Win32 builds

I've come across an error that happens only on Windows builds, and its somewhat intermittent. It happens about half of the time when I open up a new window that has a FTC on it. On open, I first resize the window and the FTC based on the user's preferences. I'm finding that the program crashes with a nilObjectException error in the adjustDisplayPicture method because the variable "doc" is nil at this point. Mac builds seem to not have this problem for some reason. Also... this problem started appearing when I've upgraded to pv19.

Stack:
FormattedText.adjustDisplayPicture%%o<FormattedText>
FormattedText.resize%%o<FormattedText>
FormattedText.resized%%o<FormattedText>
MIDIEventEdit.MIDIEventEdit.ResizeWindow%%o<MIDIEventEdit.MIDIEventEdit>
MIDIEventEdit.MIDIEventEdit.Event_Resized% %o<MIDIEventEdit.MIDIEventEdit>


MIDIEventEdit is my window.


Regards,

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com


FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.


Other related posts: