feenkcom / gtoolkit

Glamorous Toolkit is the Moldable Development environment. It empowers you to make systems explainable through experiences tailored for each problem.
https://gtoolkit.com
MIT License
1.08k stars 46 forks source link

Editor: lines instance variable is nil, do: sent to nil #1726

Closed JurajKubelka closed 3 years ago

JurajKubelka commented 3 years ago

System info

Debugger stack

UndefinedObject(Object)>>doesNotUnderstand: #distanceTo:
UndefinedObject>>doesNotUnderstand: #distanceTo:
BrEditorTextFlowLayout>>findClosestLineTo:
BrEditorTextFlowLayout>>findClosestChildOf:to:
BrTextEditorLineSegmentHolder>>explicitScreenToCursor:
BrTextEditorExplicitScreenToCursorTransformation>>evaluateOn:
BrTextEditorLineSegmentHolder>>screenToCursor:
BrTextEditorScreenToCursorHolderCommand>>executeOn:
BrTextEditorScreenToCursorHolderCommand(BrTextEditorHolderCommand)>>sendTo:
BlInfiniteElementDataSourceObserver>>onItemsEvent:
BlInfiniteDataSourceItemRangeEvent>>sendTo:
BlInfiniteElementDataSourceObserver(BlInfiniteDataSourceObserver)>>handleEvent:
BlHandlerAnnouncementSubscription>>deliver:
[ "Ensure delivery to remaining announcements" subscription deliver: anAnnouncement ] in SubscriptionRegistry>>deliver:to:startingAt: in Block: [ "Ensure delivery to remaining announcements" sub...etc...
BlockClosure>>ifCurtailed:
SubscriptionRegistry>>deliver:to:startingAt:
SubscriptionRegistry>>deliver:to:
SubscriptionRegistry>>deliver:
Announcer>>announce:
BlHandlerAnnouncerRegistry>>dispatchEvent:
BlDirectEventDispatcher>>dispatchEvent:next:
BlDirectEventDispatcher(BlEventDispatcher)>>dispatchEvent:
BrTextEditor(BlInfiniteDataSource)>>dispatchEvent:
BrTextEditor(BlInfiniteDataSource)>>notifyWithEvent:
BrTextEditor(BlInfiniteDataSource)>>notifyItems:event:
BrTextEditor>>enqueueHolderCommand:interval:
BrTextEditorScreenToCursorCommand>>explicitScreenToCursor:for:
BrTextEditorExplicitScreenToCursorTransformation>>evaluateOn:for:
BrTextEditorScreenToCursorCommand>>executeOn:
BrTextEditor>>enqueueCommand:
JurajKubelka commented 3 years ago

Another observation: It looks like after the error, the text editor behaves like selecting a text, despite the fact that I am just moving a cursor. The tab is anyway necessary to close, because it continue opening debuggers with the same issue in a loop.

onierstrasz commented 3 years ago

I am getting this issue frequently when I click in a Playground.