[BUG][SM] Error when opening a package loader

Doug Way dway at mailcan.com
Tue Mar 9 05:06:15 UTC 2004


For some reason, when opening a package loader right now in a 
reasonably fresh 3.7alpha-5764 image (in which a package loader has not 
been opened yet), I get the error stack below.  This is even after I 
deleted the "sm" directory, which normally works as a last resort.  
(Same thing happens in a 5707 image, after it installs SM2.)

Interestingly, if I look at SMSqueakMap>>saveCheckpoint: in the debug 
stack, the value of fname is ', :map.426.sgz' which doesn't look good. 
:)  If I look in the (newly generated) sm directory, the only file in 
there is map.376.sgz .

- Doug


--------------------------------------------
Error: UndefinedObjects are not indexable
8 March 2004 11:28:33 pm

VM: Mac OS - a SmalltalkImage
Image: Squeak3.7alpha [latest update: #5763]

UndefinedObject(Object)>>error:
	Receiver: nil
	Arguments and temporary variables:
		aString: 	'UndefinedObjects 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
String(SequenceableCollection)>>copyReplaceFrom:to:with:
	Receiver: 'Error occurred when updating map:\'
	Arguments and temporary variables:
		start: 	35
		stop: 	34
		replacementCollection: 	nil
		newSequenceableCollection: 	nil
		newSize: 	nil
		endReplacement: 	nil
	Receiver's instance variables:
'Error occurred when updating map:\'

--- The full stack ---
UndefinedObject(Object)>>error:
UndefinedObject(Object)>>errorNotIndexable
UndefinedObject(Object)>>size
String(SequenceableCollection)>>copyReplaceFrom:to:with:
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
String(SequenceableCollection)>>,
[] in SMLoader>>loadUpdates {[:ex | self inform: ('Error occurred when 
updating map:\' , ex messageText) ...]}
BlockContext>>valueWithPossibleArgs:
[] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)   
valueWithPossibleArgs: {exception}]}
BlockContext>>ensure:
MethodContext(ContextPart)>>handleSignal:
InvalidDirectoryError(Exception)>>signal
MacHFSPlusFileDirectory(FileDirectory)>>directoryContentsFor:
MacHFSPlusFileDirectory(FileDirectory)>>entries
MacHFSPlusFileDirectory(FileDirectory)>>fileNames
MacHFSPlusFileDirectory(FileDirectory)>>fileExists:
SMSqueakMap>>saveCheckpoint:
[] in SMSqueakMap>>loadFullFrom: {[self saveCheckpoint: zipped]}
Time class>>millisecondsToRun:
SMSqueakMap>>loadFullFrom:
SMSqueakMap>>loadUpdatesFull:
SMSqueakMap>>loadFull
SMSqueakMap>>loadUpdates
[] in SMLoader>>loadUpdates {[squeakMap loadUpdates.  self noteChanged]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
[] in SMLoader>>loadUpdates {[Cursor wait   showWhile: [squeakMap 
loadUpdates.    self noteChanged]]}
BlockContext>>on:do:
SMLoader>>loadUpdates
SMLoader>>on:
SMLoader class>>newOn:
SMLoader class>>new
SMLoader class>>open
TheWorldMenu>>doMenuItem:with:
[] 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.  capturingGesture := capturingGest...]}
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
-- and more not shown --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 4362 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040309/40eaccf0/attachment.bin


More information about the Squeak-dev mailing list