Stack Trace: MessageNotUnderstood: MirrorsForSqueak`MethodMirror`1170>>enclosingClassStencil

30 views
Skip to first unread message

Jirka Daněk

unread,
Feb 19, 2014, 5:00:50 PM2/19/14
to newspeak...@googlegroups.com
What did you want to do?

What I did.

What did you do?

I evaluated (BlackMarket platform files FilePath for: '/bin/bash') stat: [:s|s halt] ifFail:nil in a Workspace window and left-clicked one of the do-its links in the right column in the call stack listing.

What happened?

The error I am reporting.

What did you expect?

to find out what do-its means

Please make sure you included all relevant information so that the problem can be verified and/or reproduced.

The error appears whenever I click any link in that column, not just that one do-its.


DETAILS:

19 February 2014 2:08:57.816412 pm

VM: unix version linux-gnu - Smalltalk
VM Name: Newspeak Virtual Machine CoInterpreter_VMMaker.oscog-eem.331
Image: nsboot-2014-02-19 [latest update: #11860]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/jirka/Bin/newspeak-2013-09-14-linux/newspeak-2013-09-14-linux/nsboot-2014-02-19
Trusted Dir /home/jirka/Bin/newspeak-2013-09-14-linux/newspeak-2013-09-14-linux/nsboot-2014-02-19/secure
Untrusted Dir /home/jirka/Bin/newspeak-2013-09-14-linux/newspeak-2013-09-14-linux/nsboot-2014-02-19/My Squeak

MirrorsForSqueak`MethodMirror`1170(KernelForSqueak`Object)>>doesNotUnderstand: #enclosingClassStencil
Receiver: MethodMirror reflecting: (Compiler>>#evaluate:in:to:notifying:ifFail:logged: "a CompiledMe...etc...
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
reflectee: (Compiler>>#evaluate:in:to:notifying:ifFail:logged: "a CompiledMetho...etc...

Debugging`Debugger`ActivationSubject`319(Debugging`Debugger`ActivationSubject)>>allMethodCategories
Receiver: Debugging`Debugger`ActivationSubject`319#4033(Compiler evaluate:in:to:notifying:ifFail:log...etc...
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
model: Compiler evaluate:in:to:notifying:ifFail:logged:
presenterX: Debugging`Debugger`ActivationPresenter`319#41(Debugging`Debugger`Ac...etc...
methodMirror_slot: nil

Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPresenter)>>assembleListOfUsefulNames
Receiver: Browsing`MethodCategoryPresenter`118#2249(Debugging`Debugger`ActivationSubject`319#4033(Co...etc...
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
parentX: HopscotchFramework`ComposerClasses`RowComposer`1636#2489
visualX: Brazil`ContainerClasses`Wrapper`2001#2379 in Brazil`AreaClasses`RowCel...etc...
decorators: nil
subject: Debugging`Debugger`ActivationSubject`319#4033(Compiler evaluate:in:to:...etc...
substanceX: HopscotchFramework`ComposerClasses`HolderComposer`1636#3335
noticeHandlerSelectorsX: nil
isEditing: false
editor: nil

Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPresenter)>>respondToClick
Receiver: Browsing`MethodCategoryPresenter`118#2249(Debugging`Debugger`ActivationSubject`319#4033(Co...etc...
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
parentX: HopscotchFramework`ComposerClasses`RowComposer`1636#2489
visualX: Brazil`ContainerClasses`Wrapper`2001#2379 in Brazil`AreaClasses`RowCel...etc...
decorators: nil
subject: Debugging`Debugger`ActivationSubject`319#4033(Compiler evaluate:in:to:...etc...
substanceX: HopscotchFramework`ComposerClasses`HolderComposer`1636#3335
noticeHandlerSelectorsX: nil
isEditing: false
editor: nil

[] in Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPresenter)>>viewerDefinition
Receiver: Browsing`MethodCategoryPresenter`118#2249(Debugging`Debugger`ActivationSubject`319#4033(Co...etc...
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
parentX: HopscotchFramework`ComposerClasses`RowComposer`1636#2489
visualX: Brazil`ContainerClasses`Wrapper`2001#2379 in Brazil`AreaClasses`RowCel...etc...
decorators: nil
subject: Debugging`Debugger`ActivationSubject`319#4033(Compiler evaluate:in:to:...etc...
substanceX: HopscotchFramework`ComposerClasses`HolderComposer`1636#3335
noticeHandlerSelectorsX: nil
isEditing: false
editor: nil

[] in Brazil`WidgetClasses`Hyperlink`2841(Brazil`WidgetClasses`Hyperlink)>>doAction
Receiver: Brazil`WidgetClasses`Hyperlink`2841#214 in Brazil`AreaClasses`Anchor`551 #'public access'
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
parent: Brazil`ContainerClasses`Wrapper`2001#2379 in Brazil`AreaClasses`RowCell...etc...
agent: a HyperlinkMorphicAgent
owner: nil
visibleA: Brazil`PlumbingClasses`Attribute`236#242 true
duct: Ducts`Duct`277#325 of: Brazil`WidgetClasses`Hyperlink`2841#214 in Brazil`...etc...
area: Brazil`AreaClasses`Anchor`551#23
boundsH: Brazil`PlumbingClasses`MappableHolder`236#468 0@0 corner: 59@12
updateLockLevel: 0
currentNaturalExtent: 59@12
textA: Brazil`PlumbingClasses`Attribute`236#560 #'public access'
fontA: Brazil`PlumbingClasses`Attribute`236#608 Brazil`PlumbingClasses`Font`236...etc...
colorA: Brazil`PlumbingClasses`Attribute`236#653 Color gray
hoverColorA: Brazil`PlumbingClasses`Attribute`236#954 (Color r: 0.0 g: 0.0 b: 0...etc...
downColorA: Brazil`PlumbingClasses`Attribute`236#1076 (Color r: 0.0 g: 0.0 b: 0...etc...
underlineNormal: false
underlineHover: true
action: [closure] in Browsing`MethodCategoryPresenter`118(Browsing`MethodCatego...etc...
dragTracker: nil

BlockClosure>>cull:
Receiver: [closure] in Brazil`WidgetClasses`Hyperlink`2841(Brazil`WidgetClasses`Hyperlink)>>doAction...etc...
Arguments and temporary variables: 
firstArg: [closure] in Browsing`MethodCategoryPresenter`118(Browsing`MethodCate...etc...
Receiver's instance variables: 
outerContext: Brazil`WidgetClasses`Hyperlink`2841(Brazil`WidgetClasses`Hyperlin...etc...
startpc: 35
numArgs: 0

BlockClosure(ProtoObject)>>ifNotNil:
Receiver: [closure] in Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPresenter)>>viewe...etc...
Arguments and temporary variables: 
ifNotNilBlock: [closure] in Brazil`WidgetClasses`Hyperlink`2841(Brazil`WidgetCl...etc...
Receiver's instance variables: 
outerContext: Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPrese...etc...
startpc: 58
numArgs: 0

Brazil`WidgetClasses`Hyperlink`2841(Brazil`WidgetClasses`Hyperlink)>>doAction
Receiver: Brazil`WidgetClasses`Hyperlink`2841#214 in Brazil`AreaClasses`Anchor`551 #'public access'
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
parent: Brazil`ContainerClasses`Wrapper`2001#2379 in Brazil`AreaClasses`RowCell...etc...
agent: a HyperlinkMorphicAgent
owner: nil
visibleA: Brazil`PlumbingClasses`Attribute`236#242 true
duct: Ducts`Duct`277#325 of: Brazil`WidgetClasses`Hyperlink`2841#214 in Brazil`...etc...
area: Brazil`AreaClasses`Anchor`551#23
boundsH: Brazil`PlumbingClasses`MappableHolder`236#468 0@0 corner: 59@12
updateLockLevel: 0
currentNaturalExtent: 59@12
textA: Brazil`PlumbingClasses`Attribute`236#560 #'public access'
fontA: Brazil`PlumbingClasses`Attribute`236#608 Brazil`PlumbingClasses`Font`236...etc...
colorA: Brazil`PlumbingClasses`Attribute`236#653 Color gray
hoverColorA: Brazil`PlumbingClasses`Attribute`236#954 (Color r: 0.0 g: 0.0 b: 0...etc...
downColorA: Brazil`PlumbingClasses`Attribute`236#1076 (Color r: 0.0 g: 0.0 b: 0...etc...
underlineNormal: false
underlineHover: true
action: [closure] in Browsing`MethodCategoryPresenter`118(Browsing`MethodCatego...etc...
dragTracker: nil

HyperlinkMorphicAgent>>respondToMouseUpLeft
Receiver: a HyperlinkMorphicAgent
Arguments and temporary variables: 

Receiver's instance variables: 
visualX: Brazil`WidgetClasses`Hyperlink`2841#214 in Brazil`AreaClasses`Anchor`5...etc...
attributeMappings: an OrderedCollection(an AttributeMapping an AttributeMapping...etc...
fullyMapped: true
morph: a BrazilStringMorph(222)#'public access'
cachedNaturalExtent: 59@12
isTrackingMousePress: false

BrazilStringMorph>>mouseUp:
Receiver: a BrazilStringMorph(222)#'public access'
Arguments and temporary variables: 
event: [867@530 mouseUp 8525756]
Receiver's instance variables: 
bounds: 824@528 corner: 883@540
owner: a BrazilContainerMorph(1648)
submorphs: #()
fullBounds: 824@528 corner: 883@540
color: Color gray
extension: a MorphExtension (932) [other:  (brazilAgent -> a HyperlinkMorphicAg...etc...
font: a StrikeFont(Accujen09 12)
emphasis: nil
contents: #'public access'
hasFocus: false
effectiveFont: nil
agent: a HyperlinkMorphicAgent
showUnderline: false

BrazilStringMorph(Morph)>>handleMouseUp:
Receiver: a BrazilStringMorph(222)#'public access'
Arguments and temporary variables: 
anEvent: [867@530 mouseUp 8525756]
Receiver's instance variables: 
bounds: 824@528 corner: 883@540
owner: a BrazilContainerMorph(1648)
submorphs: #()
fullBounds: 824@528 corner: 883@540
color: Color gray
extension: a MorphExtension (932) [other:  (brazilAgent -> a HyperlinkMorphicAg...etc...
font: a StrikeFont(Accujen09 12)
emphasis: nil
contents: #'public access'
hasFocus: false
effectiveFont: nil
agent: a HyperlinkMorphicAgent
showUnderline: false

MouseButtonEvent>>sentTo:
Receiver: [867@530 mouseUp 8525756]
Arguments and temporary variables: 
anObject: a BrazilStringMorph(222)#'public access'
Receiver's instance variables: 
timeStamp: 8525756
source: a HandMorph(3216)
type: #mouseUp
buttons: 0
position: 867@530
handler: nil
wasHandled: true
whichButton: 4

BrazilStringMorph(Morph)>>handleEvent:
Receiver: a BrazilStringMorph(222)#'public access'
Arguments and temporary variables: 
anEvent: [867@530 mouseUp 8525756]
Receiver's instance variables: 
bounds: 824@528 corner: 883@540
owner: a BrazilContainerMorph(1648)
submorphs: #()
fullBounds: 824@528 corner: 883@540
color: Color gray
extension: a MorphExtension (932) [other:  (brazilAgent -> a HyperlinkMorphicAg...etc...
font: a StrikeFont(Accujen09 12)
emphasis: nil
contents: #'public access'
hasFocus: false
effectiveFont: nil
agent: a HyperlinkMorphicAgent
showUnderline: false

BrazilStringMorph(Morph)>>handleFocusEvent:
Receiver: a BrazilStringMorph(222)#'public access'
Arguments and temporary variables: 
anEvent: [867@530 mouseUp 8525756]
Receiver's instance variables: 
bounds: 824@528 corner: 883@540
owner: a BrazilContainerMorph(1648)
submorphs: #()
fullBounds: 824@528 corner: 883@540
color: Color gray
extension: a MorphExtension (932) [other:  (brazilAgent -> a HyperlinkMorphicAg...etc...
font: a StrikeFont(Accujen09 12)
emphasis: nil
contents: #'public access'
hasFocus: false
effectiveFont: nil
agent: a HyperlinkMorphicAgent
showUnderline: false

[] in HandMorph>>sendFocusEvent:to:clear:
Receiver: a HandMorph(3216)
Arguments and temporary variables: 
<<error during printing>
Receiver's instance variables: 
bounds: 215@217 corner: 231@233
owner: a PasteUpMorph(1622) [world]
submorphs: #()
fullBounds: nil
color: Color blue
extension: a MorphExtension (539) [eventHandler = an EventHandler] 
mouseFocus: nil
keyboardFocus: a BrazilTextMorphForEditView(3890)
eventListeners: nil
mouseListeners: nil
keyboardListeners: a WeakArray(nil a NewsqueakDockingBar(3664))
mouseClickState: nil
mouseOverHandler: a MouseOverHandler
lastMouseEvent: [215@217 mouseUp 8535244]
targetOffset: 4@3
damageRecorder: a DamageRecorder
cacheCanvas: nil
cachedCanvasHasHoles: true
temporaryCursor: nil
temporaryCursorOffset: nil
hardwareCursor: nil
hasChanged: true
savedPatch: nil
userInitials: ''
lastEventBuffer: #(1 8535244 215 217 0 0 0 0)
genieGestureProcessor: nil
keyboardInterpreter: an UTF32InputInterpreter

BlockClosure>>on:do:
Receiver: [closure] in HandMorph>>sendFocusEvent:to:clear:
Arguments and temporary variables: 
exception: Error
handlerAction: [closure] in PasteUpMorph>>becomeActiveDuring:
handlerActive: false
Receiver's instance variables: 
outerContext: HandMorph>>sendFocusEvent:to:clear:
startpc: 67
numArgs: 0

PasteUpMorph>>becomeActiveDuring:
Receiver: a PasteUpMorph(1622) [world]
Arguments and temporary variables: 
aBlock: [closure] in HandMorph>>sendFocusEvent:to:clear:
priorWorld: a PasteUpMorph(1622) [world]
priorHand: a HandMorph(3216)
priorEvent: [1075@647 mouseOver red nil]
Receiver's instance variables: 
bounds: 0@0 corner: 1600@853
owner: nil
submorphs: {a BrazilSystemWindow(2187) . a BrazilSystemWindow(2367) . a BrazilS...etc...
fullBounds: nil
color: (Color r: 0.9 g: 0.9 b: 0.9)
extension: a MorphExtension (2543) [eventHandler = an EventHandler]  [other:  (...etc...
borderWidth: 0
borderColor: (Color r: 0.515 g: 0.181 b: 0.263)
presenter: a Presenter
model: a MorphicModel(3376)
cursor: 1
padding: 3
backgroundMorph: nil
turtleTrailsForm: nil
turtlePen: nil
lastTurtlePositions: nil
isPartsBin: nil
indicateCursor: nil
wantsMouseOverHalos: nil
worldState: a WorldState
griddingOn: nil

HandMorph>>sendFocusEvent:to:clear:
Receiver: a HandMorph(3216)
Arguments and temporary variables: 
anEvent: [1075@647 mouseUp 8525756]
focusHolder: a BrazilStringMorph(222)#'public access'
aBlock: [closure] in HandMorph>>sendMouseEvent:
w: a PasteUpMorph(1622) [world]
result: #(nil)
Receiver's instance variables: 
bounds: 215@217 corner: 231@233
owner: a PasteUpMorph(1622) [world]
submorphs: #()
fullBounds: nil
color: Color blue
extension: a MorphExtension (539) [eventHandler = an EventHandler] 
mouseFocus: nil
keyboardFocus: a BrazilTextMorphForEditView(3890)
eventListeners: nil
mouseListeners: nil
keyboardListeners: a WeakArray(nil a NewsqueakDockingBar(3664))
mouseClickState: nil
mouseOverHandler: a MouseOverHandler
lastMouseEvent: [215@217 mouseUp 8535244]
targetOffset: 4@3
damageRecorder: a DamageRecorder
cacheCanvas: nil
cachedCanvasHasHoles: true
temporaryCursor: nil
temporaryCursorOffset: nil
hardwareCursor: nil
hasChanged: true
savedPatch: nil
userInitials: ''
lastEventBuffer: #(1 8535244 215 217 0 0 0 0)
genieGestureProcessor: nil
keyboardInterpreter: an UTF32InputInterpreter


--- The full stack ---
MirrorsForSqueak`MethodMirror`1170(KernelForSqueak`Object)>>doesNotUnderstand: #enclosingClassStencil
Debugging`Debugger`ActivationSubject`319(Debugging`Debugger`ActivationSubject)>>allMethodCategories
Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPresenter)>>assembleListOfUsefulNames
Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPresenter)>>respondToClick
[] in Browsing`MethodCategoryPresenter`118(Browsing`MethodCategoryPresenter)>>viewerDefinition
[] in Brazil`WidgetClasses`Hyperlink`2841(Brazil`WidgetClasses`Hyperlink)>>doAction
BlockClosure>>cull:
BlockClosure(ProtoObject)>>ifNotNil:
Brazil`WidgetClasses`Hyperlink`2841(Brazil`WidgetClasses`Hyperlink)>>doAction
HyperlinkMorphicAgent>>respondToMouseUpLeft
BrazilStringMorph>>mouseUp:
BrazilStringMorph(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
BrazilStringMorph(Morph)>>handleEvent:
BrazilStringMorph(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockClosure>>newProcess

Gilad Bracha

unread,
Feb 20, 2014, 12:35:04 AM2/20/14
to newspeak...@googlegroups.com
Looks like you clicked on the category links and that crashes. The links should behave just as they do in a class browser - they should provide a menu that lets you change the category of the method (by choosing to add anew category or select among of existing categories).  Thanks for reporting the bug. You should be able to view the code in each method as normal though. 

Gilad Bracha

unread,
Feb 20, 2014, 12:47:12 AM2/20/14
to newspeak...@googlegroups.com
And the fix is now in the bleeding edge repo.

Ryan Macnak

unread,
Feb 20, 2014, 1:16:09 AM2/20/14
to newspeak...@googlegroups.com
On Wed, Feb 19, 2014 at 2:00 PM, Jirka Daněk <jirka...@gmail.com> wrote:
What did you expect?

to find out what do-its means

"Do-it" is the traditional Smalltalk name for evaluating an expression and discarding its result. Its cousins are print-it, inspect-it and debug-it. In the current Newspeak implementation on Squeak Smalltalk, if you right-click on a text selection you will find these options, but they evaluate the expression as Smalltalk code, not Newspeak. The Newspeak IDE itself provides evaluators in inspectors (ordinary inspectors, workspaces, or stack frames), which always produce a link to inspect or debug the result.
 

Ryan Macnak

unread,
Feb 20, 2014, 1:17:46 AM2/20/14
to newspeak...@googlegroups.com
On Wed, Feb 19, 2014 at 9:47 PM, Gilad Bracha <gbr...@gmail.com> wrote:
And the fix is now in the bleeding edge repo.

29e6fd8 only fixes opening the menu, not changing the category from the debugger.

Gilad Bracha

unread,
Feb 20, 2014, 1:27:14 AM2/20/14
to newspeak...@googlegroups.com
I knew it was too easy. 
--
Cheers, Gilad

Gilad Bracha

unread,
Feb 20, 2014, 11:32:04 PM2/20/14
to newspeak...@googlegroups.com, gi...@bracha.org
Ok, so now it is really fixed. You will need to choose the 'Platform resetIDE' from the Tools menu for the change to work correctly.
Reply all
Reply to author
Forward
0 new messages