[BUG]UndefinedObject(Object)>>doesNotUnderstand: #asInteger

daria.spescha at id.unibe.ch daria.spescha at id.unibe.ch
Mon Jun 27 11:14:26 UTC 2005


I was trying to load the monticello packages for WxWidgets (v. 0.4 win32
src). 
When I looked into the the stack, the dictionary EventSymbols in class
WxEvtHandler has just one entry with key "nil". I loaded WxBootstrap
first. Does anyone have an idea, what went wrong? I'm using the wxsqueak
virtual machine downloadable from the wxSqueak homepage. 

Thanks!

27 June 2005 1:08:29 pm

VM: Win32 - a SmalltalkImage
Image: Squeak3.7 [latest update: #5989]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir C:\squeak3.7\wxSqueak\wxsqueak0.4-win32-src
Trusted Dir C:\squeak3.7\wxSqueak\wxsqueak0.4-win32-src\dspescha
Untrusted Dir C:\My Squeak\dspescha

UndefinedObject(Object)>>doesNotUnderstand: #asInteger
	Receiver: nil
	Arguments and temporary variables: 
		aMessage: 	asInteger
	Receiver's instance variables: 
nil

Wx class>>getEventClassForType:
	Receiver: Wx
	Arguments and temporary variables: 
		eventType: 	nil
	Receiver's instance variables: 
		superclass: 	WxBase
		methodDict: 	a MethodDictionary()
		format: 	132
		instanceVariables: 	nil
		organization: 	nil
		subclasses: 	nil
		name: 	#Wx
		classPool: 	a Dictionary(#DebugFlags->nil #PluginAvailable->nil
#UseWxTools->nil...etc...
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	nil

[] in WxEvtHandler class>>initializeEventClasses {[:eventType | 
eventClassName := Wx getEventClassForType: eventType.  eventC...]}
	Arguments and temporary variables: 
		eventClassName: 	nil
		eventClass: 	nil
		eventType: 	nil

[] in Dictionary>>keysDo: {[:association | aBlock value: association
key]}
	Arguments and temporary variables: 
		aBlock: 	[] in WxEvtHandler class>>initializeEventClasses {[:eventType
|  eventC...etc...
		association: 	nil->'wxEvtWizardPageChanging'


--- The full stack ---
UndefinedObject(Object)>>doesNotUnderstand: #asInteger
Wx class>>getEventClassForType:
[] in WxEvtHandler class>>initializeEventClasses {[:eventType | 
eventClassName := Wx getEventClassForType: eventType.  eventC...]}
[] in Dictionary>>keysDo: {[:association | aBlock value: association
key]}
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dictionary(Set)>>do:
Dictionary>>associationsDo:
Dictionary>>keysDo:
WxEvtHandler class>>initializeEventClasses
WxEvtHandler class>>initialize
MCMethodDefinition>>postload
MCMethodDefinition(MCDefinition)>>postloadOver:
[] in MCPackageLoader>>basicLoad {[:ea | ea   postloadOver: (self
obsoletionFor: ea)]}
[] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
{[:each :i |  bar value: i.  aBlock value: each]}
OrderedCollection(SequenceableCollection)>>withIndexDo:
[] in OrderedCollection(SequenceableCollection)>>do:displayingProgress:
{[:bar | self   withIndexDo: [:each :i |     bar value: i.    aBlock
value: e...]}
ProgressInitiationException>>defaultAction
UndefinedObject>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
MethodContext(ContextPart)>>handleSignal:
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
String>>displayProgressAt:from:to:during:
OrderedCollection(SequenceableCollection)>>do:displayingProgress:
[] in MCPackageLoader>>basicLoad {[additions   do: [:ea | self
tryToLoad: ea]   displayingProgress: 'Loading.....]}
BlockContext>>on:do:
[] in MCPackageLoader>>basicLoad {[[additions   do: [:ea | self
tryToLoad: ea]   displayingProgress: 'Loading....]}
BlockContext>>ensure:
MCPackageLoader>>basicLoad
[] in MCPackageLoader>>load {[self basicLoad]}
[] in MCPackageLoader>>useNewChangeSetDuring: {[aBlock value]}
BlockContext>>ensure:
MCPackageLoader>>useNewChangeSetDuring:
MCPackageLoader>>load
MCVersionLoader>>load
MCVersionLoader class>>loadVersion:
MCVersion>>load
MCFileRepositoryInspector(MCVersionInspector)>>load
MCFileRepositoryInspector>>load
MCFileRepositoryInspector(MCTool)>>performButtonAction:enabled:
PluggableButtonMorph>>performAction
[] in PluggableButtonMorph>>mouseUp: {[:m | (m containsPoint: evt
cursorPoint)   ifTrue: [m performAction]]}
Array(SequenceableCollection)>>do:
PluggableButtonMorph>>mouseUp:
PluggableButtonMorph(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
PluggableButtonMorph(Morph)>>handleEvent:
PluggableButtonMorph(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>>sendMouseEvent:
HandMorph>>handleEvent:
...etc...



More information about the Squeak-dev mailing list