Comments (8)
Can you post a stacktrace please.
from flowless.
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.
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.
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.
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.
Thats The Stacktrace i got from debugger
from flowless.
from flowless.
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)
- Modular application cannot find flowless HOT 1
- Error fetching URL: https://github.com/FXMisc/Flowless/#flowless/apidocs/
- VirtualFlow.java does not compile in OpenJDK 17 HOT 3
- Scrollbar thumb is too small HOT 1
- VirtualFlow GridPane HOT 10
- Changing styles of rows HOT 3
- Need new maintainer HOT 6
- Why happens to performance when Nodes are used for items in the VirtualFlow/createVertical? HOT 1
- Custom Editor, Multiple Custom Objects, adding HyperlinkSegment and ImageSegment
- Expandable cell problem HOT 2
- VirtualFlow doesn't resize cells properly when layout bounds changes depending on the Orientation. HOT 1
- Keyboard paging computation error while paging up
- VirtualizedScrollPane causes high CPU and GPU on idle with 125% screen scaling HOT 6
- Can't Get Clicked Item in List HOT 27
- Adding items too fast causes scroll when item list is empty HOT 1
- Cell positioning
- org.fxmisc.flowless.CellListManager#getCellIfPresent HOT 1
- JavaFX 16 HOT 2
- JavaFX 17 breaks scrollbar behaviours in VirtualizedScrollPane HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowless.