[bug] Creating subclass of model has given recursive class and walkback

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

[bug] Creating subclass of model has given recursive class and walkback

Tim M
I just created a subclass of a Model (using the new class icon) - Entered
a name and selected model from the treeView and then I got a strange error
in the Trasncript - something like (unfortunately I forgot to cut and past
it - but pretty sure it was like the following):

BasicImageSTripper>g is undefined?

However, my class seemed to appear as a subclass of Object in my system browser
but then when I tried to change it to subclass Model (thinking that I had
mistyped something) it said that it couldn't be a subclass of itself?

Looking at the change log - it appears that I did the following:

Object subclass: #DirectDestination
        instanceVariableNames: ''
        classVariableNames: ''
        poolDictionaries: ''
        classInstanceVariableNames: ''


Object subclass: #DirectDestination
        instanceVariableNames: 'destinationId'
        classVariableNames: ''
        poolDictionaries: ''
        classInstanceVariableNames: ''

Model subclass: #DirectDestination
        instanceVariableNames: 'destinationId'
        classVariableNames: ''
        poolDictionaries: ''
        classInstanceVariableNames: ''


I then started to get all kinds of funny behavior, with a walkback like the
following - and so I had to dump my image and bring it back up. Anyone else
scene anything strange like this before?

Tim


7:11:35 pm, 10 July 2006: 'SmallInteger does not understand #key'
SmallInteger(Object)>>doesNotUnderstand:
Association>><
TreeView class(View class)>>stbConvert:fromVersion:
TreeView class(View class)>>stbConvertProxy:
STBViewProxy>>stbFixup:at:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
Association class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
Array class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
STBCollectionProxy class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
CardLayout class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
Array class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
STBViewProxy class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
Array class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
STBIdentityDictionaryProxy class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
Array class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
STBViewProxy class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext
STLInFiler(STBInFiler)>>readObjectOfClass:format:
Array class(ClassDescription)>>stbReadFrom:format:
STLInFiler(STBInFiler)>>readObjectOfClass:
STLInFiler(STBInFiler)>>basicNext