This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 20081210142746) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Windows XP, 5.1, x86 User Comments: krystyna: -adding new nbms krystyna: -adding new nbms Stacktrace: java.lang.NegativeArraySizeException at java.util.AbstractCollection.toArray(AbstractCollection.java:119) at java.util.LinkedList.addAll(LinkedList.java:269) at java.util.LinkedList.addAll(LinkedList.java:247) at java.util.LinkedList.<init>(LinkedList.java:98) at org.netbeans.modules.autoupdate.ui.LocalDownloadSupport.getUpdateUnits(LocalDownloadSupport.java:122) at org.netbeans.modules.autoupdate.ui.LocallyDownloadedTableModel.setUnits(LocallyDownloadedTableModel.java:72)
Created attachment 74872 [details] stacktrace
krystyna, what specific NBMs have you added ?
please also attach ~/.netbeans/dev/var/log/messages.log
Third party nbms sent directly.
I have not been able to reproduce this exception with either the same or any third party nbms.
I can`t reproduce it but I see the issue in the synchronization: SEVERE [org.openide.util.RequestProcessor] java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$ValueIterator.next(HashMap.java:822) at org.netbeans.modules.autoupdate.ui.LocalDownloadSupport.removeInstalledUnit(LocalDownloadSupport.java:289) at org.netbeans.modules.autoupdate.ui.LocallyDownloadedTableModel.removeInstalledUnits (LocallyDownloadedTableModel.java:81) at org.netbeans.modules.autoupdate.ui.UnitTab$11.run(UnitTab.java:676) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005) SEVERE [org.openide.util.RequestProcessor] java.lang.NegativeArraySizeException at java.util.AbstractCollection.toArray(AbstractCollection.java:119) at java.util.LinkedList.addAll(LinkedList.java:269) at java.util.LinkedList.addAll(LinkedList.java:247) at java.util.LinkedList.<init>(LinkedList.java:98) at org.netbeans.modules.autoupdate.ui.LocalDownloadSupport.getUpdateUnits(LocalDownloadSupport.java:122) at org.netbeans.modules.autoupdate.ui.LocallyDownloadedTableModel.setUnits(LocallyDownloadedTableModel.java:72) at org.netbeans.modules.autoupdate.ui.LocallyDownloadedTableModel.removeInstalledUnits (LocallyDownloadedTableModel.java:83) at org.netbeans.modules.autoupdate.ui.UnitTab$11.run(UnitTab.java:676) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005) I`ll fix it.
fixed, core-main #1a5ead5a6cc3
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1a5ead5a6cc3 User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #155284 NegativeArraySizeException at java.util.AbstractCollection.toArray