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 241730

Summary: IllegalArgumentException: RichFaces[org.netbeans.modules.web.jsf.richfaces/1.25.1] is scheduled for restart IDE.
Product: platform Reporter: basil.bourque
Component: AutoupdateAssignee: Libor Fischmeistr <lfischmeistr>
Status: RESOLVED FIXED    
Severity: normal Keywords: REGRESSION
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207508
Attachments: stacktrace

Description basil.bourque 2014-02-12 02:46:40 UTC
This bug was originally marked as duplicate of bug 134595, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b129
OS: Mac OS X

User Comments:
basil.bourque: Check several if the items listed in the "Installed" tab of Tools > Plugins dialog. Click "Deactivate" button. A dialog appears warning about related plugins needing to be deactivated. Click some kind of Cancel or Stop button. Now back on the listing of installed plugins, context-click on an item and choose the "Deactivate" menu item. BAM! Error generated.




Stacktrace: 
java.lang.IllegalArgumentException: RichFaces[org.netbeans.modules.web.jsf.richfaces/1.25.1] is scheduled for restart IDE.
   at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:121)
   at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:292)
   at org.netbeans.modules.autoupdate.ui.UnitTab$DeactivateCategoryAction.performerImpl(UnitTab.java:1983)
   at org.netbeans.modules.autoupdate.ui.UnitTab$RowTabAction.performerImpl(UnitTab.java:1172)
   at org.netbeans.modules.autoupdate.ui.UnitTab$TabAction.actionPerformed(UnitTab.java:1114)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
Comment 1 basil.bourque 2014-02-12 02:46:42 UTC
Created attachment 145064 [details]
stacktrace
Comment 2 Libor Fischmeistr 2014-02-12 13:39:28 UTC
Hello, thank you for the report, may I ask you to more describe the steps to reproduce? All steps leading to this exception.

Thanks
Comment 3 Libor Fischmeistr 2014-02-12 14:48:22 UTC
I can reproduce it now, anyway, if you could, please post here the steps which leads to this exception in your case.

Thanks
Comment 4 basil.bourque 2014-02-13 09:49:01 UTC
Is my initial report, I did describe the approximately. 

But trying it again today, I cannot reproduce. Today I am not getting the warning about related plugins needing to be deactivated in addition to my chosen ones. That may be the key to the bug.

--Basil Bourque
Comment 5 Libor Fischmeistr 2014-02-18 10:31:17 UTC
Fixed in changeset http://hg.netbeans.org/core-main/rev/ba1ebd37255e
Comment 6 Quality Engineering 2014-02-19 02:46:10 UTC
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ba1ebd37255e
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #241730: IllegalArgumentException: RichFaces[org.netbeans.modules.web.jsf.richfaces/1.25.1] is scheduled for restart IDE.