Error: Instances of SmallInteger are not indexable 27 June 2011 1:17:52.226 pm VM: unix - Smalltalk Image: Squeak4.1 [latest update: #9957] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /home/michael/Progs/Foop/temp2/foop/pacman-smalltalk/Squeak 4.1 All-in-One.app/Contents/Resources Trusted Dir /home/michael/Progs/Foop/temp2/foop/pacman-smalltalk/Squeak 4.1 All-in-One.app/Contents/Resources/secure Untrusted Dir /home/michael/Progs/Foop/temp2/foop/pacman-smalltalk/Squeak 4.1 All-in-One.app/Contents/Resources/My Squeak SmallInteger(Object)>>error: Receiver: 10 Arguments and temporary variables: aString: 'Instances of SmallInteger are not indexable' Receiver's instance variables: 10 SmallInteger(Object)>>errorNotIndexable Receiver: 10 Arguments and temporary variables: Receiver's instance variables: 10 SmallInteger(Object)>>size Receiver: 10 Arguments and temporary variables: Receiver's instance variables: 10 StrikeFont(AbstractFont)>>widthOfString: Receiver: a StrikeFont(Bitmap DejaVu Sans 9 14) Arguments and temporary variables: aString: 10 Receiver's instance variables: characterToGlyphMap: #(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ...etc... xTable: #(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 7...etc... glyphs: Form(1646x14x16) name: 'Bitmap DejaVu Sans 9' type: 0 minAscii: 32 maxAscii: 255 maxWidth: 0 strikeLength: nil ascent: 11 descent: 3 xOffset: nil raster: nil subscript: -3 superscript: 2 emphasis: 0 derivativeFonts: {a StrikeFont(Bitmap DejaVu Sans 9B 14) . a StrikeFont(Bitmap ...etc... pointSize: 9 fallbackFont: a FixedFaceFont charIndex: 38 --- The full stack --- SmallInteger(Object)>>error: SmallInteger(Object)>>errorNotIndexable SmallInteger(Object)>>size StrikeFont(AbstractFont)>>widthOfString: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - StringMorph>>measureContents StringMorph>>fitContents StringMorph>>contents: GameMenu>>setPoints:playerChar: GameMenu>>makeControlPanel GameMenu>>initialize GameMenu class(Behavior)>>new PacmanApp>>initialize PacmanApp class(Behavior)>>new UndefinedObject>>DoIt Compiler>>evaluate:in:to:notifying:ifFail:logged: [] in SmalltalkEditor(TextEditor)>>evaluateSelection BlockClosure>>on:do: SmalltalkEditor(TextEditor)>>evaluateSelection SmalltalkEditor(TextEditor)>>doIt SmalltalkEditor(TextEditor)>>doIt: SmalltalkEditor(TextEditor)>>dispatchOnCharacter:with: SmalltalkEditor(TextEditor)>>readKeyboard [] in TextMorphForEditView(TextMorph)>>keyStroke: TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent: TextMorphForEditView>>handleInteraction:fromEvent: 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