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.
[NetBeans 6.1 fcs] When the plugin is in pending state then it is not possible to install other plugin depending on such pending plugin. I am not sure whether this is defect or enhancement - seems to me like a feature. But it would be very valuable to have it fixed because it breaks possibility of install modules one by one in the tests. Steps to reproduce: -Install Ruby and Rails (at the end of installer select "Restart IDE Later") -Install Ruby Extra Hints -> installation cannot continue because of the message below ---------------------------------%<---------------------------- Missing required modules for Plugin Ruby Extra Hints: JRuby Implementation is waiting for restart IDE. Ruby Hints is waiting for restart IDE. Ruby Editing is waiting for restart IDE. ---------------------------------%<---------------------------- Similarly when adding the plugin to a container via API it causes exception like following: java.lang.IllegalArgumentException: Invalid org.netbeans.modules.ruby.platform for operation INSTALL at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:103) at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:277) at org.netbeans.updatecenters.install.InstallTest.installPlugin(InstallTest.java:290) at org.netbeans.updatecenters.install.InstallTest.runTest(InstallTest.java:254) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:83) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:314) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:252) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:330) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:192) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) at org.netbeans.xtest.plugin.ide.MainWithExec.run(MainWithExec.java:108) at org.netbeans.xtest.plugin.ide.Main$3.run(Main.java:326) at java.lang.Thread.run(Thread.java:619)
Reassigning to the new "autoupdate/*" owner dlipin.
*** Issue 119882 has been marked as a duplicate of this issue. ***
*** Issue 149946 has been marked as a duplicate of this issue. ***
*** Issue 150119 has been marked as a duplicate of this issue. ***
*** Issue 156058 has been marked as a duplicate of this issue. ***
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=6455
*** Issue 121857 has been marked as a duplicate of this issue. ***
*** Issue 130529 has been marked as a duplicate of this issue. ***
*** Issue 158770 has been marked as a duplicate of this issue. ***
This issue already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=6455
*** Issue 163064 has been marked as a duplicate of this issue. ***
Reproducible test case is very appreciated.
I installed NB Dev 20090525 (Java only) and deactivated team module - got the exception
Build: NetBeans IDE 6.7 RC3 (Build 200906100001) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: SunOS, 5.11, x86 User Comments: Stacktrace: java.lang.IllegalArgumentException: Invalid org.netbeans.modules.php.kit for operation UNINSTALL at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:106) at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:275) at org.netbeans.modules.autoupdate.ui.Unit$Installed.setMarked(Unit.java:311) at org.netbeans.modules.autoupdate.ui.InstalledTableModel.setValueAt(InstalledTableModel.java:154) at javax.swing.JTable.setValueAt(JTable.java:2663) at javax.swing.JTable.editingStopped(JTable.java:4662)
Created attachment 83397 [details] stacktrace
Michael, please provide exacts steps to reproduce the issue. Thanks.
Looks like they skipped by exception reported. Open Plugins. Activate PHP plugin. Deactivate PHP and Cancel reboot. Deactivate PHP again, choose Reboot later. I found slightly different behavior for root/user and user/user installation/usage, but overall result seems to be the same. In first case Deactivate button remains enabled in second case doesn't.
Build: NetBeans IDE 6.7 RC2 (Build 200906042131) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Linux, 2.6.20-17-generic, i386 User Comments: I was playing with XSLT Debugger plugin [1]. Later I decided to first deactivate it and then changed my mind and I wanted to uninstall it completely. [1] http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=17747 Stacktrace: java.lang.IllegalArgumentException: Invalid dougmcneil.name.xslt.debugger for operation UNINSTALL at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:106) at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:275) at org.netbeans.modules.autoupdate.ui.Unit$Installed.setMarked(Unit.java:311) at org.netbeans.modules.autoupdate.ui.InstalledTableModel.setValueAt(InstalledTableModel.java:154) at javax.swing.JTable.setValueAt(JTable.java:2663) at javax.swing.JTable.editingStopped(JTable.java:4662)
Created attachment 83621 [details] stacktrace
Why is this incomplete? I did exactly the same as Michael described but with XSLT Debugger plugin. Installed it into 6.7 RC2, played with it, then checked it in Plugins/Installed tab, deactivated it and postponed required restart of the IDE because I wanted to get rid of it completely right away not later.
This particular issue should be fixed together with 166806.
Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Linux, 2.6.20-17-generic, i386 User Comments: Installed Automatic Projects, switched to Installed tab, then Deactivated the plugin, postponed Restart of the IDE to happen later and then checked the Automatic Projects entry again. Stacktrace: java.lang.IllegalArgumentException: Invalid org.netbeans.modules.autoproject.java for operation UNINSTALL at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:106) at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:275) at org.netbeans.modules.autoupdate.ui.Unit$Installed.setMarked(Unit.java:324) at org.netbeans.modules.autoupdate.ui.InstalledTableModel.setValueAt(InstalledTableModel.java:154) at javax.swing.JTable.setValueAt(JTable.java:2663) at javax.swing.JTable.editingStopped(JTable.java:4662)
Created attachment 84225 [details] stacktrace
This issue already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=6455
This issue (with this particular stacktrace) is fixed in 6.8 by http://hg.netbeans.org/main-golden/rev/eead235cea13
Jiri (Kovalsky), Michael, and others, could you please verify that it is fixed in development builds? http://bits.netbeans.org/dev/nightly/latest/ I want to include this bug fix into the next 6.7 patch. Thanks, Dmitry
verified in NB Dev (20090708)
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/901459b1cb1b
Could somebody explain to me why the 67patch1-fixed status whiteboard has been removed even though the changeset 901459b1cb1b wasn't rolled back from the release67_fixes branch?
Sorry, looks like my mistake.