question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Graph - Concurrent Mod with DAV Opened

See original GitHub issue

Prerequisites

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

  1. Open Constellation
  2. Open DAV
  3. 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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
arcturus2commented, Aug 18, 2020

@aldebaran30701 I have a couple of thoughts:

  1. 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

  2. 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.

0reactions
antares1470commented, Feb 1, 2021

#949 outlines the actual issue here so leaving that one open and closing this one

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found