NilObjectException with FTEditfield

  • From: Gerard Hammond <macsos@xxxxxxxxxxxxx>
  • To: ftcdev@xxxxxxxxxxxxx
  • Date: Wed, 19 Mar 2008 09:40:43 +1100

Hi,

I get a crash when typing fast into the FTCeditfield.

Trivial to reproduce here. MacBook Pro   OS X 10.5.2, 2007R4 IDE.
Has latest everything from Apple.

Just run the demo app, open the FTEditfield window, SELECT SOME TEXT USING THE MOUSE (say Chars 200-300), and start typing reasonably fast- ish.

FTC b15pv13


Error message =
Error number = 0

Stack:
RaiseNilObjectException
FTParagraphProxy.getHeight%f8%o<FTParagraphProxy>b
FTPage.computePositions%%o<FTPage>b
FTDocument.findInsertionPoint%b%o<FTDocument>i4i4i4i4i4i4
FormattedText.handleMouseDown%%o<FormattedText>i4i4
FormattedText.Event_MouseDown%b%o<FormattedText>i4i4
_ZN13RuntimeCanvas11HandleClickEiii
_ZN6Window11HandleClickEiii
_ZN17RuntimeViewWindow11HandleClickEiii
_ZN16PumpedEventQueue15HandleInContentEP11PumpedEventP6WindowS3_
_Z36PumpedEventQueueInternalHandleEventsv
_Z28PumpedEventQueueHandleEventsv
_Z17UpdateMouseCursorv
_Z17IsAppShuttingDownv
_Z33CallFunctionWithExceptionHandlingPFvvE
_Z8mainloopv
RuntimeRun
REALbasic._RuntimeRun
_Main
% main



Cheers.

--

Dr Gerard Hammond
http://www.macsos.com.au

The Macintosh may only have 10% of the market, but it is clearly the top 10%.


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: