Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: A ToSkinManager has an invalid state #90

Open
labordep opened this issue Jan 26, 2024 · 1 comment
Open

Error: A ToSkinManager has an invalid state #90

labordep opened this issue Jan 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@labordep
Copy link
Collaborator

labordep commented Jan 26, 2024

Same context as #89.
But whitout resize.
I'm using Tabs (open/close/open/close) a lot of time, and after I'm opening my application in Pyramid (F12 shortcut) and I have an error:

image

The stack:

ToSkinManager>>applySkinInstallerIn:
ToListElement(BlElement)>>applySkinInstaller
ToListElement(BlElement)>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in MyAppPanel(BlElement)>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
MyAppPanel(BlElement)>>childrenDo:
MyAppPanel(BlElement)>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in ToPane(BlElement)>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
ToPane(BlElement)>>childrenDo:
ToPane(BlElement)>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in ToPane(BlElement)>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
ToPane(BlElement)>>childrenDo:
ToPane(BlElement)>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in ToTabPane(BlElement)>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
ToTabPane(BlElement)>>childrenDo:
ToTabPane(BlElement)>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in MyAppPanel2(BlElement)>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
MyAppPanel2(BlElement)>>childrenDo:
MyAppPanel2(BlElement)>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in BlElement>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
BlElement>>childrenDo:
BlElement>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in BlElement>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
BlElement>>childrenDo:
BlElement>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in BlElement>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
BlElement>>childrenDo:
BlElement>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in BlElement>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
BlElement>>childrenDo:
BlElement>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in BlElement>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
BlElement>>childrenDo:
BlElement>>applySkinInstallerRecursively
[ :child | child applySkinInstallerRecursively ] in BlElement>>applySkinInstallerRecursively in Block: [ :child | child applySkinInstallerRecursively ]
Array(SequenceableCollection)>>do:
BlChildrenArray>>do:
BlElement>>childrenDo:
BlElement>>applySkinInstallerRecursively
ToSpaceSkinPhasesManager>>applyAllSkinInstallersIn:
BlSpace>>applyAllSkinInstallers
ToSpaceSkinInstallerPhase>>runOn:
BlSpaceFrame>>runCurrentPhaseOn:
BlSpaceFrame>>runOn:
BlSpace>>processPulse
BlSpace>>pulse
[ :eachSpace | eachSpace pulse ] in [
		self tryToRunDeferredActions.
		spaceManager do: [ :eachSpace | eachSpace pulse ]
	] in BlParallelUniverse>>pulseSynchronously in Block: [ :eachSpace | eachSpace pulse ]
Array(SequenceableCollection)>>do:
BlSpaceManager>>do:
[
		self tryToRunDeferredActions.
		spaceManager do: [ :eachSpace | eachSpace pulse ]
	] in BlParallelUniverse>>pulseSynchronously in Block: [...
FullBlockClosure(BlockClosure)>>ensure:
BlParallelUniverse>>pulseSynchronously
[ self pulseSynchronously ] in BlParallelUniverse>>pulse in Block: [ self pulseSynchronously ]
FullBlockClosure(BlockClosure)>>ensure:
BlParallelUniverse>>pulse
BlMorphicHost class(BlMorphicSteppingHost class)>>step
StepMessage(MessageSend)>>value
StepMessage(MorphicAlarm)>>value:
WorldState>>runLocalStepMethodsIn:
WorldState>>runStepMethodsIn:
WorldMorph>>runStepMethods
WorldState>>doOneCycleFor:
WorldMorph>>doOneCycleNow
WorldMorph>>doOneCycle
[
		| extraWorldsToDraw |
		extraWorldsToDraw := ExtraWorldListMutex critical: [
			                     self extraWorldList ].
		extraWorldsToDraw do: [ :world | world doOneCycle ].

		(self currentWorld isNotNil and: [
			 (extraWorldsToDraw includes: self currentWorld) not ]) ifTrue: [
			self currentWorld doOneCycle ] ] in WorldMorph class>>doOneCycle in Block: [...
FullBlockClosure(BlockClosure)>>ensure:
WorldState class>>doDrawCycleWith:
WorldMorph class>>doOneCycle
MorphicRenderLoop>>doOneCycle
MorphicRenderLoop>>doOneCycleWhile:
[ MorphicRenderLoop new doOneCycleWhile: [ true ] ] in MorphicUIManager>>spawnNewProcess in Block: [ MorphicRenderLoop new doOneCycleWhile: [ tru[..]
[self value.
			"IMPORTANT: Do not step over next line of code. See method comments for details"
			Processor terminateRealActive] in FullBlockClosure(BlockClosure)>>newProcess in Block: [self value....
@labordep labordep added the bug Something isn't working label Jan 26, 2024
@plantec
Copy link
Collaborator

plantec commented Feb 15, 2024

is it still the case with the new toplo versions ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants