GemTalk / Rowan

a new project/package manager for Smalltalk that supports FileTree and Tonel repositories, and is independent of Monticello and Metacello
MIT License
14 stars 7 forks source link

(Rowan masterV2.1:1b2cbc0b5) loading a new Sparkle version that includes new project Announcements into image with Sparkle already loaded, gives an `Internal error -- Attempt to add a package that exists` error #680

Closed dalehenrich closed 3 years ago

dalehenrich commented 3 years ago

Here are the SHAS of the loaded projects:

Here are the SHAS of the incoming projects:

Here's the stack:

a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.

[1] UserDefinedError (AbstractException) >> _signalToDebugger @9 line 6
[2] UserDefinedError (AbstractException) >> defaultAction @2 line 18
[3] UserDefinedError (AbstractException) >> _defaultAction @4 line 4
[4] UserDefinedError (AbstractException) >> _signalWith: @5 line 25
[5] UserDefinedError (AbstractException) >> signal @2 line 47
[6] RwGsSymbolDictionaryRegistry_ImplementationV2 class (Object) >> error: @6 line 7
[7] RwGsSymbolDictionaryRegistry_ImplementationV2 class >> createLoadedPackageNamed:properties:instance: @6 line 6
[8] RwGsSymbolDictionaryRegistry_ImplementationV2 class >> createLoadedPackageFromDefinition:instance: @4 line 4
[9] RwGsSymbolDictionaryRegistryV2 >> createLoadedPackageFromDefinition:implementationClass: @2 line 5
[10] RwGsPackageAdditionSymbolDictPatchV2 >> createLoadedPackage @4 line 5
[11] [] in RwGsPatchSet_V2 >> addAndUpdateLoadedPackages @5 line 5
[12] [] in Set >> do: @7 line 11
[13] KeyValueDictionary >> keysDo: @19 line 18
[14] Set >> do: @3 line 11
[15] RwGsPatchSet_V2 >> addAndUpdateLoadedPackages @2 line 5
[16] RwGsPatchSet_V2 >> apply @15 line 18
[17] RwGsImage class >> applyModification_V2:visitorClass:instanceMigrator: @10 line 8
[18] RwGsImage class >> applyModification_V2:instanceMigrator:symbolList: @8 line 13
[19] RwPrjLoadToolV2 >> _loadProjectSetDefinition:instanceMigrator:symbolList: @16 line 21
[20] [] in RwPrjLoadToolV2 >> _doProjectSetLoad:instanceMigrator:symbolList:originalProjectSet:processedClassNames: @7 line 5
[21] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[22] RwPrjLoadToolV2 >> _doProjectSetLoad:instanceMigrator:symbolList:originalProjectSet:processedClassNames: @2 line 8
[23] RwPrjLoadToolV2 >> loadProjectSetDefinition:instanceMigrator:symbolList: @3 line 6
[24] RwPrjLoadToolV2 >> loadProjectSetDefinition:instanceMigrator: @4 line 6
[25] RwPrjLoadToolV2 >> loadProjectSetDefinition: @4 line 4
[26] RwPrjLoadToolV2 >> loadProjectNamed: @6 line 5
[27] [] in RowanProjectService >> reloadProject @12 line 2
[28] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[29] RowanProjectService >> reloadProject @2 line 3
[30] [] in RowanBrowserService >> reloadProjects:andUpdateServices: @22 line 5
[31] Array (Collection) >> do: @5 line 10
[32] RowanBrowserService >> reloadProjects:andUpdateServices: @4 line 5
[33] RowanBrowserService (Object) >> perform:withArguments: @1 line 12
[34] RowanBrowserService >> servicePerform:withArguments: @2 line 2
[35] [] in JadeServer >> updateFromSton: @35 line 13
[36] OrderedCollection (Collection) >> do: @5 line 10
[37] [] in JadeServer >> updateFromSton: @24 line 9
[38] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[39] [] in JadeServer >> updateFromSton: @12 line 14
[40] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[41] JadeServer64bit35 (JadeServer) >> updateFromSton: @2 line 23
[42] GsNMethod class >> _gsReturnToC @1 line 11
===============================================
[1] UserDefinedError (AbstractException) >> _signalToDebugger @9 line 6
    receiver oop(103209985) == a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(48399105) == 'Internal error -- Attempt to add a package that exists.'
    -gsNumber oop(18546) == 2318
    -gsReason oop(103221505) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(103220737) == 'a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.'
    -tag oop(20) == nil

temporary variables and parameters:
    blk oop(20) == nil
    res oop(20) == nil
----------------------------------------------------
[2] UserDefinedError (AbstractException) >> defaultAction @2 line 18
    receiver oop(103209985) == a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(48399105) == 'Internal error -- Attempt to add a package that exists.'
    -gsNumber oop(18546) == 2318
    -gsReason oop(103221505) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(103220737) == 'a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.'
    -tag oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[3] UserDefinedError (AbstractException) >> _defaultAction @4 line 4
    receiver oop(103209985) == a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(48399105) == 'Internal error -- Attempt to add a package that exists.'
    -gsNumber oop(18546) == 2318
    -gsReason oop(103221505) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(103220737) == 'a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.'
    -tag oop(20) == nil

temporary variables and parameters:
    res oop(20) == nil
----------------------------------------------------
[4] UserDefinedError (AbstractException) >> _signalWith: @5 line 25
    receiver oop(103209985) == a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(48399105) == 'Internal error -- Attempt to add a package that exists.'
    -gsNumber oop(18546) == 2318
    -gsReason oop(103221505) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(103220737) == 'a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.'
    -tag oop(20) == nil

temporary variables and parameters:
    inCextensionArg oop(20) == nil
    res oop(20) == nil
----------------------------------------------------
[5] UserDefinedError (AbstractException) >> signal @2 line 47
    receiver oop(103209985) == a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(48399105) == 'Internal error -- Attempt to add a package that exists.'
    -gsNumber oop(18546) == 2318
    -gsReason oop(103221505) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(103220737) == 'a UserDefinedError occurred (error 2318), reason:halt, Internal error -- Attempt to add a package that exists.'
    -tag oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[6] RwGsSymbolDictionaryRegistry_ImplementationV2 class (Object) >> error: @6 line 7
    receiver oop(37202945) == RwGsSymbolDictionaryRegistry_ImplementationV2

instance variables:

temporary variables and parameters:
    messageString oop(48399105) == 'Internal error -- Attempt to add a package that exists.'
----------------------------------------------------
[7] RwGsSymbolDictionaryRegistry_ImplementationV2 class >> createLoadedPackageNamed:properties:instance: @6 line 6
    receiver oop(37202945) == RwGsSymbolDictionaryRegistry_ImplementationV2

instance variables:

temporary variables and parameters:
    existingLoadedPackage oop(36825345) == aRwGsLoadedSymbolDictPackage Announcements-Core-GemStone-Test
    newLoadedPackage oop(20) == nil
    packageName oop(103185409) == 'Announcements-Core-GemStone-Test'
    properties oop(103246081) == aDictionary( 'name'->'Announcements-Core-GemStone-Test', 'gs_SymbolDictionary'->'Globals')
    registryInstance oop(54113025) == aRwGsSymbolDictionaryRegistryV2
----------------------------------------------------
[8] RwGsSymbolDictionaryRegistry_ImplementationV2 class >> createLoadedPackageFromDefinition:instance: @4 line 4
    receiver oop(37202945) == RwGsSymbolDictionaryRegistry_ImplementationV2

instance variables:

temporary variables and parameters:
    packageDefinition oop(103171841) == aRwPackageDefinition for Announcements-Core-GemStone-Test
    registryInstance oop(54113025) == aRwGsSymbolDictionaryRegistryV2
----------------------------------------------------
[9] RwGsSymbolDictionaryRegistryV2 >> createLoadedPackageFromDefinition:implementationClass: @2 line 5
    receiver oop(54113025) == aRwGsSymbolDictionaryRegistryV2

instance variables:
    -methodRegistry oop(58528513) == anIdentityKeyValueDictionary( )
    -packageRegistry oop(58528769) == aKeyValueDictionary( 'Rowan-GemStone-Kernel-Stubs-36x'->aRwGsLoadedSymbolDictPackage Rowan-GemStone-Kernel-Stubs-36x, 'Filein3B'->aRwGsLoadedSymbolDictPackage Filein3B, 'Sparkle-Services-Common'->aRwG...
    -symbolDictionary oop(207361) == aSymbolDictionary( name: #'Globals' )

temporary variables and parameters:
    implementationClass oop(37202945) == RwGsSymbolDictionaryRegistry_ImplementationV2
    packageDefinition oop(103171841) == aRwPackageDefinition for Announcements-Core-GemStone-Test
----------------------------------------------------
[10] RwGsPackageAdditionSymbolDictPatchV2 >> createLoadedPackage @4 line 5
    receiver oop(103210753) == aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test)

instance variables:
    -packageDefinition oop(103171841) == aRwPackageDefinition for Announcements-Core-GemStone-Test
    -projectDefinition oop(103174657) == aRwResolvedProjectV2 for Announcements

temporary variables and parameters:
    loadedPackage oop(20) == nil
    loadedProject oop(20) == nil
----------------------------------------------------
[11] [] in RwGsPatchSet_V2 >> addAndUpdateLoadedPackages @5 line 5
    receiver oop(46994945) == anExecBlock1

instance variables:

temporary variables and parameters:
    packageAdditionPatch oop(103210753) == aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test)
----------------------------------------------------
[12] [] in Set >> do: @7 line 11
    receiver oop(103176705) == anExecBlock1

instance variables:

temporary variables and parameters:
    aBlock oop(46994945) == anExecBlock1
    aKey oop(103210753) == aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test)
----------------------------------------------------
[13] KeyValueDictionary >> keysDo: @19 line 18
    receiver oop(103177217) == aKeyValueDictionary( aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test)->aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test), aRwGsPackageAdditionSymbolDictPat...

instance variables:
    -collisionLimit oop(26) == 3
    -numCollisions oop(10) == 1
    -numElements oop(26) == 3
    -tableSize oop(26) == 3

temporary variables and parameters:
    aBlock oop(103176705) == anExecBlock1
    aKey oop(103210753) == aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test)
    collisionBkt oop(20) == nil
    j oop(20) == nil
    tableIndex oop(10) == 1
----------------------------------------------------
[14] Set >> do: @3 line 11
    receiver oop(108749825) == aSet( aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test), aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Extensions-GemStone), aRwGsPackageAdditionSymbolDictPatchV2(Announcem...

instance variables:
    -_indexedPaths oop(20) == nil
    -_levels oop(20) == nil
    -_numEntries oop(20) == nil
    -_varyingSize oop(20) == nil
    -dict oop(103177217) == aKeyValueDictionary( aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test)->aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test), aRwGsPackageAdditionSymbolDictPat...

temporary variables and parameters:
    aBlock oop(46994945) == anExecBlock1
    tmp oop(2) == 0
----------------------------------------------------
[15] RwGsPatchSet_V2 >> addAndUpdateLoadedPackages @2 line 5
    receiver oop(108736001) == aRwGsPatchSet_V2

instance variables:
    -addedClasses oop(103158785) == aSet( )
    -addedMethods oop(103179009) == aSet( )
    -addedPackages oop(108749825) == aSet( aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test), aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Extensions-GemStone), aRwGsPackageAdditionSymbolDictPatchV2(Announcem...
    -addedProjects oop(103239169) == aSet( aRwGsProjectAdditionPatchV2(Announcements))
    -addedUnmanagedClasses oop(103143425) == aSet( )
    -classesWithClassVariableChanges oop(103159297) == aSet( )
    -classesWithConstraintChanges oop(103178497) == aSet( )
    -classesWithNewVersions oop(103178753) == aSet( )
    -classesWithPropertyChanges oop(103173121) == aSet( )
    -classesWithSymbolDictionaryChanges oop(103159041) == aSet( )
    -createdClasses oop(20) == nil
    -currentProjectDefinition oop(103174657) == aRwResolvedProjectV2 for Announcements
    -deletedClasses oop(103172609) == aSet( )
    -deletedMethods oop(103179265) == aSet( )
    -deletedPackages oop(103240193) == aSet( aRwGsPackageDeletionSymbolDictPatchV2(Announcements-Core-GemStone), aRwGsPackageDeletionSymbolDictPatchV2(Announcements-Core-GemStone-Test), aRwGsPackageDeletionSymbolDictPatchV2(Announcements-E...
    -deleteNewVersionMethods oop(103179521) == aSet( )
    -errors oop(103225089) == aSet( )
    -extendedClasses oop(103172865) == aSet( aRwGsClassExtensionSymbolDictPatchV2(ExecBlock), aRwGsClassExtensionSymbolDictPatchV2(TestAsserter))
    -extendedMethods oop(103223553) == aSet( )
    -instanceMigrator oop(20) == nil
    -loadSymbolList oop(20) == nil
    -methodsNeedingRecompile oop(103224321) == aSet( )
    -methodsWithPropertyChanges oop(103223809) == aSet( )
    -movedClasses oop(103173377) == aSet( aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove...
    -movedClassesSymbolList oop(103225345) == aSymbolList( aSymbolDictionary( name: #'UserGlobals' ), aSymbolDictionary( name: #'Globals' ), aSymbolDictionary( name: #'GsCompilerClasses' ), aSymbolDictionary( name: #'ObsoleteClasses' ), aSymbolDi...
    -movedMethods oop(103223297) == aSet( aRwMethodMove, aRwMethodMove, aRwMethodMove)
    -movedPackages oop(103157761) == aSet( )
    -projectsWithPropertyChanges oop(103158529) == aSet( )
    -tempSymbols oop(103224577) == aSymbolDictionary( #'Globals'->aSymbolDictionary( name: #'Globals' ), #'ErrorSymbols'->aSymbolDictionary( #'rtErrInvalidUnixUserId'->2602, #'assocErrNoElementsDetected'->2096, #'rtErrBadFormat'->2185,...

temporary variables and parameters:
----------------------------------------------------
[16] RwGsPatchSet_V2 >> apply @15 line 18
    receiver oop(108736001) == aRwGsPatchSet_V2

instance variables:
    -addedClasses oop(103158785) == aSet( )
    -addedMethods oop(103179009) == aSet( )
    -addedPackages oop(108749825) == aSet( aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Core-GemStone-Test), aRwGsPackageAdditionSymbolDictPatchV2(Announcements-Extensions-GemStone), aRwGsPackageAdditionSymbolDictPatchV2(Announcem...
    -addedProjects oop(103239169) == aSet( aRwGsProjectAdditionPatchV2(Announcements))
    -addedUnmanagedClasses oop(103143425) == aSet( )
    -classesWithClassVariableChanges oop(103159297) == aSet( )
    -classesWithConstraintChanges oop(103178497) == aSet( )
    -classesWithNewVersions oop(103178753) == aSet( )
    -classesWithPropertyChanges oop(103173121) == aSet( )
    -classesWithSymbolDictionaryChanges oop(103159041) == aSet( )
    -createdClasses oop(20) == nil
    -currentProjectDefinition oop(103174657) == aRwResolvedProjectV2 for Announcements
    -deletedClasses oop(103172609) == aSet( )
    -deletedMethods oop(103179265) == aSet( )
    -deletedPackages oop(103240193) == aSet( aRwGsPackageDeletionSymbolDictPatchV2(Announcements-Core-GemStone), aRwGsPackageDeletionSymbolDictPatchV2(Announcements-Core-GemStone-Test), aRwGsPackageDeletionSymbolDictPatchV2(Announcements-E...
    -deleteNewVersionMethods oop(103179521) == aSet( )
    -errors oop(103225089) == aSet( )
    -extendedClasses oop(103172865) == aSet( aRwGsClassExtensionSymbolDictPatchV2(ExecBlock), aRwGsClassExtensionSymbolDictPatchV2(TestAsserter))
    -extendedMethods oop(103223553) == aSet( )
    -instanceMigrator oop(20) == nil
    -loadSymbolList oop(20) == nil
    -methodsNeedingRecompile oop(103224321) == aSet( )
    -methodsWithPropertyChanges oop(103223809) == aSet( )
    -movedClasses oop(103173377) == aSet( aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove, aRwClassMove...
    -movedClassesSymbolList oop(103225345) == aSymbolList( aSymbolDictionary( name: #'UserGlobals' ), aSymbolDictionary( name: #'Globals' ), aSymbolDictionary( name: #'GsCompilerClasses' ), aSymbolDictionary( name: #'ObsoleteClasses' ), aSymbolDi...
    -movedMethods oop(103223297) == aSet( aRwMethodMove, aRwMethodMove, aRwMethodMove)
    -movedPackages oop(103157761) == aSet( )
    -projectsWithPropertyChanges oop(103158529) == aSet( )
    -tempSymbols oop(103224577) == aSymbolDictionary( #'Globals'->aSymbolDictionary( name: #'Globals' ), #'ErrorSymbols'->aSymbolDictionary( #'rtErrInvalidUnixUserId'->2602, #'assocErrNoElementsDetected'->2096, #'rtErrBadFormat'->2185,...

temporary variables and parameters:
----------------------------------------------------
[17] RwGsImage class >> applyModification_V2:visitorClass:instanceMigrator: @10 line 8
    receiver oop(37322497) == RwGsImage

instance variables:

temporary variables and parameters:
    aProjectSetModification oop(103134209) == aRwProjectSetModification
    instanceMigrator oop(50162689) == aRwGsInstanceMigrator
    newClassVersionPatchSet oop(20) == nil
    patchSet oop(108736001) == aRwGsPatchSet_V2
    visitor oop(103133953) == aRwGsImagePatchVisitor_V2
    visitorClass oop(37319681) == RwGsImagePatchVisitor_V2
----------------------------------------------------
[18] RwGsImage class >> applyModification_V2:instanceMigrator:symbolList: @8 line 13
    receiver oop(37322497) == RwGsImage

instance variables:

temporary variables and parameters:
    aProjectSetModification oop(103134209) == aRwProjectSetModification
    instanceMigrator oop(50162689) == aRwGsInstanceMigrator
    symbolList oop(2876417) == aSymbolList( aSymbolDictionary( name: #'UserGlobals' ), aSymbolDictionary( name: #'Globals' ), aSymbolDictionary( name: #'GsCompilerClasses' ), aSymbolDictionary( name: #'ObsoleteClasses' ), aSymbolDi...
----------------------------------------------------
[19] RwPrjLoadToolV2 >> _loadProjectSetDefinition:instanceMigrator:symbolList: @16 line 21
    receiver oop(103126785) == aRwPrjLoadToolV2

instance variables:

temporary variables and parameters:
    componentsWithDoits oop(103121921) == aSet( )
    diff oop(103134209) == aRwProjectSetModification
    instanceMigrator oop(50162689) == aRwGsInstanceMigrator
    loadedProjectDefinitionSet oop(103122177) == aRwProjectSetDefinition
    loadedProjects oop(20) == nil
    loadedProjectSet oop(103122433) == aRwEntitySet
    projectSetDefinitionToLoad oop(103122689) == aRwProjectSetDefinition
    symbolList oop(2876417) == aSymbolList( aSymbolDictionary( name: #'UserGlobals' ), aSymbolDictionary( name: #'Globals' ), aSymbolDictionary( name: #'GsCompilerClasses' ), aSymbolDictionary( name: #'ObsoleteClasses' ), aSymbolDi...
----------------------------------------------------
[20] [] in RwPrjLoadToolV2 >> _doProjectSetLoad:instanceMigrator:symbolList:originalProjectSet:processedClassNames: @7 line 5
    receiver oop(103119617) == anExecBlock0

instance variables:

temporary variables and parameters:
    instanceMigrator oop(50162689) == aRwGsInstanceMigrator
    projectSetDefinition oop(103122689) == aRwProjectSetDefinition
    self oop(103126785) == aRwPrjLoadToolV2
    symbolList oop(2876417) == aSymbolList( aSymbolDictionary( name: #'UserGlobals' ), aSymbolDictionary( name: #'Globals' ), aSymbolDictionary( name: #'GsCompilerClasses' ), aSymbolDictionary( name: #'ObsoleteClasses' ), aSymbolDi...
----------------------------------------------------
[21] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(103119617) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(36585985) == RwExistingVisitorAddingExistingClassNotification
    fastPath oop(268) == true
    handlerBlock oop(103117569) == anExecBlock
----------------------------------------------------
[22] RwPrjLoadToolV2 >> _doProjectSetLoad:instanceMigrator:symbolList:originalProjectSet:processedClassNames: @2 line 8
    receiver oop(103126785) == aRwPrjLoadToolV2

instance variables:

temporary variables and parameters:
    copiedProjectSetDef oop(20) == nil
    instanceMigrator oop(50162689) == aRwGsInstanceMigrator
    loadedClass oop(20) == nil
    originalProjectSet oop(103122689) == aRwProjectSetDefinition
    packageDef oop(20) == nil
    processedClassNames oop(103113729) == aSet( )
    projectDef oop(20) == nil
    projectSetDefinition oop(103122689) == aRwProjectSetDefinition
    symbolList oop(2876417) == aSymbolList( aSymbolDictionary( name: #'UserGlobals' ), aSymbolDictionary( name: #'Globals' ), aSymbolDictionary( name: #'GsCompilerClasses' ), aSymbolDictionary( name: #'ObsoleteClasses' ), aSymbolDi...
    theClass oop(20) == nil
    theClassName oop(20) == nil
    theLoadedProject oop(20) == nil
----------------------------------------------------
[23] RwPrjLoadToolV2 >> loadProjectSetDefinition:instanceMigrator:symbolList: @3 line 6
    receiver oop(103126785) == aRwPrjLoadToolV2

instance variables:

temporary variables and parameters:
    instanceMigrator oop(50162689) == aRwGsInstanceMigrator
    projectSetDefinition oop(103122689) == aRwProjectSetDefinition
    symbolList oop(2876417) == aSymbolList( aSymbolDictionary( name: #'UserGlobals' ), aSymbolDictionary( name: #'Globals' ), aSymbolDictionary( name: #'GsCompilerClasses' ), aSymbolDictionary( name: #'ObsoleteClasses' ), aSymbolDi...
----------------------------------------------------
[24] RwPrjLoadToolV2 >> loadProjectSetDefinition:instanceMigrator: @4 line 6
    receiver oop(103126785) == aRwPrjLoadToolV2

instance variables:

temporary variables and parameters:
    instanceMigrator oop(50162689) == aRwGsInstanceMigrator
    projectSetDefinition oop(103122689) == aRwProjectSetDefinition
----------------------------------------------------
[25] RwPrjLoadToolV2 >> loadProjectSetDefinition: @4 line 4
    receiver oop(103126785) == aRwPrjLoadToolV2

instance variables:

temporary variables and parameters:
    projectSetDefinitionToLoad oop(103122689) == aRwProjectSetDefinition
----------------------------------------------------
[26] RwPrjLoadToolV2 >> loadProjectNamed: @6 line 5
    receiver oop(103126785) == aRwPrjLoadToolV2

instance variables:

temporary variables and parameters:
    projectName oop(103124225) == 'Sparkle'
    projectSet oop(103122689) == aRwProjectSetDefinition
    res oop(20) == nil
----------------------------------------------------
[27] [] in RowanProjectService >> reloadProject @12 line 2
    receiver oop(103126529) == anExecBlock0

instance variables:

temporary variables and parameters:
    self oop(103124481) == aRowanProjectService:Sparkle
----------------------------------------------------
[28] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(103126529) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(152321) == Warning
    fastPath oop(268) == true
    handlerBlock oop(67835905) == anExecBlock
----------------------------------------------------
[29] RowanProjectService >> reloadProject @2 line 3
    receiver oop(103124481) == aRowanProjectService:Sparkle

instance variables:
    -branch oop(103132161) == 'dkh_issue_51'
    -changes oop(20) == nil
    -command oop(11981057) == #'update'
    -commandArgs oop(103131393) == anArray( )
    -definition oop(20) == nil
    -existsOnDisk oop(268) == true
    -isDirty oop(12) == false
    -isDiskDirty oop(12) == false
    -isLoaded oop(268) == true
    -isSkew oop(268) == true
    -name oop(103124225) == 'Sparkle'
    -organizer oop(103131649) == aClassOrganizer
    -packages oop(103132417) == anArray( )
    -projectUrl oop(103132673) == 'file:$SHARED_PROJECTS_HOME/Sparkle'
    -rowanProjectsHome oop(103132929) == '/home/dhenrich/work/j_37x/externals_st'
    -rwProject oop(20) == nil
    -sha oop(103131905) == 'cd72dda'
    -updates oop(20) == nil
    -updateType oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[30] [] in RowanBrowserService >> reloadProjects:andUpdateServices: @22 line 5
    receiver oop(67478529) == anExecBlock1

instance variables:

temporary variables and parameters:
    projectService oop(103124481) == aRowanProjectService:Sparkle
----------------------------------------------------
[31] Array (Collection) >> do: @5 line 10
    receiver oop(103135233) == anArray( aRowanProjectService:Sparkle)

instance variables:

temporary variables and parameters:
    aBlock oop(67478529) == anExecBlock1
    i oop(10) == 1
----------------------------------------------------
[32] RowanBrowserService >> reloadProjects:andUpdateServices: @4 line 5
    receiver oop(103137281) == aRowanBrowserService

instance variables:
    -allClasses oop(103141121) == anOrderedCollection( )
    -command oop(38528769) == #'reloadProjects:andUpdateServices:'
    -commandArgs oop(103140353) == anArray( anArray( aRowanProjectService:Sparkle), anOrderedCollection( aRowanProjectService:Rowan))
    -definition oop(20) == nil
    -dictionaries oop(20) == nil
    -hierarchyServices oop(20) == nil
    -newCachedClasses oop(103141633) == anArray( )
    -newCachedSelectors oop(103141377) == anArray( )
    -organizer oop(103131649) == aClassOrganizer
    -projects oop(20) == nil
    -removedMethods oop(20) == nil
    -selectedClass oop(20) == nil
    -testCount oop(20) == nil
    -testPackages oop(20) == nil
    -updates oop(20) == nil
    -updateType oop(20) == nil

temporary variables and parameters:
    answeringService oop(20) == nil
    projectNames oop(20) == nil
    projectServices oop(103135233) == anArray( aRowanProjectService:Sparkle)
    services oop(103140609) == anOrderedCollection( aRowanProjectService:Rowan)
----------------------------------------------------
[33] RowanBrowserService (Object) >> perform:withArguments: @1 line 12
    receiver oop(103137281) == aRowanBrowserService

instance variables:
    -allClasses oop(103141121) == anOrderedCollection( )
    -command oop(38528769) == #'reloadProjects:andUpdateServices:'
    -commandArgs oop(103140353) == anArray( anArray( aRowanProjectService:Sparkle), anOrderedCollection( aRowanProjectService:Rowan))
    -definition oop(20) == nil
    -dictionaries oop(20) == nil
    -hierarchyServices oop(20) == nil
    -newCachedClasses oop(103141633) == anArray( )
    -newCachedSelectors oop(103141377) == anArray( )
    -organizer oop(103131649) == aClassOrganizer
    -projects oop(20) == nil
    -removedMethods oop(20) == nil
    -selectedClass oop(20) == nil
    -testCount oop(20) == nil
    -testPackages oop(20) == nil
    -updates oop(20) == nil
    -updateType oop(20) == nil

temporary variables and parameters:
    anArray oop(103140353) == anArray( anArray( aRowanProjectService:Sparkle), anOrderedCollection( aRowanProjectService:Rowan))
    aSelectorSymbol oop(38528769) == #'reloadProjects:andUpdateServices:'
----------------------------------------------------
[34] RowanBrowserService >> servicePerform:withArguments: @2 line 2
    receiver oop(103137281) == aRowanBrowserService

instance variables:
    -allClasses oop(103141121) == anOrderedCollection( )
    -command oop(38528769) == #'reloadProjects:andUpdateServices:'
    -commandArgs oop(103140353) == anArray( anArray( aRowanProjectService:Sparkle), anOrderedCollection( aRowanProjectService:Rowan))
    -definition oop(20) == nil
    -dictionaries oop(20) == nil
    -hierarchyServices oop(20) == nil
    -newCachedClasses oop(103141633) == anArray( )
    -newCachedSelectors oop(103141377) == anArray( )
    -organizer oop(103131649) == aClassOrganizer
    -projects oop(20) == nil
    -removedMethods oop(20) == nil
    -selectedClass oop(20) == nil
    -testCount oop(20) == nil
    -testPackages oop(20) == nil
    -updates oop(20) == nil
    -updateType oop(20) == nil

temporary variables and parameters:
    collection oop(103140353) == anArray( anArray( aRowanProjectService:Sparkle), anOrderedCollection( aRowanProjectService:Rowan))
    symbol oop(38528769) == #'reloadProjects:andUpdateServices:'
----------------------------------------------------
[35] [] in JadeServer >> updateFromSton: @35 line 13
    receiver oop(103135745) == anExecBlock1

instance variables:

temporary variables and parameters:
    organizer oop(103131649) == aClassOrganizer
    service oop(103137281) == aRowanBrowserService
----------------------------------------------------
[36] OrderedCollection (Collection) >> do: @5 line 10
    receiver oop(103135489) == anOrderedCollection( aRowanLoggingService, aRowanBrowserService)

instance variables:

temporary variables and parameters:
    aBlock oop(103135745) == anExecBlock1
    i oop(18) == 2
----------------------------------------------------
[37] [] in JadeServer >> updateFromSton: @24 line 9
    receiver oop(103136257) == anExecBlock0

instance variables:

temporary variables and parameters:
    services oop(103135489) == anOrderedCollection( aRowanLoggingService, aRowanBrowserService)
----------------------------------------------------
[38] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(103136257) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(27697153) == GsInteractionRequest
    fastPath oop(268) == true
    handlerBlock oop(103139073) == anExecBlock
----------------------------------------------------
[39] [] in JadeServer >> updateFromSton: @12 line 14
    receiver oop(103131137) == anExecBlock0

instance variables:

temporary variables and parameters:
    organizer oop(103131649) == aClassOrganizer
    resultString oop(20) == nil
    self oop(108755713) == aJadeServer64bit35
    services oop(103135489) == anOrderedCollection( aRowanLoggingService, aRowanBrowserService)
    stonString oop(103242497) == 'OrderedCollection[RowanLoggingService{#command:#logReceivedServices,#commandArgs:[],#id:0,#groupId:29135,#services:OrderedCollection[RowanBrowserService{#command:#''reloadProjects:andUpdateServices:'...
----------------------------------------------------
[40] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(103131137) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(130817) == Error
    fastPath oop(268) == true
    handlerBlock oop(67644673) == anExecBlock1
----------------------------------------------------
[41] JadeServer64bit35 (JadeServer) >> updateFromSton: @2 line 23
    receiver oop(108755713) == aJadeServer64bit35

instance variables:
    -classList oop(20) == nil
    -classOrganizers oop(103127553) == anArray( nil, nil, nil, 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(103131649) == aClassOrganizer
    resultString oop(20) == nil
    services oop(103135489) == anOrderedCollection( aRowanLoggingService, aRowanBrowserService)
    stonString oop(103242497) == 'OrderedCollection[RowanLoggingService{#command:#logReceivedServices,#commandArgs:[],#id:0,#groupId:29135,#services:OrderedCollection[RowanBrowserService{#command:#''reloadProjects:andUpdateServices:'...
----------------------------------------------------
[42] GsNMethod class >> _gsReturnToC @1 line 11
    receiver oop(144897) == GsNMethod

instance variables:

temporary variables and parameters:
dalehenrich commented 3 years ago

This error was hit while testing the addition of the Announcements project, see GemTalk/Sparkle#51

dalehenrich commented 3 years ago

reproduced the bug using RwRowanSample9Test>>testSpec_0064_2 ... according to the RwProjectSetModification, there is a moved class (the class in the duplicate package), but there is no RwPackageMove created ... we do have an RwPackageMove class, but it is not used ... so it seems that we've now got a use case!

dalehenrich commented 3 years ago

fixed as of 10cb3b1

dalehenrich commented 3 years ago

Upon further review, it seems that while the projects loaded without error (this tests passing), but the loaded package structure is not correct after the load ... it seems that the package that should have moved did not ...

The code that I "commented out" seems to be needed sooner than I anticipated

dalehenrich commented 3 years ago

okay ... progress ... the packages are associated with the Announcements loaded project (rowanProjectName is correct), but the loaded packages are NOT REGISTERED with the loaded project, so the list of packages in the loaded project is still empty (and the package still show up Sparkle) ... inch by inch :)

dalehenrich commented 3 years ago

the test/patch in fb7afbd represents the exact test case that triggered this bug report, however, it is now prudent to extend the test cases to include changes to the class and methods in the moved package to ensure that we've covered just about all of the possibilties

dalehenrich commented 3 years ago

with commit dfef7ec, this bug is now well and truly fixed ... additional test coverage passing