Skip to content

Failed

Linux-x86_64 / Tests-Linux-x86_64-CoInterpreter-worker / Unix64.Spec2.Code.Backend.Tests.SpCodeAdapterTest.testTextWithStyle(#specInitializationStrategy->[ SpInitializationStrategy beforeTest ] #backendForTest->SpMorphicBackendForTest) (from Spec2-Code-Backend-Tests)

Failing for the past 1 build (Since Failed #1 )
Took 10 sec.

Error Message

1

Stacktrace

SubscriptOutOfBounds
1
OrderedCollection(Object)>>errorSubscriptBounds:
OrderedCollection>>at:
RubParagraph>>characterBlockForIndex:
RubShoutStylerDecorator(RubParagraphDecorator)>>characterBlockForIndex:
RubEditingState>>markIndex:pointIndex:
[ self editingState markIndex: markIndex pointIndex: pointIndex ] in RubEditingArea(RubAbstractTextArea)>>markIndex:pointIndex:
RubEditingArea(RubAbstractTextArea)>>handleSelectionChange:
RubEditingArea(RubAbstractTextArea)>>markIndex:pointIndex:
RubEditingArea(RubAbstractTextArea)>>recomputeSelection
[
			self wrapped
				ifTrue: [
					(bounds notNil and: [ bounds width = aPoint x ])
						ifTrue: [ ^ self ].
					super extent: ((self paragraph withoutDecorator extentFromClientBottomRight: aPoint) max: self minimumExtent).
					self recomputeSelection ]
				ifFalse: [ super extent: aPoint ] ] in RubEditingArea(RubAbstractTextArea)>>extent:
RubEditingArea(RubAbstractTextArea)>>handleBoundsChange:
RubEditingArea(RubAbstractTextArea)>>extent:
RubEditingArea(Morph)>>width:
RubEditingArea(RubAbstractTextArea)>>handleEdit:
RubEditingArea(RubAbstractTextArea)>>updateTextWith:
RubTextScrollPane>>updateTextWith:
SpRubScrolledTextMorph(RubScrolledTextMorph)>>updateTextWith:
SpRubScrolledTextMorph(RubScrolledTextMorph)>>setText:
SpMorphicCodeAdapter(SpMorphicBaseTextAdapter)>>type:
[ :anAdapter | 
		anAdapter type: aString.
		^ self ] in SpCodePresenter(SpAbstractTextPresenter)>>type:
FullBlockClosure(BlockClosure)>>cull:
SpMorphicCodeAdapter(ProtoObject)>>ifNotNil:
SpCodePresenter(SpAbstractPresenter)>>withAdapterDo:
SpCodePresenter(SpAbstractTextPresenter)>>type:
SpCodeAdapterTest>>testTextWithStyle
SpCodeAdapterTest(TestCase)>>performTest
[ presenter := self classToTest new.
			self initializeTestedInstance.
			super performTest ] in SpCodeAdapterTest(SpAbstractAdapterTest)>>performTest
SpMorphicBackendForTest>>runTest:
SpCodeAdapterTest(SpAbstractAdapterTest)>>performTest