Mantis - Squeak
Viewing Issue Advanced Details
1284 System minor always 05-30-05 18:37 03-01-06 19:05
bjb  
MarcusDenker  
normal  
closed 3.8  
fixed  
none    
none 3.9  
0001284: "Smalltalk condenseSources" leads to UndefinedObject(Object)>>error:
I try to do a Smalltalk condenseSources on a fresh 3.8 final image and I get following error:

30 May 2005 9:06:02 am

VM: Win32 - a SmalltalkImage
Image: Squeak3.8 [latest update: 0006665]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\squeak
Trusted Dir C:\squeak\ProvoostP
Untrusted Dir C:\My Squeak\ProvoostP



UndefinedObject(Object)>>error:
    Receiver: nil
    Arguments and temporary variables:
        aString: 'Instances of UndefinedObject are not indexable'
    Receiver's instance variables:
nil

UndefinedObject(Object)>>errorNotIndexable
    Receiver: nil
    Arguments and temporary variables:

    Receiver's instance variables:
nil

UndefinedObject(Object)>>size
    Receiver: nil
    Arguments and temporary variables:

    Receiver's instance variables:
nil

FillInTheBlankMorph>>selectionInterval
    Receiver: a FillInTheBlankMorph(458)
    Arguments and temporary variables:

    Receiver's instance variables:
        bounds: 0@0 corner: 400@150
        owner: nil
        submorphs: #(a SimpleButtonMorph<cancel>(3660) a
SimpleButtonMorph<accept>(1633...etc...
        fullBounds: nil
        color: (Color r: 0.945 g: 0.942 b: 0.942)
        extension: a MorphExtension (1583) [other: (cornerStyle -> #rounded)
(fillStyl...etc...
        borderWidth: 2
        borderColor: #raised
        response: nil
        done: false
        textPane: nil
        responseUponCancel: ''


--- The full stack ---
UndefinedObject(Object)>>error:
UndefinedObject(Object)>>errorNotIndexable
UndefinedObject(Object)>>size
FillInTheBlankMorph>>selectionInterval
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PluggableTextMorph>>getSelection
PluggableTextMorph>>on:text:accept:readSelection:menu:
PluggableTextMorph class>>on:text:accept:readSelection:menu:
FillInTheBlankMorph>>createTextPaneExtent:acceptBoolean:topOffset:button
AreaHeight:
FillInTheBlankMorph>>setQuery:initialAnswer:answerExtent:acceptOnCR:
FillInTheBlankMorph
class>>request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:
answerExtent:
FillInTheBlankMorph
class>>request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:
FillInTheBlankMorph
class>>request:initialAnswer:centerAt:inWorld:onCancelReturn:
FillInTheBlankMorph class>>request:initialAnswer:centerAt:inWorld:
FillInTheBlankMorph class>>request:initialAnswer:centerAt:
FillInTheBlank class>>request:initialAnswer:centerAt:
FillInTheBlank class>>request:initialAnswer:
SystemDictionary>>condenseSources
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in TextMorphEditor(ParagraphEditor)>>evaluateSelection {[rcvr class
evaluatorClass new evaluate: self selectionAsStream in: ctxt...]}
BlockContext>>on:do:
TextMorphEditor(ParagraphEditor)>>evaluateSelection
TextMorphEditor(ParagraphEditor)>>doIt
[] in TextMorphEditor(ParagraphEditor)>>doIt: {[self doIt]}
TextMorphEditor(Controller)>>terminateAndInitializeAround:
TextMorphEditor(ParagraphEditor)>>doIt:
TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
TextMorphEditor>>dispatchOnCharacter:with:
TextMorphEditor(ParagraphEditor)>>readKeyboard
TextMorphEditor>>readKeyboard
[] in TextMorphForEditView(TextMorph)>>keyStroke: {[editor readKeyboard]}
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: {[ActiveHand := self.
ActiveEvent := anEvent. result := focusHolder han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:h | ActiveHand := h. h processEvents. capturingGesture := capturingGest...]}
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]}


I use the 3.7.7 VM. After proceeding the condenseSources seems to succeed, however later in the browser the sources are corrupt.

Can anybody confirm this behaviour? What is causing this?

Cheers,

P. Provoost.
The Netherlands.
p.provoost@rn.rabobank.nl
child of 0007002new  The Mother of all issues involving interval 
 FixCondenseSources-md.1.cs [^] (2,571 bytes) 03-01-06 01:13

Notes
(0001549)
tim   
05-30-05 20:39   
Note that the error appears in FillInTheBlankMorph>selectionInterval. Probably not much to actually relate to the condenseSources stuff.
(0004234)
MarcusDenker   
03-01-06 01:13   
for 7005
(0004267)
MarcusDenker   
03-01-06 19:04   
7005