You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a trackmate action that corrects the tracks and sets the new graph on the model which does get updated in the trackscheme but the display setting of drawing the track overlay on the hyperstack throws this error:
Exception in thread "AWT-EventQueue-0" java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) at java.util.HashMap$ValueIterator.next(HashMap.java:1474) at fiji.plugin.trackmate.TrackModel.nTracks(TrackModel.java:617) at fiji.plugin.trackmate.visualization.hyperstack.TrackOverlay.drawOverlay(TrackOverlay.java:103)
In my model.update() function I do ask it to clear the tracks and notify the listener with this code snippet:
`model.beginUpdate();
//Some calls
model.clearTracks(true);
model.setTracks(graph, true);
logger.log( "New tracks: " + model.getTrackModel().nTracks(false));
model.endUpdate();`
Any idea on how to avoid this exception?
The text was updated successfully, but these errors were encountered:
The issue is not gone, I have uploaded the Copenhagen challenge dataset that includes the oneat detections in a csv file titled CleanDetections, if you use that with the TrackMate-oneat action it will throw the concurrent modification error as above, that disallows me to select a spot in the hyperstack displayer by not making it turn green. https://zenodo.org/record/6569672#.YoknIXZBxEY
Hello, I have a trackmate action that corrects the tracks and sets the new graph on the model which does get updated in the trackscheme but the display setting of drawing the track overlay on the hyperstack throws this error:
Exception in thread "AWT-EventQueue-0" java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) at java.util.HashMap$ValueIterator.next(HashMap.java:1474) at fiji.plugin.trackmate.TrackModel.nTracks(TrackModel.java:617) at fiji.plugin.trackmate.visualization.hyperstack.TrackOverlay.drawOverlay(TrackOverlay.java:103)
In my model.update() function I do ask it to clear the tracks and notify the listener with this code snippet:
`model.beginUpdate();
//Some calls
model.clearTracks(true);
model.setTracks(graph, true);
logger.log( "New tracks: " + model.getTrackModel().nTracks(false));
model.endUpdate();`
Any idea on how to avoid this exception?
The text was updated successfully, but these errors were encountered: