Open tischi opened 1 year ago
To suppress this error I added to the TableView
class:
private synchronized void updateJTable()
{
if ( jTable == null ) return;
try
{
jTable.tableChanged( new TableModelEvent( swingTableModel ) );
}
catch ( Exception e )
{
// https://github.com/mobie/mobie-viewer-fiji/issues/1011
}
}
Interestingly, when adding this try/catch the error did not occur anymore, i.e. when I put a breakpoint into the catch
it was never reached. Maybe it is some subtle concurrency issue.
Anyway, the above error never had any obvious consequences on the actual table rendering.
I am also getting this error now when adding an Annotation. And this is a serious issue, as the new column is not added. Also for tables that are not lazy.
I fixed the error that occurred when adding a new column during annotations.
This happens with Lazy Table Model for label masks without tables.