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.

Bug 225320 - AssertionError: org.netbeans.modules.autoupdate.updateprovider.ModuleItem@19b55a60 is InstalledModuleItem in Impl[Android[org.netbeans.modules.android.kit/1.90]]
Summary: AssertionError: org.netbeans.modules.autoupdate.updateprovider.ModuleItem@19b...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 08:23 UTC by danfalos
Modified: 2013-07-04 02:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 197977


Attachments
stacktrace (3.99 KB, text/plain)
2013-01-25 08:23 UTC, danfalos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description danfalos 2013-01-25 08:23:20 UTC
This bug was originally marked as duplicate of bug 223856, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-10077-on-20130115)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.12-b01, Java(TM) SE Runtime Environment, 1.6.0_37-b06
OS: Linux

Stacktrace: 
java.lang.AssertionError: org.netbeans.modules.autoupdate.updateprovider.ModuleItem@19b55a60 is InstalledModuleItem in Impl[Android[org.netbeans.modules.android.kit/1.90]]
   at org.netbeans.modules.autoupdate.services.ModuleUpdateElementImpl.getInstallationCluster(ModuleUpdateElementImpl.java:284)
   at org.netbeans.modules.autoupdate.services.ModuleUpdateUnitImpl.getVisibleAncestor(ModuleUpdateUnitImpl.java:112)
   at org.netbeans.api.autoupdate.UpdateUnit.getVisibleAncestor(UpdateUnit.java:148)
   at org.netbeans.modules.autoupdate.ui.Utilities.makeUpdateCategories(Utilities.java:232)
   at org.netbeans.modules.autoupdate.ui.UpdateTableModel.setUnits(UpdateTableModel.java:81)
   at org.netbeans.modules.autoupdate.ui.PluginManagerUI.refreshUnitsInBackground(PluginManagerUI.java:602)
Comment 1 danfalos 2013-01-25 08:23:23 UTC
Created attachment 130621 [details]
stacktrace
Comment 2 Jiri Rechtacek 2013-07-02 16:07:18 UTC
It's a race condition - the AE was removed.
http://hg.netbeans.org/core-main/rev/a342916c32b1
Comment 3 Quality Engineering 2013-07-04 02:22:31 UTC
Integrated into 'main-silver', will be available in build *201307032300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a342916c32b1
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #225320 - AssertionError: org.netbeans.modules.autoupdate.updateprovider.ModuleItem@19b55a60 is InstalledModuleItem in Impl[Android[org.netbeans.modules.android.kit/1.90]]