GemTalk / Jadeite

IDE for GemStone Smalltalk application development using Rowan code management
MIT License
6 stars 2 forks source link

[3.2.13] the server file dialog can be confused #985

Open LisaAlmarode opened 1 year ago

LisaAlmarode commented 1 year ago

Opening a server file. I typed a full path and filename into the text field holding the path, but I had a class selected. While the dialog is perhaps a bit simple minded about this kind of situation, that is okay. This case should, however, put up a friendly (or, if necessary, snarky) no-such-file dialog.

image

a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.

[1] ImproperOperation (AbstractException) >> _signalToDebugger @11 line 8
[2] ImproperOperation (AbstractException) >> defaultAction @2 line 18
[3] ImproperOperation (AbstractException) >> _defaultAction @4 line 4
[4] ImproperOperation (AbstractException) >> _signalFromPrimitive @2 line 10
[5] RowanFileService >> fileContents @2 line 2
[6] RowanFileService (Object) >> perform:withArguments: @1 line 12
[7] RowanFileService (RowanService) >> servicePerform:withArguments:shouldUpdate: @3 line 6
[8] RowanFileService (RowanService) >> servicePerform:withArguments: @2 line 4
[9] [] in JadeServer >> updateFromSton: @39 line 14
[10] OrderedCollection (Collection) >> do: @5 line 10
[11] [] in JadeServer >> updateFromSton: @28 line 10
[12] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[13] [] in JadeServer >> updateFromSton: @16 line 15
[14] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[15] JadeServer64bit35 (JadeServer) >> updateFromSton: @2 line 24
[16] GsNMethod class >> _gsReturnToC @1 line 11
===============================================
[1] ImproperOperation (AbstractException) >> _signalToDebugger @11 line 8
    receiver oop(46480641) == a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(20) == nil
    -gsNumber oop(16682) == 2085
    -gsReason oop(20) == nil
    -gsResumable oop(12) == false
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(46551809) == 'a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.'
    -object oop(20) == nil
    -tag oop(20) == nil

temporary variables and parameters:
    blk oop(20) == nil
    proc oop(46126849) == GsProcess(oop=46126849, status=debug, priority=15, 
   ImproperOperation (AbstractException) >> _signalToDebugger @11 line 8
   ImproperOperation (AbstractException) >> defaultAction @2 line 18
   Imp...
    res oop(20) == nil
----------------------------------------------------
[2] ImproperOperation (AbstractException) >> defaultAction @2 line 18
    receiver oop(46480641) == a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(20) == nil
    -gsNumber oop(16682) == 2085
    -gsReason oop(20) == nil
    -gsResumable oop(12) == false
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(46551809) == 'a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.'
    -object oop(20) == nil
    -tag oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[3] ImproperOperation (AbstractException) >> _defaultAction @4 line 4
    receiver oop(46480641) == a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(20) == nil
    -gsNumber oop(16682) == 2085
    -gsReason oop(20) == nil
    -gsResumable oop(12) == false
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(46551809) == 'a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.'
    -object oop(20) == nil
    -tag oop(20) == nil

temporary variables and parameters:
    res oop(20) == nil
----------------------------------------------------
[4] ImproperOperation (AbstractException) >> _signalFromPrimitive @2 line 10
    receiver oop(46480641) == a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(20) == nil
    -gsNumber oop(16682) == 2085
    -gsReason oop(20) == nil
    -gsResumable oop(12) == false
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(46551809) == 'a ImproperOperation occurred (error 2085), Expected nil to be a Boolean.'
    -object oop(20) == nil
    -tag oop(20) == nil

temporary variables and parameters:
    num oop(20) == nil
    res oop(20) == nil
----------------------------------------------------
[5] RowanFileService >> fileContents @2 line 2
    receiver oop(46119169) == aRowanFileService

instance variables:
    -answer oop(20) == nil
    -command oop(39493377) == #'fileContents'
    -commandArgs oop(46120193) == anArray( )
    -organizer oop(46120449) == aClassOrganizer
    -path oop(46560257) == '$ROWAN_PROJECTS_HOME/fileouts/OkayClass.gs/dictionaries.gs'
    -shouldUpdate oop(268) == true
    -updates oop(46120705) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
----------------------------------------------------
[6] RowanFileService (Object) >> perform:withArguments: @1 line 12
    receiver oop(46119169) == aRowanFileService

instance variables:
    -answer oop(20) == nil
    -command oop(39493377) == #'fileContents'
    -commandArgs oop(46120193) == anArray( )
    -organizer oop(46120449) == aClassOrganizer
    -path oop(46560257) == '$ROWAN_PROJECTS_HOME/fileouts/OkayClass.gs/dictionaries.gs'
    -shouldUpdate oop(268) == true
    -updates oop(46120705) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    anArray oop(46120193) == anArray( )
    aSelectorSymbol oop(39493377) == #'fileContents'
----------------------------------------------------
[7] RowanFileService (RowanService) >> servicePerform:withArguments:shouldUpdate: @3 line 6
    receiver oop(46119169) == aRowanFileService

instance variables:
    -answer oop(20) == nil
    -command oop(39493377) == #'fileContents'
    -commandArgs oop(46120193) == anArray( )
    -organizer oop(46120449) == aClassOrganizer
    -path oop(46560257) == '$ROWAN_PROJECTS_HOME/fileouts/OkayClass.gs/dictionaries.gs'
    -shouldUpdate oop(268) == true
    -updates oop(46120705) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    collection oop(46120193) == anArray( )
    commandSymbol oop(39493377) == #'fileContents'
    possiblyUpdate oop(268) == true
----------------------------------------------------
[8] RowanFileService (RowanService) >> servicePerform:withArguments: @2 line 4
    receiver oop(46119169) == aRowanFileService

instance variables:
    -answer oop(20) == nil
    -command oop(39493377) == #'fileContents'
    -commandArgs oop(46120193) == anArray( )
    -organizer oop(46120449) == aClassOrganizer
    -path oop(46560257) == '$ROWAN_PROJECTS_HOME/fileouts/OkayClass.gs/dictionaries.gs'
    -shouldUpdate oop(268) == true
    -updates oop(46120705) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    collection oop(46120193) == anArray( )
    symbol oop(39493377) == #'fileContents'
----------------------------------------------------
[9] [] in JadeServer >> updateFromSton: @39 line 14
    receiver oop(47878657) == anExecBlock1

instance variables:

temporary variables and parameters:
    organizer oop(46120449) == aClassOrganizer
    service oop(46119169) == aRowanFileService
----------------------------------------------------
[10] OrderedCollection (Collection) >> do: @5 line 10
    receiver oop(47878401) == anOrderedCollection( aRowanLoggingService, aRowanFileService)

instance variables:

temporary variables and parameters:
    aBlock oop(47878657) == anExecBlock1
    i oop(18) == 2
----------------------------------------------------
[11] [] in JadeServer >> updateFromSton: @28 line 10
    receiver oop(47876865) == anExecBlock0

instance variables:

temporary variables and parameters:
    services oop(47878401) == anOrderedCollection( aRowanLoggingService, aRowanFileService)
----------------------------------------------------
[12] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(47876865) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(29551361) == GsInteractionRequest
    fastPath oop(268) == true
    handlerBlock oop(47872001) == anExecBlock
----------------------------------------------------
[13] [] in JadeServer >> updateFromSton: @16 line 15
    receiver oop(47871489) == anExecBlock0

instance variables:

temporary variables and parameters:
    organizer oop(46120449) == aClassOrganizer
    resultString oop(20) == nil
    self oop(47306753) == aJadeServer64bit35
    services oop(47878401) == anOrderedCollection( aRowanLoggingService, aRowanFileService)
    stonString oop(46450689) == 'OrderedCollection[RowanLoggingService{#command:#logReceivedServices,#commandArgs:[],#id:0,#groupId:394,#services:OrderedCollection[RowanFileService{#command:#fileContents,#commandArgs:[],#path:''$ROW...
----------------------------------------------------
[14] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(47871489) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(130817) == Error
    fastPath oop(268) == true
    handlerBlock oop(49250049) == anExecBlock1
----------------------------------------------------
[15] JadeServer64bit35 (JadeServer) >> updateFromSton: @2 line 24
    receiver oop(47306753) == aJadeServer64bit35

instance variables:
    -classList oop(20) == nil
    -classOrganizers oop(20) == nil
    -environment oop(2) == 0
    -methodCommandResult oop(20) == nil
    -methodFilters oop(20) == nil
    -methodFilterType oop(20) == nil
    -readStream oop(20) == nil
    -selectedClass oop(20) == nil
    -selections oop(20) == nil
    -writeStream oop(20) == nil

temporary variables and parameters:
    organizer oop(46120449) == aClassOrganizer
    resultString oop(20) == nil
    services oop(47878401) == anOrderedCollection( aRowanLoggingService, aRowanFileService)
    stonString oop(46450689) == 'OrderedCollection[RowanLoggingService{#command:#logReceivedServices,#commandArgs:[],#id:0,#groupId:394,#services:OrderedCollection[RowanFileService{#command:#fileContents,#commandArgs:[],#path:''$ROW...
----------------------------------------------------
[16] GsNMethod class >> _gsReturnToC @1 line 11
    receiver oop(144897) == GsNMethod

instance variables:

temporary variables and parameters:
ericwinger commented 1 year ago

This could be a FileSystem bug. See https://github.com/GemTalk/FileSystemGs/issues/98