Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8125357

ArrayOutOfBoundsException in DataApp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • javafx
    • None
    • fx 8.0, b58 (possibly started in b54 or before)

    Description

      When starting the DataAppClient, with the DataAppServer already running, the preloader finishes, but then the following error and stack trace occurs
      (data before the stack trace left there for context). Could this be a CSS error?:

      startFetcher()
      POLLING LIVE DATA >>> fresh=[true] region=null product=-1 lastQuery=-1
      fetchResults()
          compareMonthChoiceBox = ChoiceBox@646d6aa0[styleClass=choice-box]
          compareMonthChoiceBox.getSelectionModel().getSelectedItem() = 2012 Oct
          toMonthChoiceBox = ChoiceBox@28a50da4[styleClass=choice-box]
          compareProductChoiceBox = ChoiceBox@4b7361e2[styleClass=choice-box]
          toProductChoiceBox = ChoiceBox@6c229ed4[styleClass=choice-box]
      fetchResults Sun Oct 28 00:00:00 PDT 2012, Fri Oct 28 00:00:00 PDT 2011 -- -1 , -1
      POLLING LIVE DATA >>> fresh=[false] region=null product=-1 lastQuery=3
      java.lang.ArrayIndexOutOfBoundsException: -8
      at com.sun.javafx.css.SimpleSelector.getStyleClassMasks(SimpleSelector.java:111)
      at com.sun.javafx.css.SimpleSelector.<init>(SimpleSelector.java:210)
      at com.sun.javafx.css.StyleHelper.getSimpleSelector(StyleHelper.java:561)
      at com.sun.javafx.css.StyleHelper.setStyles(StyleHelper.java:99)
      at javafx.scene.Node.impl_processCSS(Node.java:7502)
      at javafx.scene.Parent.impl_processCSS(Parent.java:1186)
      at javafx.scene.Node.processCSS(Node.java:7469)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Node.processCSS(Node.java:7463)
      at javafx.scene.Scene.doCSSPass(Scene.java:447)
      at javafx.scene.Scene.access$3800(Scene.java:172)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2219)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:346)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:502)
      at com.sun.javafx.tk.quantum.QuantumToolkit$11.run(QuantumToolkit.java:355)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
      Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaMouseEvent:]:src/com/sun/mat/ui/GlassViewDelegate.m:540
      Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: -8
      at com.sun.javafx.css.SimpleSelector.getStyleClassMasks(SimpleSelector.java:111)
      at com.sun.javafx.css.SimpleSelector.<init>(SimpleSelector.java:210)
      at com.sun.javafx.css.StyleHelper.getSimpleSelector(StyleHelper.java:561)
      at com.sun.javafx.css.StyleHelper.setStyles(StyleHelper.java:99)
      at javafx.scene.Node.impl_processCSS(Node.java:7502)
      at javafx.scene.Parent.impl_processCSS(Parent.java:1186)
      at javafx.scene.Parent.impl_processCSS(Parent.java:1189)
      at javafx.scene.Parent.impl_processCSS(Parent.java:1189)
      at javafx.scene.Node.impl_processCSS(Node.java:7484)
      at com.sun.javafx.scene.control.skin.ContextMenuContent.updateItems(ContextMenuContent.java:162)
      at com.sun.javafx.scene.control.skin.ContextMenuContent.access$000(ContextMenuContent.java:82)
      at com.sun.javafx.scene.control.skin.ContextMenuContent$1.invalidated(ContextMenuContent.java:136)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:134)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:79)
      at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:176)
      at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:146)
      at javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:142)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:107)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:140)
      at javafx.stage.Window.setShowing(Window.java:786)
      at javafx.stage.Window.show(Window.java:801)
      at javafx.stage.PopupWindow.showImpl(PopupWindow.java:368)
      at javafx.stage.PopupWindow.show(PopupWindow.java:326)
      at javafx.scene.control.ContextMenu.doShow(ContextMenu.java:275)
      at javafx.scene.control.ContextMenu.show(ContextMenu.java:251)
      at com.sun.javafx.scene.control.skin.ChoiceBoxSkin.handleControlPropertyChanged(ChoiceBoxSkin.java:242)
      at javafx.scene.control.SkinBase$3.call(SkinBase.java:244)
      at javafx.scene.control.SkinBase$3.call(SkinBase.java:242)
      at com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)
      at javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:86)
      at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:175)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:79)
      at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:176)
      at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.access$100(ReadOnlyBooleanWrapper.java:146)
      at javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(ReadOnlyBooleanWrapper.java:142)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:107)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:140)
      at javafx.scene.control.ChoiceBox.show(ChoiceBox.java:303)
      at com.sun.javafx.scene.control.behavior.ChoiceBoxBehavior.mouseReleased(ChoiceBoxBehavior.java:124)
      at javafx.scene.control.SkinBase$2.handle(SkinBase.java:122)
      at javafx.scene.control.SkinBase$2.handle(SkinBase.java:115)
      at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:113)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:201)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3372)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3212)
      at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3164)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1570)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2313)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:291)
      at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
      at com.sun.glass.ui.View.notifyMouse(Unknown Source)

      I see this error in b54 also.

      Attachments

        Issue Links

          Activity

            People

              dgrieve David Grieve
              dmasada Debra Masada (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: