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 248618 - Can't install JUnit plugin after upgrade from 8.0.1 to 8.0.2
Summary: Can't install JUnit plugin after upgrade from 8.0.1 to 8.0.2
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: AU Masters (show other bugs)
Version: 8.0.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 12:42 UTC by Jiri Kovalsky
Modified: 2014-11-26 10:58 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 Jiri Kovalsky 2014-11-13 12:42:51 UTC
Product Version: NetBeans IDE 8.0.2 (Build 201411102027)
Updates: NetBeans IDE is updated to version NetBeans 8.0.1 Patch 2
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/cesilko/.netbeans/8.0.1
Cache directory: /home/cesilko/.cache/netbeans/8.0.1

Steps to reproduce:
===================
1. Install NetBeans IDE 8.0.1 full distribution as root.
2. Launch the installed IDE as ordinary user and activate all IDE features in Tools > Plugins > Installed tab. Exit IDE.
3. Launch as root again and change URL of NetBeans Distribution Update Center to [1].
4. Switch to Updates tab and update NetBeans updater module. Restart IDE.
5. Once notification about additional new updates pops up, click it and proceed with updating to 8.0.2 until the IDE is restarted one more time. Exit IDE.
6. Launch as user again and now try to install JUnit plugin through Plugins manager but it will complain that:

Networking problem in http://updates.netbeans.org/netbeans/updates/8.0.2/uc/final/certified/801odcs/extra/org-netbeans-modules-junitlib.nbm

[1] http://dlc.sun.com.edgesuite.net/netbeans/updates/8.0.1/uc/final/distribution/catalog_stage.xml.gz
Comment 1 Jiri Kovalsky 2014-11-13 12:55:25 UTC
Update: if user reloads catalogs, the URLs to plugins get fixed.
Comment 2 pgebauer 2014-11-13 13:23:31 UTC
The reload of catalogs should be the integral part of update from lower IDE version to higher in the update manager. I will fix it for 8.0.2 at the AUCs side.
Comment 3 pgebauer 2014-11-13 18:16:38 UTC
Links to AUCs from previous versions of IDE have been added.
Comment 4 pgebauer 2014-11-13 18:18:15 UTC
Catalogs for distribution AUCs have been modified accordingly.
Comment 5 Marian Mirilovic 2014-11-14 15:02:27 UTC
(In reply to pgebauer from comment #2)
> The reload of catalogs should be the integral part of update from lower IDE
> version to higher in the update manager. I will fix it for 8.0.2 at the AUCs
> side.

Does it mean, we have to fix it for next versions in the IDE ?
Comment 6 pgebauer 2014-11-14 16:08:55 UTC
> Does it mean, we have to fix it for next versions in the IDE ?

Yes, we should. Otherwise we will have to link old certified AUCs link into the latest one.
Comment 7 Marian Mirilovic 2014-11-14 16:56:37 UTC
Ok, so could you please create a new bug report against AUC ? Thanks in advance
Comment 8 Jiri Kovalsky 2014-11-26 10:58:20 UTC
Verified. Thanks for the quick fix Petre.