Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear selection not correctly updated on Map #1740

Closed
patrickdalla opened this issue Jun 29, 2023 · 1 comment · Fixed by #1743
Closed

Clear selection not correctly updated on Map #1740

patrickdalla opened this issue Jun 29, 2023 · 1 comment · Fixed by #1743
Assignees
Labels

Comments

@patrickdalla
Copy link
Collaborator

The table selection clear information is not correctly being informed to map. Some operations like changing the selected bookmark, or changing to timeline view clears the selected rows. These operations are not being correctly informed to map, and causing a exception that is logged in IPEDAppSearch.log.

@lfcnassif lfcnassif added the bug label Jun 29, 2023
@lfcnassif lfcnassif changed the title Clear selection not correctly update on Map Clear selection not correctly updated on Map Jun 29, 2023
@lfcnassif
Copy link
Member

Thanks @patrickdalla! Just to document it here, this is the logged exception on current 4.1.x branch:

java.lang.IndexOutOfBoundsException: Invalid index
    at iped.app.ui.parallelsorter.ParallelRowSorter.convertRowIndexToModel(ParallelRowSorter.java:526)
    at java.desktop/javax.swing.JTable.convertRowIndexToModel(Unknown Source)
    at iped.geo.impl.MapViewer$2.run(MapViewer.java:165)
    at iped.geo.impl.AppMapPanel.runAfterLoad(AppMapPanel.java:344)
    at iped.geo.impl.MapViewer.valueChanged(MapViewer.java:195)
    at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at java.desktop/javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)
    at java.desktop/javax.swing.JTable.restoreSortingSelection(Unknown Source)
    at java.desktop/javax.swing.JTable$SortManager.restoreSelection(Unknown Source)
    at java.desktop/javax.swing.JTable$SortManager.processChange(Unknown Source)
    at java.desktop/javax.swing.JTable.sortedTableChanged(Unknown Source)
    at java.desktop/javax.swing.JTable.sorterChanged(Unknown Source)
    at java.desktop/javax.swing.RowSorter.fireRowSorterChanged(Unknown Source)
    at java.desktop/javax.swing.RowSorter.fireRowSorterChanged(Unknown Source)
    at iped.app.ui.parallelsorter.ParallelRowSorter.sortExistingData(ParallelRowSorter.java:570)
    at iped.app.ui.parallelsorter.ParallelRowSorter.setSortKeys(ParallelRowSorter.java:317)
    at iped.app.ui.ResultTableRowSorter.setSortKeys(ResultTableRowSorter.java:86)
    at iped.app.ui.AppListener.updateFileListing(AppListener.java:61)
    at iped.app.ui.AppListener.updateFileListing(AppListener.java:43)
    at iped.app.ui.TimelineListener.updateGUI(TimelineListener.java:59)
    at iped.app.ui.TimelineListener.toggleTimelineTableView(TimelineListener.java:46)
    at iped.app.ui.TimelineListener.actionPerformed(TimelineListener.java:41)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants