astachurski / simbrain

Automatically exported from code.google.com/p/simbrain
1 stars 0 forks source link

UI Freezes if "Run" or "Step" is clicked while bidirectional synapse groups are present #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two neuron groups
2. connect the first to the second and the second to the first
3. Use the wand to inject activation into one of them
4. Press "Step" or "Run"

... and the UI freezes and becomes unresponsive. Initial analysis with VisualVM 
reveals nothing, unfortunately. The only part of the program that is responsive 
is if one tries to close Simbrain, in which case a warning dialog will pop up 
that is never populated. 

Original issue reported on code.google.com by ZachT...@gmail.com on 27 Aug 2014 at 11:49

GoogleCodeExporter commented 9 years ago
I believe the exception occurs because SynpaseGroupNode.java does not implement 
GroupNode, which was introduced in r3088.   Changing this gets rid of the 
freeze but there are other issues.   In particular, a new interaction box shown 
up for the bi-directional node, in addition to the interaction boxes for the 
two individual synpase groups.   The assumption has been that each 
synpasegroupnode is associated with one synpasegroup.   So this issue raises a 
design question about how to handle this case, where one node represents two 
distinct model synapse groups.

Original comment by jeffyosh...@gmail.com on 4 Sep 2014 at 12:27

GoogleCodeExporter commented 9 years ago
This was also being caused by an issue with the new InputType enum. Regardless 
it appears to be fixed, so I'm closing the issue.

Original comment by ZachT...@gmail.com on 24 Sep 2014 at 1:15

GoogleCodeExporter commented 9 years ago

Original comment by ZachT...@gmail.com on 24 Sep 2014 at 1:16