Issue 4255 in pharo: Loading SLICE without changes file, throws errorSubscriptBounds

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 4255 in pharo: Loading SLICE without changes file, throws errorSubscriptBounds

pharo
Status: New
Owner: [hidden email]

New issue 4255 by [hidden email]: Loading SLICE without changes  
file, throws errorSubscriptBounds
http://code.google.com/p/pharo/issues/detail?id=4255

Pharo image: 1.3
Pharo core version: 13201
Virtual machine used: cog

If you have not the .changes file, loading SLICE  
(SLICE-Issue-1907-SetWithNilTests-GuillermoPolito.2) from Pharo inbox,

19 May 2011 9:21:06 pm

VM: unix - i686 - linux-gnu - Croquet Closure Cog VM [CoInterpreter  
VMMaker-oscog.47]
Image: Pharo1.3a [Latest update: #13204]

ByteString(Object)>>errorSubscriptBounds:
        Receiver: ''
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
''

ByteString(Object)>>at:
        Receiver: ''
        Arguments and temporary variables:
                index: 1
        Receiver's instance variables:
''

ByteString>>at:
        Receiver: ''
        Arguments and temporary variables:
                index: 1
        Receiver's instance variables:
''

ByteString(SequenceableCollection)>>replaceFrom:to:with:startingAt:
        Receiver: '


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4255 in pharo: Loading SLICE without changes file, throws errorSubscriptBounds

pharo

Comment #1 on issue 4255 by [hidden email]: Loading SLICE without  
changes file, throws errorSubscriptBounds
http://code.google.com/p/pharo/issues/detail?id=4255

Actually, if there is .changes and no .sources, the error is the following:

19 May 2011 9:31:55 pm

VM: unix - i686 - linux-gnu - Croquet Closure Cog VM [CoInterpreter  
VMMaker-oscog.47]
Image: Pharo1.3a [Latest update: #13204]

UndefinedObject(Object)>>doesNotUnderstand: #keywords
        Receiver: nil
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
nil

CompiledMethod>>getSourceReplacingSelectorWith:
        Receiver: (TPrintTest>>#testPrintElementsOn "a CompiledMethod(842792960)")
        Arguments and temporary variables:
                newSelector: #testPrintElementsOn
                oldKeywords: nil
                newKeywords: nil
                args: nil
                newSelectorWithArgs: nil
                source: ''
                oldSelector: nil
                s: nil
        Receiver's instance variables:
(TPrintTest>>#testPrintElementsOn "a CompiledMethod(842792960)")

DictionaryTest class(Behavior)>>addTraitSelector:withMethod:
        Receiver: DictionaryTest
        Arguments and temporary variables:
                aSymbol: #testPrintElementsOn
                aCompiledMethod: (TPrintTest>>#testPrintElementsOn "a  
CompiledMethod(842792960)...etc...
                source: nil
                methodAndNode: nil
        Receiver's instance variables:
                superclass: CollectionRootTest
                methodDict: a MethodDictionary(size 192)
                format: 162
                instanceVariables:
#('emptyDict' 'nonEmptyDict' 'nonEmpty5ElementsNoDuplicates'...etc...
                organization: ('helpers' aValue anIndex anotherValue)
('requirement' anotherEle...etc...
                subclasses: {SmallDictionaryTest. IdentityDictionaryTest.  
LiteralDictionaryTest...etc...
                name: #DictionaryTest
                classPool: nil
                sharedPools: nil
                environment: a SystemDictionary(lots of globals)
                category: #'CollectionsTests-Unordered'
                traitComposition: TIncludesTest + TDictionaryAddingTest +  
TDictionaryComparingT...etc...
                localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent  
#testDictionaryC...etc...
                history: a Dictionary(#errors->a Set() #failures->a Set() #passed->a  
Set() #tim...etc...
                testToto: nil
                pt1: nil

[:methodDescription |
| effectiveMethod selector |
selector := methodDescription selector.
        (self includesLocalSelector: selector)
                ifFalse: [methodDescription isEmpty
                                ifTrue: [self removeTraitSelector: selector.
                                        modifiedSelectors add: selector]
                                ifFalse: [effectiveMethod := methodDescription effectiveMethod.
                                        self addTraitSelector: selector withMethod: effectiveMethod.
                                        modifiedSelectors add: selector]]] in DictionaryTest  
class(Behavior)>>updateMethodDictionarySelector:
        Receiver: DictionaryTest
        Arguments and temporary variables:
                modifiedSelectors: a TraitMethodDescription
                methodDescription: an IdentitySet()
                effectiveMethod: (TPrintTest>>#testPrintElementsOn "a  
CompiledMethod(842792960)...etc...
                selector: #testPrintElementsOn
        Receiver's instance variables:
                superclass: CollectionRootTest
                methodDict: a MethodDictionary(size 192)
                format: 162
                instanceVariables:
#('emptyDict' 'nonEmptyDict' 'nonEmpty5ElementsNoDuplicates'...etc...
                organization: ('helpers' aValue anIndex anotherValue)
('requirement' anotherEle...etc...
                subclasses: {SmallDictionaryTest. IdentityDictionaryTest.  
LiteralDictionaryTest...etc...
                name: #DictionaryTest
                classPool: nil
                sharedPools: nil
                environment: a SystemDictionary(lots of globals)
                category: #'CollectionsTests-Unordered'
                traitComposition: TIncludesTest + TDictionaryAddingTest +  
TDictionaryComparingT...etc...
                localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent  
#testDictionaryC...etc...
                history: a Dictionary(#errors->a Set() #failures->a Set() #passed->a  
Set() #tim...etc...
                testToto: nil
                pt1: nil

OrderedCollection>>do:
        Receiver: an OrderedCollection(a TraitMethodDescription)
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                array: an Array(a TraitMethodDescription)
                firstIndex: 1
                lastIndex: 1

DictionaryTest class(Behavior)>>updateMethodDictionarySelector:
        Receiver: DictionaryTest
        Arguments and temporary variables:
                aSymbol: #testPrintElementsOn
                modifiedSelectors: an IdentitySet()
                descriptions: an OrderedCollection(a TraitMethodDescription)
        Receiver's instance variables:
                superclass: CollectionRootTest
                methodDict: a MethodDictionary(size 192)
                format: 162
                instanceVariables:
#('emptyDict' 'nonEmptyDict' 'nonEmpty5ElementsNoDuplicates'...etc...
                organization: ('helpers' aValue anIndex anotherValue)
('requirement' anotherEle...etc...
                subclasses: {SmallDictionaryTest. IdentityDictionaryTest.  
LiteralDictionaryTest...etc...
                name: #DictionaryTest
                classPool: nil
                sharedPools: nil
                environment: a SystemDictionary(lots of globals)
                category: #'CollectionsTests-Unordered'
                traitComposition: TIncludesTest + TDictionaryAddingTest +  
TDictionaryComparingT...etc...
                localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent  
#testDictionaryC...etc...
                history: a Dictionary(#errors->a Set() #failures->a Set() #passed->a  
Set() #tim...etc...
                testToto: nil
                pt1: nil

[:t3 | t2
                addAll: (self updateMethodDictionarySelector: t3)] in DictionaryTest  
class(Behavior)>>noteChangedSelectors:
        Receiver: DictionaryTest
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                superclass: CollectionRootTest
                methodDict: a MethodDictionary(size 192)
                format: 162
                instanceVariables:
#('emptyDict' 'nonEmptyDict' 'nonEmpty5ElementsNoDuplicates'...etc...
                organization: ('helpers' aValue anIndex anotherValue)
('requirement' anotherEle...etc...
                subclasses: {SmallDictionaryTest. IdentityDictionaryTest.  
LiteralDictionaryTest...etc...
                name: #DictionaryTest
                classPool: nil
                sharedPools: nil
                environment: a SystemDictionary(lots of globals)
                category: #'CollectionsTests-Unordered'
                traitComposition: TIncludesTest + TDictionaryAddingTest +  
TDictionaryComparingT...etc...
                localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent  
#testDictionaryC...etc...
                history: a Dictionary(#errors->a Set() #failures->a Set() #passed->a  
Set() #tim...etc...
                testToto: nil
                pt1: nil

Array(SequenceableCollection)>>do:
        Receiver: #(#testPrintElementsOn)
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
#(#testPrintElementsOn)

DictionaryTest class(Behavior)>>noteChangedSelectors:
        Receiver: DictionaryTest
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                superclass: CollectionRootTest
                methodDict: a MethodDictionary(size 192)
                format: 162
                instanceVariables:
#('emptyDict' 'nonEmptyDict' 'nonEmpty5ElementsNoDuplicates'...etc...
                organization: ('helpers' aValue anIndex anotherValue)
('requirement' anotherEle...etc...
                subclasses: {SmallDictionaryTest. IdentityDictionaryTest.  
LiteralDictionaryTest...etc...
                name: #DictionaryTest
                classPool: nil
                sharedPools: nil
                environment: a SystemDictionary(lots of globals)
                category: #'CollectionsTests-Unordered'
                traitComposition: TIncludesTest + TDictionaryAddingTest +  
TDictionaryComparingT...etc...
                localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent  
#testDictionaryC...etc...
                history: a Dictionary(#errors->a Set() #failures->a Set() #passed->a  
Set() #tim...etc...
                testToto: nil
                pt1: nil

[:t2 | t2 noteChangedSelectors: t1] in  
Trait(TraitDescription)>>notifyUsersOfChangedSelectors:
        Receiver: TDictionaryPrintingTest
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                methodDict: a  
MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
                traitComposition: {}
                localSelectors: nil
                users: an IdentitySet(DictionaryTest)
                organization: ('requirements' emptyDict newEmptyDict nonEmptyDict)
('test - pri...etc...
                name: #TDictionaryPrintingTest
                environment: a SystemDictionary(lots of globals)
                classTrait: TDictionaryPrintingTest classTrait
                category: #'CollectionsTests-Unordered'

[:each | each
                ifNotNil: [aBlock value: each]] in IdentitySet(Set)>>do:
        Receiver: an IdentitySet(DictionaryTest)
        Arguments and temporary variables:
                aBlock: DictionaryTest
                each: [:t2 | t2 noteChangedSelectors: t1]
        Receiver's instance variables:
                tally: 1
                array: {nil. nil. nil. nil. DictionaryTest. nil. nil}

Array(SequenceableCollection)>>do:
        Receiver: {nil. nil. nil. nil. DictionaryTest. nil. nil}
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
{nil. nil. nil. nil. DictionaryTest. nil. nil}

IdentitySet(Set)>>do:
        Receiver: an IdentitySet(DictionaryTest)
        Arguments and temporary variables:
                aBlock: [:t2 | t2 noteChangedSelectors: t1]
        Receiver's instance variables:
                tally: 1
                array: {nil. nil. nil. nil. DictionaryTest. nil. nil}

Trait(TraitDescription)>>notifyUsersOfChangedSelectors:
        Receiver: TDictionaryPrintingTest
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                methodDict: a  
MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
                traitComposition: {}
                localSelectors: nil
                users: an IdentitySet(DictionaryTest)
                organization: ('requirements' emptyDict newEmptyDict nonEmptyDict)
('test - pri...etc...
                name: #TDictionaryPrintingTest
                environment: a SystemDictionary(lots of globals)
                classTrait: TDictionaryPrintingTest classTrait
                category: #'CollectionsTests-Unordered'

Trait(TraitBehavior)>>notifyUsersOfChangedSelector:
        Receiver: TDictionaryPrintingTest
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                methodDict: a  
MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
                traitComposition: {}
                localSelectors: nil
                users: an IdentitySet(DictionaryTest)
                organization: ('requirements' emptyDict newEmptyDict nonEmptyDict)
('test - pri...etc...
                name: #TDictionaryPrintingTest
                environment: a SystemDictionary(lots of globals)
                classTrait: TDictionaryPrintingTest classTrait
                category: #'CollectionsTests-Unordered'

Trait(TraitBehavior)>>addSelectorSilently:withMethod:
        Receiver: TDictionaryPrintingTest
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                methodDict: a  
MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
                traitComposition: {}
                localSelectors: nil
                users: an IdentitySet(DictionaryTest)
                organization: ('requirements' emptyDict newEmptyDict nonEmptyDict)
('test - pri...etc...
                name: #TDictionaryPrintingTest
                environment: a SystemDictionary(lots of globals)
                classTrait: TDictionaryPrintingTest classTrait
                category: #'CollectionsTests-Unordered'

Trait(TraitDescription)>>addSelectorSilently:withMethod:
        Receiver: TDictionaryPrintingTest
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                methodDict: a  
MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
                traitComposition: {}
                localSelectors: nil
                users: an IdentitySet(DictionaryTest)
                organization: ('requirements' emptyDict newEmptyDict nonEmptyDict)
('test - pri...etc...
                name: #TDictionaryPrintingTest
                environment: a SystemDictionary(lots of globals)
                classTrait: TDictionaryPrintingTest classTrait
                category: #'CollectionsTests-Unordered'

MethodAddition>>installMethod
        Receiver: a MethodAddition
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                text: 'testPrintElementsOn
        | str |
        str := String new writeStream.
        self nonEm...etc...
                category: #'test - printing'
                changeStamp: 'PeterHugossonMiller 9/3/2009 11:33'
                requestor: nil
                logSource: true
                myClass: TDictionaryPrintingTest
                methodAndNode: a CompiledMethodWithNode
                selector: #testPrintElementsOn
                compiledMethod: (TDictionaryPrintingTest>>#testPrintElementsOn "a  
CompiledMetho...etc...
                priorMethodOrNil: (TDictionaryPrintingTest>>#testPrintElementsOn "a  
CompiledMet...etc...



_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4255 in pharo: Loading SLICE without changes file, throws errorSubscriptBounds

pharo
Updates:
        Status: Closed

Comment #2 on issue 4255 by [hidden email]: Loading SLICE without  
changes file, throws errorSubscriptBounds
http://code.google.com/p/pharo/issues/detail?id=4255

has been fixed with Mariono's source code loading fix added to 13207


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker