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.
[nb_dev](20021105), [jdk1.4.1](01) Assigne to Richard: Richard I am not sure you are responsible now, feel free to reassigne.
Reassignig to upgrade because it is not caused by installer.
This issue is pointed out as future Q-build stopper, please fix it before 11/20/2002. Report http://qa.netbeans.org/q-builds/Q-build-report-200211131011.html.
There is problem that in NonGui is called Class.forName for UpgradeWizard and that ClassNotFoundException is fired. So, I tried to use SystemClassLoader for forName invocation. But Lookup.lookup (ClssLoader) returned me instance of org.netbeans.JarClassLoader instead of expected org.netbeans.core.modules.ModuleManager$SystemClassLoader. I would like to ask Jesse to investigate where the problem is (so reassigned to jglick).
Of course SystemClassLoader is not returned - there is no system class loader. This call is made before the module system has even been created. Funny, because you are trying to load a class from a module. I think I can find some simple workaround.
Increasing priority because this becomes automatically Q-build showstopper. Please fix this issue as soon as possible.
Yes, I have a patch, just need to (re)test & commit.
Jesse, can I help you test your patch ? If yes, please attach patched jar to this issue.
Created attachment 8075 [details] Proposed source patch
Thanks Jesse, I`m going to test and commit.
Don't bother, it is assigned to me, I am just running a final CVS update and will run unit tests now... (Normally I would have committed this a week ago, but I got interrupted by traveling.)
committed * Up-To-Date 1.9 core/ide/src/org/netbeans/core/upgrade/CopyUtil.java committed * Up-To-Date 1.3 core/ide/src/org/netbeans/core/upgrade/PreUpgradePanel.java committed * Up-To-Date 1.3 core/ide/src/org/netbeans/core/upgrade/TransferSettingsPanel.java committed * Up-To-Date 1.5 core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java committed * Up-To-Date 1.86 core/src/org/netbeans/core/NonGui.java
Do you want this in QBE200211270100 too?
Of course. It's a showstopper. Thanks.
Fixed in QBE200211270100: Checking in core/ide/src/org/netbeans/core/upgrade/CopyUtil.java; /cvs/core/ide/src/org/netbeans/core/upgrade/CopyUtil.java,v <-- CopyUtil.java new revision: 1.8.8.1; previous revision: 1.8 done Checking in core/ide/src/org/netbeans/core/upgrade/PreUpgradePanel.java; /cvs/core/ide/src/org/netbeans/core/upgrade/PreUpgradePanel.java,v <-- PreUpgradePanel.java new revision: 1.2.16.1; previous revision: 1.2 done Checking in core/ide/src/org/netbeans/core/upgrade/TransferSettingsPanel.java; /cvs/core/ide/src/org/netbeans/core/upgrade/TransferSettingsPanel.java,v <-- TransferSettingsPanel.java new revision: 1.2.16.1; previous revision: 1.2 done Checking in core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java; /cvs/core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java,v <-- UpgradePanel.java new revision: 1.4.16.1; previous revision: 1.4 done Processing log script arguments... More commits to come... Checking in core/src/org/netbeans/core/NonGui.java; /cvs/core/src/org/netbeans/core/NonGui.java,v <-- NonGui.java new revision: 1.84.2.1; previous revision: 1.84 done Processing log script arguments... Mailing the commit message to cvs@core.netbeans.org (from jglick@netbeans.org)
Mariane, could you please verify this ? Thanks.
verified in [nb_dev](20021129-0521)