Bug Issue: RangeError: Error #2006: The supplied index is out of bounds.


Pages: 1

Kevinking123

  • Junior Stencyler
April 02, 2019, 02:38:39 am
Code: [Select]
RangeError: Error #2006: The supplied index is out of bounds.
at flash.display::DisplayObjectContainer/swapChildrenAt()
at com.stencyl::Engine/loadActors()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:1330]
at com.stencyl::Engine/loadScene()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:1145]
at com.stencyl::Engine/begin()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:944]
at com.stencyl::Engine()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:733]
at Universal/preloaderComplete()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\Universal.hx:408]
at lime.app::_Event_Void_Void/dispatch()
at scripts::StencylPreloader/unload()[C:\Users\user\AppData\Roaming\Stencyl\stencylworks\games-generated\FoodTrip212 1\Source\scripts\StencylPreloader.hx:340]
at scripts::StencylPreloader/onLoaded()[C:\Users\user\AppData\Roaming\Stencyl\stencylworks\games-generated\FoodTrip212 1\Source\scripts\StencylPreloader.hx:309]
at lime.app::_Event_Void_Void/dispatch()
at lime.utils::Preloader/start()
at lime.utils::Preloader/updateProgress()
at lime.utils::Preloader/current_onEnter()

and when i try to open a scene it says unexpected problem

Code: [Select]
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:74)
at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:54)
at stencyl.sw.app.tasks.OpenResourceTask.done(OpenResourceTask.java:76)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:661)
at java.util.ArrayList.add(ArrayList.java:473)
at stencyl.sw.editors.scene.layerviews.ActorLayer.addActorToLayer(ActorLayer.java:208)
at stencyl.sw.editors.scene.layerviews.InteractiveLayerView.addActorToLayer(InteractiveLayerView.java:79)
at stencyl.sw.editors.scene.EditorSceneModel.addActorToBuckets(EditorSceneModel.java:893)
at stencyl.sw.editors.scene.EditorSceneModel.addActor(EditorSceneModel.java:945)
at stencyl.sw.editors.scene.EditorSceneModel.<init>(EditorSceneModel.java:206)
at stencyl.sw.editors.scene.Designer.<init>(Designer.java:559)
at stencyl.sw.editors.scene.SceneMainPage.initDesigner(SceneMainPage.java:307)
at stencyl.sw.editors.scene.SceneMainPage.<init>(SceneMainPage.java:134)
at stencyl.sw.editors.scene.SceneTab.init(SceneTab.java:140)
at stencyl.sw.editors.scene.SceneTab.<init>(SceneTab.java:122)
at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:832)
at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:679)
at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:67)
at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:20)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
« Last Edit: June 28, 2019, 04:30:01 am by Justin »


Justin

  • Master Stencyler
  • *
June 28, 2019, 04:32:03 am
This is fixed in b10376. It'll be part of the upcoming public release.
  • Status changed from New to Resolved
  • Issue Assigned from (none) to Justin


Pages: 1

Details

  • Reported
    April 02, 2019, 02:38:39 am
  • Updated
    June 28, 2019, 04:32:03 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.4
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    (none)

Tags