[BUG]MorphicModel2247(Object)>>doesNotUnderstand: #copyUniClassWith:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[BUG]MorphicModel2247(Object)>>doesNotUnderstand: #copyUniClassWith:

Hannes Hirzel
Hello

When I drop an Instance of a PasteUpMorph into the ProjectView window
of another project I get the error message below.

This is in a 5.1beta image but with the updates applied so that it is
similar to the release image (I assume). This also happens in 6.0alpha
most recent update but not allways.

Any suggestions how I can fix this?
Is a subclass of MorphicModel a UniClass? How can I detect a UniClass?

--Hannes



VM: unix - Smalltalk
Image: Squeak5.1rc2 [latest update: #16535]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/user/sq5.1.beta-F/Squeak5.1beta-16420-32bit-r3397-All-in-One.app/Contents/Resources
Trusted Dir /home/user/sq5.1.beta-F/Squeak5.1beta-16420-32bit-r3397-All-in-One.app/Contents/Resources/secure
Untrusted Dir /home/user/sq5.1.beta-F/Squeak5.1beta-16420-32bit-r3397-All-in-One.app/Contents/Resources/My
Squeak

MorphicModel2247(Object)>>doesNotUnderstand: #copyUniClassWith:
        Receiver: a MorphicModel2247(2217950)
        Arguments and temporary variables:
                aMessage: copyUniClassWith: a DeepCopier
                exception: MessageNotUnderstood: MorphicModel2247>>copyUniClassWith:
                resumeValue: nil
        Receiver's instance variables:
                bounds: 0@0 corner: 200@100
                owner: nil
                submorphs: #()
                fullBounds: nil
                color: Color transparent
                extension: a MorphExtension (2831207) [other:  (borderStyle -> a
SimpleBorder)]...etc...
                borderWidth: 2
                borderColor: Color yellow
                model: nil
                slotName: nil
                open: false

MorphicModel2247(Object)>>veryDeepCopyWith:
        Receiver: a MorphicModel2247(2217950)
        Arguments and temporary variables:
                deepCopier: a DeepCopier
                class: MorphicModel2247
                index: nil
                sub: nil
                subAss: nil
                new: a MorphicModel2247(3918826)
                uc: nil
                sup: nil
                has: nil
                mine: nil
                xx: nil
                xxLimiT: nil
        Receiver's instance variables:
                bounds: 0@0 corner: 200@100
                owner: nil
                submorphs: #()
                fullBounds: nil
                color: Color transparent
                extension: a MorphExtension (2831207) [other:  (borderStyle -> a
SimpleBorder)]...etc...
                borderWidth: 2
                borderColor: Color yellow
                model: nil
                slotName: nil
                open: false

MorphicModel2247(Morph)>>veryDeepCopyWith:
        Receiver: a MorphicModel2247(2217950)
        Arguments and temporary variables:
                deepCopier: a DeepCopier
        Receiver's instance variables:
                bounds: 0@0 corner: 200@100
                owner: nil
                submorphs: #()
                fullBounds: nil
                color: Color transparent
                extension: a MorphExtension (2831207) [other:  (borderStyle -> a
SimpleBorder)]...etc...
                borderWidth: 2
                borderColor: Color yellow
                model: nil
                slotName: nil
                open: false

PasteUpMorph(Object)>>veryDeepCopyWith:
        Receiver: a PasteUpMorph(3556218)
        Arguments and temporary variables:
                deepCopier: a DeepCopier
                class: PasteUpMorph
                index: 10
                sub: a MorphicModel2247(2217950)
                subAss: nil
                new: a PasteUpMorph(553920)
                uc: nil
                sup: PasteUpMorph
                has: false
                mine: #('presenter' 'model' 'cursor' 'padding' 'backgroundMorph'
'turtleTrailsF...etc...
                xx: 12
                xxLimiT: 13
        Receiver's instance variables:
                bounds: 23@48 corner: 663@528
                owner: a PasteUpMorph4(3881707) [world]
                submorphs: {a TextMorph<Text11>(1743569) . a
TextMorph<Text9>(932412) . a TextMorph...etc...
                fullBounds: 23@48 corner: 663@528
                color: (Color r: 0.825 g: 0.825 b: 0.825)
                extension: a MorphExtension (2902375) [sticky]  [other:
(creationDate -> 26 Se...etc...
                borderWidth: 1
                borderColor: (Color r: 0.861 g: 1 b: 0.722)
                presenter: nil
                model: a MorphicModel2247(2217950)
                cursor: 1
                padding: 3
                backgroundMorph: nil
                turtleTrailsForm: nil
                turtlePen: nil
                lastTurtlePositions: nil
                isPartsBin: nil
                indicateCursor: nil
                wantsMouseOverHalos: nil
                worldState: nil
                griddingOn: nil

PasteUpMorph(Morph)>>veryDeepCopyWith:
        Receiver: a PasteUpMorph(3556218)
        Arguments and temporary variables:
                deepCopier: a DeepCopier
        Receiver's instance variables:
                bounds: 23@48 corner: 663@528
                owner: a PasteUpMorph4(3881707) [world]
                submorphs: {a TextMorph<Text11>(1743569) . a
TextMorph<Text9>(932412) . a TextMorph...etc...
                fullBounds: 23@48 corner: 663@528
                color: (Color r: 0.825 g: 0.825 b: 0.825)
                extension: a MorphExtension (2902375) [sticky]  [other:
(creationDate -> 26 Se...etc...
                borderWidth: 1
                borderColor: (Color r: 0.861 g: 1 b: 0.722)
                presenter: nil
                model: a MorphicModel2247(2217950)
                cursor: 1
                padding: 3
                backgroundMorph: nil
                turtleTrailsForm: nil
                turtlePen: nil
                lastTurtlePositions: nil
                isPartsBin: nil
                indicateCursor: nil
                wantsMouseOverHalos: nil
                worldState: nil
                griddingOn: nil

PasteUpMorph>>veryDeepCopyWith:
        Receiver: a PasteUpMorph(3556218)
        Arguments and temporary variables:
                deepCopier: a DeepCopier
        Receiver's instance variables:
                bounds: 23@48 corner: 663@528
                owner: a PasteUpMorph4(3881707) [world]
                submorphs: {a TextMorph<Text11>(1743569) . a
TextMorph<Text9>(932412) . a TextMorph...etc...
                fullBounds: 23@48 corner: 663@528
                color: (Color r: 0.825 g: 0.825 b: 0.825)
                extension: a MorphExtension (2902375) [sticky]  [other:
(creationDate -> 26 Se...etc...
                borderWidth: 1
                borderColor: (Color r: 0.861 g: 1 b: 0.722)
                presenter: nil
                model: a MorphicModel2247(2217950)
                cursor: 1
                padding: 3
                backgroundMorph: nil
                turtleTrailsForm: nil
                turtlePen: nil
                lastTurtlePositions: nil
                isPartsBin: nil
                indicateCursor: nil
                wantsMouseOverHalos: nil
                worldState: nil
                griddingOn: nil

PasteUpMorph(Object)>>veryDeepCopy
        Receiver: a PasteUpMorph(3556218)
        Arguments and temporary variables:
                copier: a DeepCopier
                new: nil
        Receiver's instance variables:
                bounds: 23@48 corner: 663@528
                owner: a PasteUpMorph4(3881707) [world]
                submorphs: {a TextMorph<Text11>(1743569) . a
TextMorph<Text9>(932412) . a TextMorph...etc...
                fullBounds: 23@48 corner: 663@528
                color: (Color r: 0.825 g: 0.825 b: 0.825)
                extension: a MorphExtension (2902375) [sticky]  [other:
(creationDate -> 26 Se...etc...
                borderWidth: 1
                borderColor: (Color r: 0.861 g: 1 b: 0.722)
                presenter: nil
                model: a MorphicModel2247(2217950)
                cursor: 1
                padding: 3
                backgroundMorph: nil
                turtleTrailsForm: nil
                turtlePen: nil
                lastTurtlePositions: nil
                isPartsBin: nil
                indicateCursor: nil
                wantsMouseOverHalos: nil
                worldState: nil
                griddingOn: nil

ProjectViewMorph>>acceptDroppingMorph:event:
        Receiver: a ProjectViewMorph(3378337)
        Arguments and temporary variables:
                morphToDrop: a PasteUpMorph(3556218)
                evt: [384@639 dropEvent]
                myCopy: nil
                smallR: nil
        Receiver's instance variables:
                bounds: 237@582 corner: 527@750
                owner: a SystemWindow<Susanna>(1423013)
                submorphs: {an AlignmentMorph(589206)}
                fullBounds: 237@582 corner: 527@750
                color: Color blue
                extension: a MorphExtension (799113) [other:  (layoutFrame -> a
LayoutFrame) (l...etc...
                image: Form(290x168x32)
                project: a MorphicProject4 (Susanna) in a PasteUpMorph4(722271) [world]
                lastProjectThumbnail: Form(237x165x32)

ProjectViewMorph(Morph)>>handleDropMorph:
        Receiver: a ProjectViewMorph(3378337)
        Arguments and temporary variables:
                anEvent: [384@639 dropEvent]
                aMorph: a PasteUpMorph(3556218)
                localPt: 382.0@896.0
        Receiver's instance variables:
                bounds: 237@582 corner: 527@750
                owner: a SystemWindow<Susanna>(1423013)
                submorphs: {an AlignmentMorph(589206)}
                fullBounds: 237@582 corner: 527@750
                color: Color blue
                extension: a MorphExtension (799113) [other:  (layoutFrame -> a
LayoutFrame) (l...etc...
                image: Form(290x168x32)
                project: a MorphicProject4 (Susanna) in a PasteUpMorph4(722271) [world]
                lastProjectThumbnail: Form(237x165x32)

DropEvent>>sentTo:
        Receiver: [384@639 dropEvent]
        Arguments and temporary variables:
                anObject: a ProjectViewMorph(3378337)
        Receiver's instance variables:
                timeStamp: nil
                source: a HandMorph(3246282)
                position: 384@639
                contents: a PasteUpMorph(3556218)
                wasHandled: true

ProjectViewMorph(Morph)>>handleEvent:
        Receiver: a ProjectViewMorph(3378337)
        Arguments and temporary variables:
                anEvent: [384@639 dropEvent]
                filteredEvent: [384@639 dropEvent]
        Receiver's instance variables:
                bounds: 237@582 corner: 527@750
                owner: a SystemWindow<Susanna>(1423013)
                submorphs: {an AlignmentMorph(589206)}
                fullBounds: 237@582 corner: 527@750
                color: Color blue
                extension: a MorphExtension (799113) [other:  (layoutFrame -> a
LayoutFrame) (l...etc...
                image: Form(290x168x32)
                project: a MorphicProject4 (Susanna) in a PasteUpMorph4(722271) [world]
                lastProjectThumbnail: Form(237x165x32)

MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [384@639 dropEvent]
                aHandler: a ProjectViewMorph(3378337)
                aMorph: a ProjectViewMorph(3378337)
                result: #rejected
                filteredEvent: [384@639 dropEvent]
        Receiver's instance variables:
                lastType: #dropEvent
                lastDispatch: #dispatchDropEvent:with:

MorphicEventDispatcher>>dispatchDropEvent:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [384@639 dropEvent]
                aMorph: a ProjectViewMorph(3378337)
        Receiver's instance variables:
                lastType: #dropEvent
                lastDispatch: #dispatchDropEvent:with:

MorphicEventDispatcher>>dispatchEvent:with:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
                anEvent: [384@639 dropEvent]
                aMorph: a ProjectViewMorph(3378337)
        Receiver's instance variables:
                lastType: #dropEvent
                lastDispatch: #dispatchDropEvent:with:

ProjectViewMorph(Morph)>>processEvent:using:
        Receiver: a ProjectViewMorph(3378337)
        Arguments and temporary variables:
                anEvent: [384@639 dropEvent]
                defaultDispatcher: a MorphicEventDispatcher
                filteredEvent: [384@639 dropEvent]
        Receiver's instance variables:
                bounds: 237@582 corner: 527@750
                owner: a SystemWindow<Susanna>(1423013)
                submorphs: {an AlignmentMorph(589206)}
                fullBounds: 237@582 corner: 527@750
                color: Color blue
                extension: a MorphExtension (799113) [other:  (layoutFrame -> a
LayoutFrame) (l...etc...
                image: Form(290x168x32)
                project: a MorphicProject4 (Susanna) in a PasteUpMorph4(722271) [world]
                lastProjectThumbnail: Form(237x165x32)

[] in MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                lastType: #dropEvent
                lastDispatch: #dispatchDropEvent:with:

Array(SequenceableCollection)>>do:
        Receiver: {a ProjectViewMorph(3378337) . an AlignmentMorph(668587) .
a TopLeftGripMorph(1687623) . a...etc...
        Arguments and temporary variables:
                aBlock: [closure] in MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
                index: 1
                indexLimiT: 10
        Receiver's instance variables:
{a ProjectViewMorph(3378337) . an AlignmentMorph(668587) . a
TopLeftGripMorph(1687623) . a...etc...

SystemWindow(Morph)>>submorphsDo:
        Receiver: a SystemWindow<Susanna>(1423013)
        Arguments and temporary variables:
                aBlock: [closure] in MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
        Receiver's instance variables:
                bounds: 232@555 corner: 532@755
                owner: a PasteUpMorph4(3881707) [world]
                submorphs: {a ProjectViewMorph(3378337) . an AlignmentMorph(668587)
. a TopLeftGripMorph...etc...
                fullBounds: 232@555 corner: 533@756
                color: (Color r: 0.795 g: 0.795 b: 0.795)
                extension: a MorphExtension (1997163) [other:  (layoutProperties ->
a TableLayo...etc...
                borderWidth: 1
                borderColor: (Color r: 0.495 g: 0.495 b: 0.495)
                model: a MorphicProject4 (Susanna) in a PasteUpMorph4(722271) [world]
                slotName: nil
                open: false
                labelString: 'Susanna'
                stripes: {a RectangleMorph(148868) . a RectangleMorph(2226645)}
                label: a StringMorph(407595)'Susanna'
                closeBox: a SystemWindowButton(3350927)
                collapseBox: a SystemWindowButton(3737571)
                paneMorphs: {a ProjectViewMorph(3378337)}
                paneRects: nil
                collapsedFrame: nil
                fullFrame: 232@555 corner: 532@755
                isCollapsed: false
                isActive: true
                isLookingFocused: false
                menuBox: a SystemWindowButton(3485309)
                mustNotClose: false
                labelWidgetAllowance: 83
                updatablePanes: #()
                allowReframeHandles: true
                labelArea: an AlignmentMorph(668587)
                expandBox: a SystemWindowButton(2744585)

MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
        Receiver: a MorphicEventDispatcher
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                lastType: #dropEvent
                lastDispatch: #dispatchDropEvent:with:


--- The full stack ---
MorphicModel2247(Object)>>doesNotUnderstand: #copyUniClassWith:
MorphicModel2247(Object)>>veryDeepCopyWith:
MorphicModel2247(Morph)>>veryDeepCopyWith:
PasteUpMorph(Object)>>veryDeepCopyWith:
PasteUpMorph(Morph)>>veryDeepCopyWith:
PasteUpMorph>>veryDeepCopyWith:
PasteUpMorph(Object)>>veryDeepCopy
ProjectViewMorph>>acceptDroppingMorph:event:
ProjectViewMorph(Morph)>>handleDropMorph:
DropEvent>>sentTo:
ProjectViewMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:
MorphicEventDispatcher>>dispatchDropEvent:with:
MorphicEventDispatcher>>dispatchEvent:with:
ProjectViewMorph(Morph)>>processEvent:using:
[] in MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
Array(SequenceableCollection)>>do:
SystemWindow(Morph)>>submorphsDo:
MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:
MorphicEventDispatcher>>dispatchDropEvent:with:
MorphicEventDispatcher>>dispatchEvent:with:
SystemWindow(Morph)>>processEvent:using:
[] in MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
Array(SequenceableCollection)>>do:
PasteUpMorph4(Morph)>>submorphsDo:
MorphicEventDispatcher>>dispatchEvent:toSubmorphsOf:
MorphicEventDispatcher>>dispatchEvent:withHandler:withMorph:
MorphicEventDispatcher>>dispatchDropEvent:with:
MorphicEventDispatcher>>dispatchEvent:with:
PasteUpMorph4(Morph)>>processEvent:using:
[] in PasteUpMorph4(PasteUpMorph)>>processEvent:using:
BlockClosure>>ensure:
PasteUpMorph4(PasteUpMorph)>>processEvent:using:
PasteUpMorph4(Morph)>>processEvent:
[] in [] in [] in HandMorph>>sendEvent:focus:clear:
BlockClosure>>ensure:
DropEvent(MorphicEvent)>>becomeActiveDuring:
[] in [] in HandMorph>>sendEvent:focus:clear:
BlockClosure>>ensure:
HandMorph>>becomeActiveDuring:
[] in HandMorph>>sendEvent:focus:clear:
BlockClosure>>ensure:
PasteUpMorph4(PasteUpMorph)>>becomeActiveDuring:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendEvent:focus:
[] in HandMorph>>dropMorph:event:
BlockClosure>>ensure:
HandMorph>>dropMorph:event:
[] in HandMorph>>dropMorphs:
Array(SequenceableCollection)>>reverseDo:
HandMorph(Morph)>>submorphsReverseDo:
HandMorph>>dropMorphs:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph4(PasteUpMorph)>>doOneCycle
-- and more not shown --