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 125349 - Cannot update plugins with non-administrative account
Summary: Cannot update plugins with non-administrative account
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-16 08:36 UTC by merjadok
Modified: 2008-07-20 21:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description merjadok 2008-01-16 08:36:43 UTC
I use Netbeans under user account (i.e. non-administrator) in Windows XP. I am able to install plugins from IDE, but
when I try to update them I get "Network Problem" error. I am suggested that I should configure proxy settings, but
everything is Ok because I can download new plugins without problem. When I log in to Administrator account I am able to
update this plugins.
Comment 1 Lukas Hasik 2008-01-16 11:43:44 UTC
What network problem? Any details? What Update center are you connecting to?
Any exceptions in the log? (


Have you install the IDE as administrator? Does the user rights to update the IDE directory?
Comment 2 merjadok 2008-01-16 11:58:02 UTC
Yes, I installed it as Administrator. I get the following error:

Networking problem in
http://dlc.sun.com/netbeans/updates/6.0/uc/final/stable/visualweb1/org-netbeans-modules-visualweb-kit-patch2.nbm

and in log I have something like this:

INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: C:\Program Files\NetBeans
6.0\visualweb1\update\download\org-netbeans-modules-visualweb-kit.nbm (The system cannot find the path specified)
java.io.FileNotFoundException: C:\Program Files\NetBeans
6.0\visualweb1\update\download\org-netbeans-modules-visualweb-kit.nbm (The system cannot find the path specified)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.copy(InstallSupportImpl.java:690)
[catch] at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:611)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:549)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$300(InstallSupportImpl.java:99)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:164)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:139)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
INFO [org.netbeans.modules.autoupdate.ui.wizards.InstallPanel]:
http://dlc.sun.com/netbeans/updates/6.0/uc/final/stable/visualweb1/org-netbeans-modules-visualweb-kit-patch2.nbm
org.netbeans.api.autoupdate.OperationException:
http://dlc.sun.com/netbeans/updates/6.0/uc/final/stable/visualweb1/org-netbeans-modules-visualweb-kit-patch2.nbm
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:614)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:549)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$300(InstallSupportImpl.java:99)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:164)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:139)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)

Strange thing is that under same account I can install plugins, but I cannot update them. In the same time, with the
same network (firewall ...) configuration and as Administrator I am able to update them.
Comment 3 merjadok 2008-01-16 12:08:07 UTC
OK, I think I know what is going on :)
The plugin I tried to update (Visual JSF) was installed with IDE under Admin account, and that is the reason why I
couldn't update it. I thought that I was updating "Visual Web Page Layouts" which I installed as user.

Sorry for inconvenience,
Filip