[squeak-dev] problem with OCompletion

Chris Muller ma.chris.m at gmail.com
Mon Dec 6 20:25:23 UTC 2010


Hi, I am trying OCompletion but have stumbled on an apparent problem
right away.  When I simply press Command+b on a class name in a
Smalltalk code editor, I receive the error below.

I'm have Ocompletion-ul.87, OcompletionSqueakCompatibility-ul.1 loaded.

In fact there are no definitions of ECController>>'editor', so it
cannot ever be anything but nil, so this is almost certainly a bug..?

Thanks,
  Chris


6 December 2010 2:22:06.292 pm

VM: unix - Smalltalk
Image: Squeak4.2alpha [latest update: #10738]

UndefinedObject(Object)>>error:
	Receiver: nil
	Arguments and temporary variables:
		aString: 	'Instances of UndefinedObject are not indexable'
	Receiver's instance variables:
nil

UndefinedObject(Object)>>errorNotIndexable
	Receiver: nil
	Arguments and temporary variables:

	Receiver's instance variables:
nil

UndefinedObject(Object)>>at:put:
	Receiver: nil
	Arguments and temporary variables:
		index: 	1
		value: 	a SmalltalkEditor
	Receiver's instance variables:
nil

OController(ECController)>>editor:
	Receiver: an OController
	Arguments and temporary variables:
		theEditor: 	a SmalltalkEditor
	Receiver's instance variables:
		model: 	a WeakArray(a Workspace)
		menuMorph: 	nil
		editor: 	nil
		context: 	nil
		oppositeChar: 	nil
		caret: 	nil
		inverseMapping: 	nil
		expanded: 	nil
		contextClass: 	OContext


--- The full stack ---
UndefinedObject(Object)>>error:
UndefinedObject(Object)>>errorNotIndexable
UndefinedObject(Object)>>at:put:
OController(ECController)>>editor:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OController>>handleKeystrokeBefore:editor:
TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView>>keyStroke:
TextMorphForEditView(TextMorph)>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
TextMorphForEditView(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
[] in PasteUpMorph>>becomeActiveDuring:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockClosure>>newProcess



More information about the Squeak-dev mailing list