[BUG]Player56(Object)>>error:
ducasse
ducasse at iam.unibe.ch
Sat Jan 10 20:15:02 UTC 2004
marcus can you check whether the fix of scott regardings the traling
blanks in class definition is in your image?
On 10 janv. 04, at 21:09, gaelli at emergent.de wrote:
> Serious Bug in Etoys: Added two instance variables for a player using
> the viewer,
> when I added the second, all types were set to nil, when I wanted to
> type the
> second, I got this error: (name of the first variable: cargo1, name of
> the second: cargo2)
> Funny thing is that the instvars look like one (cargo1cargo2)
>
>
> 10 January 2004 9:05:31 pm
>
> VM: Mac OS - a SmalltalkImage
> Image: Squeak3.7alpha [latest update: #5623]
>
> Player56(Object)>>error:
> Receiver: a Player56 (3558) named Polygon
> Arguments and temporary variables:
> aString: 'subscript is out of bounds: -4'
> Receiver's instance variables:
> dependents: nil
> costume: a PolygonMorph<Polygon>(1621)
> costumes: nil
> cargo1cargo2: 2
>
> Player56(Object)>>errorSubscriptBounds:
> Receiver: a Player56 (3558) named Polygon
> Arguments and temporary variables:
> index: -4
> Receiver's instance variables:
> dependents: nil
> costume: a PolygonMorph<Polygon>(1621)
> costumes: nil
> cargo1cargo2: 2
>
> Player56(Object)>>basicAt:
> Receiver: a Player56 (3558) named Polygon
> Arguments and temporary variables:
> index: -4
> Receiver's instance variables:
> dependents: nil
> costume: a PolygonMorph<Polygon>(1621)
> costumes: nil
> cargo1cargo2: 2
>
> Player56(Object)>>instVarAt:
> Receiver: a Player56 (3558) named Polygon
> Arguments and temporary variables:
> index: 0
> Receiver's instance variables:
> dependents: nil
> costume: a PolygonMorph<Polygon>(1621)
> costumes: nil
> cargo1cargo2: 2
>
>
> --- The full stack ---
> Player56(Object)>>error:
> Player56(Object)>>errorSubscriptBounds:
> Player56(Object)>>basicAt:
> Player56(Object)>>instVarAt:
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Player56(Object)>>instVarNamed:
> [] in Player56(Player)>>chooseSlotTypeFor: {[:anInst | anInst
> instVarNamed: slotName asString put: (anInst value...]}
> Player56 class(Behavior)>>allInstancesDo:
> Player56(Player)>>chooseSlotTypeFor:
> [] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector
> numArgs) = 0 ifTrue: [target perform: selector] ...]}
> BlockContext>>ensure:
> CursorWithMask(Cursor)>>showWhile:
> MenuItemMorph>>invokeWithEvent:
> MenuItemMorph>>mouseUp:
> MenuItemMorph>>handleMouseUp:
> MouseButtonEvent>>sentTo:
> MenuItemMorph(Morph)>>handleEvent:
> MorphicEventDispatcher>>dispatchDefault:with:
> MorphicEventDispatcher>>dispatchEvent:with:
> MenuItemMorph(Morph)>>processEvent:using:
> MorphicEventDispatcher>>dispatchDefault:with:
> MorphicEventDispatcher>>dispatchEvent:with:
> MenuMorph(Morph)>>processEvent:using:
> MenuMorph(Morph)>>processEvent:
> MenuMorph>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.
> ActiveEvent := anEvent. result := focusHolder han...]}
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendMouseEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor: {[:h | ActiveHand := h. h
> processEvents. h isGenieRecognizing ifTrue: [r...]}
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess {[[World doOneCycle. Processor
> yield. false] whileFalse. nil]}
> [] in BlockContext>>newProcess {[self value. Processor
> terminateActive]}
>
More information about the Squeak-dev
mailing list
|