Ensemble Progress Indicator generates java.lang.IndexOutOfBoundsException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • fx2.0.2
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • None
    • Environment:

      Win XP SP3, JDK7u2b8, JavaFX 2.0 GA

      In Ensemble
        Open Progress Indicator Sample
        Click on Source Code Tab
        Click on Sample Tab

      Progress Indicator no longer shows, and stack trace below is written to System.out =>

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      at java.util.ArrayList.rangeCheck(ArrayList.java:604)
      at java.util.ArrayList.get(ArrayList.java:382)
      at com.sun.javafx.collections.ObservableListWrapper.get(Unknown Source)
      at ensemble.samples.controls.ProgressIndicatorSample.stop(ProgressIndicatorSample.java:79)
      at ensemble.pages.SamplePage$3.invalidated(SamplePage.java:234)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidationSingleChange.fireValueChangedEvent(Unknown Source)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyObjectWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(Unknown Source)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(Unknown Source)
      at javafx.beans.property.ObjectPropertyBase.set(Unknown Source)
      at javafx.scene.control.SelectionModel.setSelectedItem(Unknown Source)
      at javafx.scene.control.TabPane$TabPaneSelectionModel.select(Unknown Source)
      at javafx.scene.control.SingleSelectionModel.select(Unknown Source)
      at com.sun.javafx.scene.control.behavior.TabPaneBehavior.selectTab(Unknown Source)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderSkin$7.handle(Unknown Source)
      at com.sun.javafx.scene.control.skin.TabPaneSkin$TabHeaderSkin$7.handle(Unknown Source)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
      at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
      at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
      at javafx.event.Event.fireEvent(Unknown Source)
      at javafx.scene.Scene$MouseHandler.process(Unknown Source)
      at javafx.scene.Scene$MouseHandler.process(Unknown Source)
      at javafx.scene.Scene$MouseHandler.access$1200(Unknown Source)
      at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
      at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
      at com.sun.glass.ui.View.notifyMouse(Unknown Source)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
      at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:722)

            Assignee:
            Debra Masada (Inactive)
            Reporter:
            John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: