Someone help me my scene won't open!!!!!!


  • Posts: 4
Help me aghhh >:(
This kind of makes me angry thinking about the time I've put into this scene and I do not know what I did to cause it to error every time I open it. It was working I closed Stencyl and when I reopened it later it wouldn't load!!!

I will leave the error below
If someone can help me fix this please do so because it would suck if I have to restart.

This is the error details

java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 6, Size: 0
   at javax.swing.SwingWorker$
   at javax.swing.SwingWorker$
   at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(
   at javax.swing.Timer.fireActionPerformed(
   at javax.swing.Timer$
   at java.awt.event.InvocationEvent.dispatch(
   at java.awt.EventQueue.dispatchEventImpl(
   at java.awt.EventQueue.access$500(
   at java.awt.EventQueue$
   at java.awt.EventQueue$
   at Method)
   at java.awt.EventQueue.dispatchEvent(
   at java.awt.EventDispatchThread.pumpOneEventForFilters(
   at java.awt.EventDispatchThread.pumpEventsForFilter(
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(
   at java.awt.EventDispatchThread.pumpEvents(
   at java.awt.EventDispatchThread.pumpEvents(
Caused by: java.lang.IndexOutOfBoundsException: Index: 6, Size: 0
   at java.util.ArrayList.rangeCheckForAdd(
   at java.util.ArrayList.add(
   at stencyl.sw.editors.scene.layerviews.ActorLayer.addActorToLayer(
   at stencyl.sw.editors.scene.layerviews.InteractiveLayerView.addActorToLayer(
   at stencyl.sw.editors.scene.EditorSceneModel.addActorToBuckets(
   at stencyl.sw.editors.scene.EditorSceneModel.addActor(
   at stencyl.sw.editors.scene.EditorSceneModel.<init>(
   at stencyl.sw.editors.scene.Designer.<init>(
   at stencyl.sw.editors.scene.SceneMainPage.initDesigner(
   at stencyl.sw.editors.scene.SceneMainPage.<init>(
   at stencyl.sw.editors.scene.SceneTab.init(
   at stencyl.sw.editors.scene.SceneTab.<init>(
   at javax.swing.SwingWorker$
   at java.util.concurrent.ThreadPoolExecutor.runWorker(
   at java.util.concurrent.ThreadPoolExecutor$


  • Posts: 1
Hello !

I got this bug today and find some quick workaround :

Go in the scene folder of your game :
Tools -> Workspace -> Game Folder -> Scene

Find your broken scene xml file, by editing xml files with notepad and finding "name=xxxx" on line 2. Reach the right scene.

I removed all the lines between <actors> and </actors>, copying them elsewhere, and then saved the scene.

Stencyl now opens the scene, I just needed to replace my actors.

Hope this helps !

TF Famux

  • Posts: 1
It's helps a lot for me.

Thanks, Maxens!


  • Posts: 1
I have the same problem.
The scene opened very well and overnight, it does not open anymore.

In my XML I only have one title <Actors>
And in the title <name=> the name of my scene is not erroned.

Do you have an idea ?