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 168672

Summary: AssertionError: User Installed Plugins[fod.user.installed/1.0] is instanceof ModuleUpdateElementImpl
Product: platform Reporter: Oleg Khokhlov <ovk>
Component: AutoupdateAssignee: dlipin <dlipin>
Status: VERIFIED FIXED    
Severity: blocker CC: blaha, michaelnazarov, mmirilovic, ssanders
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=153777
Issue Type: DEFECT Exception Reporter: 153777
Attachments: stacktrace

Description Oleg Khokhlov 2009-07-16 13:47:38 UTC
Build: NetBeans IDE Dev (Build 200907130200)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments:
ovk: uninstalling "subversion 1.5" from plugins



Stacktrace: 
java.lang.AssertionError: User Installed Plugins[fod.user.installed/1.0] is instanceof ModuleUpdateElementImpl<br/>
        at org.netbeans.modules.autoupdate.services.OperationValidator.filterCandidatesToDeactivate(OperationValidator.java:527)<br/>
        at org.netbeans.modules.autoupdate.services.OperationValidator.findRequiredModulesForDeactivate(OperationValidator.java:514)<br/>
        at org.netbeans.modules.autoupdate.services.OperationValidator.access$1000(OperationValidator.java:67)<br/>
        at org.netbeans.modules.autoupdate.services.OperationValidator$UninstallValidator.getRequiredElementsImpl(OperationValidator.java:261)<br/>
        at org.netbeans.modules.autoupdate.services.OperationValidator.getRequiredElements(OperationValidator.java:126)<br/>
        at org.netbeans.modules.autoupdate.services.OperationContainerImpl$OperationInfoImpl.getRequiredElements(OperationContainerImpl.java:339)<br/>
Comment 1 Oleg Khokhlov 2009-07-16 13:47:45 UTC
Created attachment 84829 [details]
stacktrace
Comment 2 dlipin 2009-07-22 22:14:57 UTC
see also 168889.
Comment 3 dlipin 2009-07-23 11:37:43 UTC
*** Issue 168697 has been marked as a duplicate of this issue. ***
Comment 4 dlipin 2009-07-27 19:34:38 UTC
*** Issue 169247 has been marked as a duplicate of this issue. ***
Comment 5 dlipin 2009-07-28 23:26:18 UTC
Shortly, definite steps to reproduce:
1) Use "full" profile with ergonomics on Windows
2) Open Plugins dialog, "Available" tab
3) Install "Bundled Subversion Client for Windows", restart
4) Open Plugins dialog, "Installed" tab
5) Check the just installed svn client and click uninstall
Comment 6 dlipin 2009-07-28 23:41:44 UTC
core-main#4e27968bfdbc
Comment 7 Quality Engineering 2009-07-29 17:41:20 UTC
Integrated into 'main-golden', will be available in build *200907291401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4e27968bfdbc
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #168672 AssertionError: User Installed Plugins[fod.user.installed/1.0] is instanceof ModuleUpdateElementImpl
Comment 8 ejvyas 2009-08-21 04:01:12 UTC
This is a major issue in 6.7. Users are not able to uninstall any plugins. Is there a plan to release this as update in
6.7??
Comment 9 dlipin 2009-08-21 15:45:23 UTC
I`ve marked it as 67patch-candidate but haven`t received any feedback (from QE or from any user experience this issue) 
yet. Until it is verified it can`t be included in the patch.

So - if you can verify this in trunk (development builds) and it is not reproduce there any more - change this issue 
resolution to verified and change 67patch-candidate (in Status Whiteboard field) to 67patch2-candidate.
Comment 10 Oleg Khokhlov 2009-08-24 10:25:37 UTC
v. in 20090817