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.
[S1S5 Nevada FCS, JDK 1.4.2_02] I installed manually downloaded NBMs for Arrow. Exception from updater was thrown after restart and updater hanged. If I tried to install NBMs for the second time, it worked. It happened to my colleague too.
Created attachment 12055 [details] exception and thread dump
Created attachment 12056 [details] exception and thread dump from my colleague
Please specify what .nbms you installed and where you got them.
When I have no Corba module installed before installing NBMs then the dump is similar to that with id=12056. Now I installed the Corba module from the UC server first and then installed NBMs. Here is the thread dump:
Created attachment 12061 [details] exception and thread dump
I tried to install/update all modules from the ftportal and the dump is similar to that with id=12056.
I tried reproducing this bug with different subsets of NBMs. I did not encounter the problem always. The problem did NOT appear for example * if I installed only the corba.nbm * if I installed everything except corba.nbm * if I installed everything except autoupdate.nbm The problem DID appear * if I was installing corba.nbm with autoupdate.nbm at once, just these two modules were enough for the problem to appear Both autoupdate.nbm and corba.nbm have the "global" flag. They both install something under INSTALLDIR/lib. Perhaps this is the key to the problem.
I've done some investigation and I found out, that the problem is most probably caused by update of the autoupdate module. The problem appears when autoupdate module is being updated together with some other modules. The reasons: * I wasn't able to reproduce the problem, when I tried to install any other set of modules except of autoupdate module * when I reproduced the problem, progress bar always stoped when the updater was processing module autoupdate, doesn't matter what exception is thrown. Updater fails on module following after autoupdate module. * there is no problem to install autoupdate module only * info.xml files are correct for all NBMs As far as I know, there is a fix in updater.jar and I suspect, that this fix causes reported problem.
Updating updater .jar is not and will not be supported feature of the AU module
:-)) It always worked, we delivered fixes to updater.jar in previous releases, without any problems. Were there any changes in Updater for NB3.5 / S1S5 which could cause this problem?
For the time being I suggest that autoupdate.nbm is excluded from the Nevada Patch 1. The one fix which is in autoupdate.nbm is not critical (see http://www.netbeans.org/issues/show_bug.cgi?id=34355). With regard to either removing the fix #34355 from Arrow or leaving it there, I think we can keep it there. I believe this fix is not the cause of this problem. I believe this problem is in the updater code already in FCS version and shows up if updater.jar is being replaced by a new version. However, this problem needs to be resolved because it prevents us from updating autoupdate module, and it might become a critical issue if a fix for autoupdate module must be delivered to users.
Updating autoupdate module is OK. Up[dating the updater.jar is not. Maybe it worked by accident but it never was feature of the AU to update the updater.jar. and as said before will not be.
OK then, see the new bug #37119, which must be resolved: http://www.netbeans.org/issues/show_bug.cgi?id=37119 And I think Support and QA would like to comment on this suggested impossibility of patching updater.jar! Karthik, please, raise a new P1 about updating updater.jar if you think appropriate.
I have created a new bug http://www.netbeans.org/issues/show_bug.cgi?id=37133 to track the issue of the inability to update updater.jar
The updater hangs only when updater.jar (included in autoupdate.nbm) itself is updated. Since that issue is handled by #37133, http://www.netbeans.org/issues/show_bug.cgi?id=37133, this issue can be closed.
x