compbio-UofT / medsavant

MedSavant is a search engine for genetic variants
22 stars 9 forks source link

ArrayIndexOutOfBounds when editing project #264

Closed jvlasblom closed 10 years ago

jvlasblom commented 10 years ago

When editing a project, if I cancel the wizard the left pane shows "An error occurrred: Array index out of bounds".

2014-01-23 15:37:46,033 109377 [AWT-EventQueue-0] ERROR org.ut.biolab.medsavant.client.view.list.ListView - Unable to load list. java.lang.ArrayIndexOutOfBoundsException: 0 at org.ut.biolab.medsavant.client.project.ProjectManagementPage$ProjectsDetailedView.setSelectedItem(ProjectManagementPage.java:236) at org.ut.biolab.medsavant.client.view.list.ListView$8.sourceListItemSelected(ListView.java:246) at com.explodingpixels.macwidgets.SourceList.fireSourceListItemSelected(SourceList.java:677) at com.explodingpixels.macwidgets.SourceList.access$200(SourceList.java:67) at com.explodingpixels.macwidgets.SourceList$1.valueChanged(SourceList.java:493) at javax.swing.JTree.fireValueChanged(JTree.java:2919) at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3378) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:634) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1092) at javax.swing.tree.DefaultTreeSelectionModel.removeSelectionPaths(DefaultTreeSelectionModel.java:501) at javax.swing.JTree.removeDescendantSelectedPaths(JTree.java:3710) at javax.swing.JTree.removeDescendantSelectedPaths(JTree.java:3760) at javax.swing.JTree$TreeModelHandler.treeNodesRemoved(JTree.java:3844) at javax.swing.tree.DefaultTreeModel.fireTreeNodesRemoved(DefaultTreeModel.java:548) at javax.swing.tree.DefaultTreeModel.nodesWereRemoved(DefaultTreeModel.java:328) at javax.swing.tree.DefaultTreeModel.removeNodeFromParent(DefaultTreeModel.java:262) at com.explodingpixels.macwidgets.SourceList.doRemoveCategory(SourceList.java:387) at com.explodingpixels.macwidgets.SourceList.access$1300(SourceList.java:67) at com.explodingpixels.macwidgets.SourceList$4.categoryRemoved(SourceList.java:573) at com.explodingpixels.macwidgets.SourceListModel.fireCategoryRemoved(SourceListModel.java:239) at com.explodingpixels.macwidgets.SourceListModel.removeCategoryAt(SourceListModel.java:78) at org.ut.biolab.medsavant.client.view.list.ListView.updateShowCard(ListView.java:457) at org.ut.biolab.medsavant.client.view.list.ListView.setList(ListView.java:398) at org.ut.biolab.medsavant.client.view.list.ListView.access$500(ListView.java:60) at org.ut.biolab.medsavant.client.view.list.ListView$9.showSuccess(ListView.java:431) at org.ut.biolab.medsavant.client.view.list.ListView$9.showSuccess(ListView.java:413) at org.ut.biolab.medsavant.client.util.MedSavantWorker.done(MedSavantWorker.java:116) at org.ut.biolab.medsavant.client.util.MedSavantWorker$1.done(MedSavantWorker.java:63) at javax.swing.SwingWorker$5.run(SwingWorker.java:737) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) at javax.swing.Timer.fireActionPerformed(Timer.java:312) at javax.swing.Timer$DoPostEvent.run(Timer.java:244) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

jvlasblom commented 10 years ago

This error no longer occurs, closing...