|
The fact that you don't always get the error may indicate that sometimes these objects are Garbage Collected, and sometimes they are not.
I patched this error my making MorphTreeNode>>#selected check for a nil container:
selected: aBoolean
selected = aBoolean
ifTrue: [^ self].
container ifNil: [ ^ self ].
aBoolean
ifTrue: [container selectedMorphList add: self]
ifFalse: [selected
ifNotNil: [container selectedMorphList remove: self]].
selected := aBoolean.
self complexContents selected: aBoolean
This isn't the real fix, which would to remove the MorphTreeNodeMorph from the SpecTreeNodeModel, so that this method is never invoked. But this patch should do little harm, since normally container cannot be nil. It's better than making the user dismiss a walkback!
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Later
|
Go to Case
|
|