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

Exception in thread "Contribution List Downloader" #3882

Closed
hamoid opened this issue Sep 27, 2015 · 4 comments · Fixed by #3884
Closed

Exception in thread "Contribution List Downloader" #3882

hamoid opened this issue Sep 27, 2015 · 4 comments · Fixed by #3884

Comments

@hamoid
Copy link
Contributor

hamoid commented Sep 27, 2015

In b7, I just got this when clicking Add Library. Yesterday it was working, but this time it got stuck with the spinning circle.

Exception in thread "Contribution List Downloader" java.lang.IndexOutOfBoundsException: Invalid range
    at javax.swing.DefaultRowSorter.rowsInserted(DefaultRowSorter.java:864)
    at javax.swing.JTable.notifySorter(JTable.java:4270)
    at javax.swing.JTable.sortedTableChanged(JTable.java:4118)
    at javax.swing.JTable.tableChanged(JTable.java:4395)
    at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:296)
    at javax.swing.table.AbstractTableModel.fireTableRowsInserted(AbstractTableModel.java:231)
    at javax.swing.table.DefaultTableModel.insertRow(DefaultTableModel.java:376)
    at javax.swing.table.DefaultTableModel.addRow(DefaultTableModel.java:350)
    at javax.swing.table.DefaultTableModel.addRow(DefaultTableModel.java:361)
    at processing.app.contrib.ListPanel.updatePanelOrdering(ListPanel.java:435)
    at processing.app.contrib.ListPanel.filterLibraries(ListPanel.java:515)
    at processing.app.contrib.ContributionTab.filterLibraries(ContributionTab.java:290)
    at processing.app.contrib.ContributionTab$2.itemStateChanged(ContributionTab.java:197)
    at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
    at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)
    at javax.swing.JComboBox.contentsChanged(JComboBox.java:1330)
    at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118)
    at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93)
    at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:131)
    at javax.swing.JComboBox.addItem(JComboBox.java:716)
    at processing.app.contrib.ContributionTab.updateCategoryChooser(ContributionTab.java:275)
    at processing.app.contrib.ManagerFrame$4.finishedAction(ManagerFrame.java:383)
    at processing.app.contrib.ContribProgressBar.finished(ContribProgressBar.java:53)
    at processing.app.contrib.ContributionManager.download(ContributionManager.java:125)
    at processing.app.contrib.ContributionListing$2.run(ContributionListing.java:421)
    at java.lang.Thread.run(Thread.java:745)

After two minutes it was working again (server side glitch?). The Sound library refuses to show up as installed though.

JakubValtar added a commit to JakubValtar/processing that referenced this issue Sep 27, 2015
- UI is now updated on EDT. Should work for now, but needs more love
later, e.g. use SwingWorkers and update UI on EDT instead of
synchronizing everywhere.
- added TODOs about threading

Fixes processing#3882
@JakubValtar
Copy link
Contributor

There was a threading problem which should be fixed in my PR.

I'm not sure what is happening with the sound library though.

@benfry
Copy link
Contributor

benfry commented Sep 28, 2015

Closing as fixed; @JakubValtar can you open something new for the Sound issue if you can confirm it?

@benfry benfry closed this as completed Sep 28, 2015
@JakubValtar
Copy link
Contributor

@benfry No problems with the Sound libarary on my end.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants