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 147754

Summary: cannot get maven from UC: file not found on web site
Product: updatecenters Reporter: _ ludo <ludo>
Component: DevAssignee: Jiri Kovalsky <jkovalsky>
Status: RESOLVED FIXED    
Severity: blocker CC: mkleint
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ ludo 2008-09-19 18:05:20 UTC
My nightly 6.5  build. On Mac OSx jk 1.5

Use UC, try to download the Maven plugins:


java.io.FileNotFoundException:
http://dlc.sun.com/netbeans/updates/dev/uc/final/main/modules/maven1/org-netbeans-modules-maven-bridges-debugger.nbm



	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
	at java.net.URL.openStream(URL.java:1007)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.copy(InstallSupportImpl.java:767)
[catch] at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:683)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:621)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$400(InstallSupportImpl.java:103)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:170)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:144)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:613)
INFO [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]:
http://dlc.sun.com/netbeans/updates/dev/uc/final/main/modules/maven1/org-netbeans-modules-maven-bridges-debugger.nbm
org.netbeans.api.autoupdate.OperationException:
http://dlc.sun.com/netbeans/updates/dev/uc/final/main/modules/maven1/org-netbeans-modules-maven-bridges-debugger.nbm
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:689)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:621)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$400(InstallSupportImpl.java:103)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:170)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:144)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
[catch] at java.lang.Thread.run(Thread.java:613)
SEVERE [org.netbeans.modules.autoupdate.ui.wizards.InstallStep]

msg
Caused: org.netbeans.api.autoupdate.OperationException:
http://dlc.sun.com/netbeans/updates/dev/uc/final/main/modules/maven1/org-netbeans-modules-maven-bridges-debugger.nbm
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:689)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:621)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$400(InstallSupportImpl.java:103)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:170)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:144)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
Comment 1 Lukas Hasik 2008-09-22 09:13:42 UTC
I receive 
"Not Found
The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server
has been instructed not to let you have it."
for the link to NBM in the exception. 
Comment 2 Milos Kleint 2008-09-22 09:31:31 UTC
AFAIK this shall be a result of the migration of maven modules to hg.netbeans.org. While previously the modules were on
an update center that was manually updated, not it's automatically built and placed on a different AU. I've told robert
to remove the manual bits. The issue you are seeing is from having old cached repository content on your client (IDE).

Reload Plugins shall fix the problem.
Comment 3 Jiri Rechtacek 2008-09-22 16:44:02 UTC
It works for me now. Moreover, I improved message when this error occurred while download plugins to advise users to
Reload catalog in such cases. See http://hg.netbeans.org/core-main/rev/24757c98ea57
Comment 4 Quality Engineering 2008-09-23 18:00:08 UTC
Integrated into 'main-golden', will be available in build *200809231435* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/24757c98ea57
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #147754: a improved message when error occured while downloading plugins
Comment 5 dlipin 2008-11-27 18:36:43 UTC
*** Issue 146492 has been marked as a duplicate of this issue. ***