Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in Waterfall Panel During Data Update #1343

Closed
DSheirer opened this issue Nov 24, 2022 · 0 comments
Closed

Exception in Waterfall Panel During Data Update #1343

DSheirer opened this issue Nov 24, 2022 · 0 comments
Assignees
Milestone

Comments

@DSheirer
Copy link
Owner

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: Data array is too short.
at java.desktop/sun.awt.image.ImageRepresentation.setPixels(Unknown Source)
at java.desktop/java.awt.image.MemoryImageSource.sendPixels(Unknown Source)
at java.desktop/java.awt.image.MemoryImageSource.newPixels(Unknown Source)
at java.desktop/java.awt.image.MemoryImageSource.newPixels(Unknown Source)
at java.desktop/java.awt.image.MemoryImageSource.newPixels(Unknown Source)
at io.github.dsheirer.spectrum.WaterfallPanel$1.run(WaterfallPanel.java:442)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

@DSheirer DSheirer added this to the Build 0.5.0 milestone Nov 24, 2022
@DSheirer DSheirer self-assigned this Nov 24, 2022
DSheirer pushed a commit that referenced this issue Nov 24, 2022
…rfall panel pixel array to be updated/resized while a memory image source repaint has been requested and the parameters become incongruent, causing an array index out of bounds error. Pushes the pixel array update operation onto the swing thread to ensure only a single thread is modifying the pixel map for rendering.
DSheirer added a commit that referenced this issue Nov 24, 2022
…rfall panel pixel array to be updated/resized while a memory image source repaint has been requested and the parameters become incongruent, causing an array index out of bounds error. Pushes the pixel array update operation onto the swing thread to ensure only a single thread is modifying the pixel map for rendering. (#1344)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant