New Graph - Concurrent Mod with DAV Opened
See original GitHub issuePrerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Running the latest version of Constellation
- Attached the Support Package via
Help
>Support Package
- Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ
- Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues
- Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories
Description
Opening a new graph while the Data Access View is opened will cause an exception as below:
java.util.ConcurrentModificationException
at java.base/java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.base/java.util.ArrayList$Itr.next(Unknown Source)
at au.gov.asd.tac.constellation.graph.node.plugins.FrameworkGraphManager.graphOpened(FrameworkGraphManager.java:102)
at au.gov.asd.tac.constellation.graph.node.GraphNode.<init>(GraphNode.java:162)
at au.gov.asd.tac.constellation.graph.node.GraphNode.<init>(GraphNode.java:135)
at au.gov.asd.tac.constellation.graph.interaction.gui.VisualGraphTopComponent.<init>(VisualGraphTopComponent.java:436)
at au.gov.asd.tac.constellation.graph.interaction.gui.VisualGraphOpener$GraphFileOpener.done(VisualGraphOpener.java:222)
at java.desktop/javax.swing.SwingWorker$5.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at java.desktop/sun.swing.AccumulativeRunnable.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer$DoPostEvent.run(Unknown Source)
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(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
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)
Steps to Reproduce
- Open Constellation
- Open DAV
- Open new graph
Expected behaviour: New graph launches without issue
Actual behaviour: Exception occurs and graph does not load.
Reproduces how often: 100%
Additional Information
Found through testing .exe release of v2.0 rc2 Only occurs for myself in the .exe versions.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
ConcurrentModificationException while using ... - GitHub
Hi, I recently faced an issue using directred graphs in JGraphT. Here are the details : * JGraphT version: 1.3.0 * Java version...
Read more >Gremlin Concurrent Modification Exception on Neptune
I'm struggling to understand what could be causing it. This is my new query await Graph.V(itemId) .ActiveLinkedVertex(DbLabels.ComponentEdge) .
Read more >Snowmelt Detection with Calibrated, Enhanced‐Resolution ...
Algorithms have been developed to estimate the melt onset date (MOD) and end of high DAV by counting the number of instances where...
Read more >Congressional Record - GovInfo
The House met at 10 a.m. and was called to order by the Speaker pro tem- pore (Mr. RYAN of New York). f....
Read more >What's new in this version? - cFos Software GmbH
Find out what's new in cFosSpeed. List of all new features, improvements and bug fixes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aldebaran30701 I have a couple of thoughts:
if you want to be able to interactively debug the app whilst using the v2 executable you can do so by running the exe and then from NetBeans go to Profile -> Attach to External Process
One difference between running from the .exe and from NetBeans is the user directory and cache directory. When you run Constellation from NetBeans and click on Help -> About in Constellation you will see that there is a build/testuserdir directory being referenced. Run Constellation from the exe and observe the location it provides, then proceed to copy the user dir and paste it over the top of testuserdir. Now try running Constellation from NetBeans once again (and don’t do a clean build because it will wipe the files) and see if you can reproduce it from NetBeans.
Let me know if either option helps and if not we can have another rethink.
#949 outlines the actual issue here so leaving that one open and closing this one