Giter Site home page Giter Site logo

Comments (8)

Jugen avatar Jugen commented on May 24, 2024

Can you post a stacktrace please.

from flowless.

newtingz avatar newtingz commented on May 24, 2024

Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:89) at com.sun.javafx.collections.VetoableListDecorator.get(VetoableListDecorator.java:306) at javafx.scene.Parent.updateCachedBounds(Parent.java:1591) at javafx.scene.Parent.recomputeBounds(Parent.java:1535) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.updateTxBounds(Node.java:3641) at javafx.scene.Node.getTransformedBounds(Node.java:3424) at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1732) at javafx.scene.Parent.recomputeBounds(Parent.java:1524) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.updateTxBounds(Node.java:3641) at javafx.scene.Node.getTransformedBounds(Node.java:3424) at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1732) at javafx.scene.Parent.recomputeBounds(Parent.java:1524) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.computeLocalBounds(Node.java:3593) at javafx.scene.Node.updateLocalBounds(Node.java:3623) at javafx.scene.Node.getLocalBounds(Node.java:3484) at javafx.scene.Node.updateTxBounds(Node.java:3641) at javafx.scene.Node.getTransformedBounds(Node.java:3424) at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1732) at javafx.scene.Parent.updateCachedBounds(Parent.java:1596) at javafx.scene.Parent.recomputeBounds(Parent.java:1535) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.updateTxBounds(Node.java:3641) at javafx.scene.Node.getTransformedBounds(Node.java:3424) at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1732) at javafx.scene.Parent.recomputeBounds(Parent.java:1524) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.updateTxBounds(Node.java:3641) at javafx.scene.Node.getTransformedBounds(Node.java:3424) at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1732) at javafx.scene.Parent.updateCachedBounds(Parent.java:1596) at javafx.scene.Parent.recomputeBounds(Parent.java:1535) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.impl_intersectsBounds(Node.java:5013) at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2986) at javafx.scene.Node.impl_pickNode(Node.java:4912) at javafx.scene.Scene$MouseHandler.pickNode(Scene.java:3899) at javafx.scene.Scene$MouseHandler.access$1600(Scene.java:3485) at javafx.scene.Scene.pick(Scene.java:1942) at javafx.scene.Scene.access$6700(Scene.java:159) at javafx.scene.Scene$MouseHandler.process(Scene.java:3711) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:410) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:941) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185) at java.lang.Thread.run(Unknown Source) Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:89) at com.sun.javafx.collections.VetoableListDecorator.get(VetoableListDecorator.java:306) at javafx.scene.Parent.updateCachedBounds(Parent.java:1591) at javafx.scene.Parent.recomputeBounds(Parent.java:1535) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.impl_intersectsBounds(Node.java:5013) at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2986) at javafx.scene.Node.impl_pickNode(Node.java:4912) at javafx.scene.Scene$MouseHandler.pickNode(Scene.java:3899) at javafx.scene.Scene$MouseHandler.access$1600(Scene.java:3485) at javafx.scene.Scene.pick(Scene.java:1942) at javafx.scene.Scene.access$6700(Scene.java:159) at javafx.scene.Scene$MouseHandler.process(Scene.java:3711) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:410) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:941) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185) at java.lang.Thread.run(Unknown Source) Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:89) at com.sun.javafx.collections.VetoableListDecorator.get(VetoableListDecorator.java:306) at javafx.scene.Parent.updateCachedBounds(Parent.java:1591) at javafx.scene.Parent.recomputeBounds(Parent.java:1535) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.impl_intersectsBounds(Node.java:5013) at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2986) at javafx.scene.Node.impl_pickNode(Node.java:4912) at javafx.scene.Scene$MouseHandler.pickNode(Scene.java:3899) at javafx.scene.Scene$MouseHandler.access$1600(Scene.java:3485) at javafx.scene.Scene.pick(Scene.java:1942) at javafx.scene.Scene.access$6700(Scene.java:159) at javafx.scene.Scene$MouseHandler.process(Scene.java:3711) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene$MouseHandler$1.run(Scene.java:3521) at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185) at java.lang.Thread.run(Unknown Source) Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:89) at com.sun.javafx.collections.VetoableListDecorator.get(VetoableListDecorator.java:306) at javafx.scene.Parent.updateCachedBounds(Parent.java:1591) at javafx.scene.Parent.recomputeBounds(Parent.java:1535) at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1388) at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3133) at javafx.scene.Node.updateGeomBounds(Node.java:3577) at javafx.scene.Node.getGeomBounds(Node.java:3530) at javafx.scene.Node.getLocalBounds(Node.java:3478) at javafx.scene.Node.impl_intersectsBounds(Node.java:5013) at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2986) at javafx.scene.Node.impl_pickNode(Node.java:4912) at javafx.scene.Scene$MouseHandler.pickNode(Scene.java:3899) at javafx.scene.Scene$MouseHandler.access$1600(Scene.java:3485) at javafx.scene.Scene.pick(Scene.java:1942) at javafx.scene.Scene.access$6700(Scene.java:159) at javafx.scene.Scene$MouseHandler.process(Scene.java:3711) at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:410) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) at com.sun.glass.ui.View.handleMouseEvent(View.java:555) at com.sun.glass.ui.View.notifyMouse(View.java:941) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185) at java.lang.Thread.run(Unknown Source) Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException
And It Goes On
thanks

from flowless.

Jugen avatar Jugen commented on May 24, 2024

So the difficulty is that there's no indication in the stacktrace where or why this is happening ?
The only clue we get is that it's the result of some type of MouseEvent ?
You'll need to do further research to see if you can get more information.

from flowless.

newtingz avatar newtingz commented on May 24, 2024

Ok
So, I'm Usually Scrolling With The Scrollbar, very Quickly Up And Down, then it spurts that error,or most commonly it doesn't then, then when I scroll with Mouse Pad, Boom IT goes off
But,let me try to get some more info
However what about the assumed cell definitions, mentioned on the repo page,would it have any to do with?

from flowless.

newtingz avatar newtingz commented on May 24, 2024

One More Thing, I think It's Related To My Heavy Cell, With images On Each Of Them, their small sizes, its a music application so when I scroll up and down, the cells tries to access the images, I'll need to implement an array blocking queue or a way to controll the images being shown

from flowless.

newtingz avatar newtingz commented on May 24, 2024

image
Thats The Stacktrace i got from debugger

from flowless.

newtingz avatar newtingz commented on May 24, 2024

image
image

from flowless.

newtingz avatar newtingz commented on May 24, 2024

The main issue was, using Any other thread to update the Cell
All has to be through the JavaFX thread

from flowless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.