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 235879 - [RC1] JUnit plugin is not installed
Summary: [RC1] JUnit plugin is not installed
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-12 13:16 UTC by Martin Kanak
Modified: 2013-09-12 17:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log (4.03 MB, application/octet-stream)
2013-09-12 14:57 UTC, Martin Kanak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kanak 2013-09-12 13:16:02 UTC
JUnit plugin is not installed during installation of NB 7.4 RC1. When you start RC1 after installation JUnit plugin is present in Available Plugins, but it should be installed yet.

Product Version: NetBeans IDE 7.4 RC1 (Build 201309112301)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Marian Mirilovic 2013-09-12 14:35:02 UTC
Jirka, any guess what's going on ?
Comment 2 Jiri Rechtacek 2013-09-12 14:45:00 UTC
(In reply to Marian Mirilovic from comment #1)
> Jirka, any guess what's going on ?

I'm guessing the JUnit was not installed during IDE installation. Probably the UCs were not staged yet.

Martin, can you attach C:\Users\kanakmar\.nbi\log\*.log? Thanks
Comment 3 Martin Kanak 2013-09-12 14:57:18 UTC
Created attachment 139997 [details]
log

adding log
Comment 4 Jiri Rechtacek 2013-09-12 17:40:33 UTC
(In reply to Jiri Rechtacek from comment #2)
> (In reply to Marian Mirilovic from comment #1)
> > Jirka, any guess what's going on ?
> 
> I'm guessing the JUnit was not installed during IDE installation. Probably
> the UCs were not staged yet.
> 
> Martin, can you attach C:\Users\kanakmar\.nbi\log\*.log? Thanks

Based on the log - there were as network problem (exit code 31) while accessing UCs
==%==
2013-09-12 16:54:48.562]:     Run [C:\Program Files\NetBeans 7.4 RC1\bin\netbeans.exe, --fork-java, -J-Dnetbeans.close=true, --nosplash, -J-Dorg.netbeans.core.WindowSystem.show=false, -J-Dplugin.manager.install.global=true, --userdir, C:\Users\tester\AppData\Local\Temp\tmpnb, --modules, --install, ".*junit.*", --update-all]
[2013-09-12 16:54:48.567]: executing command: C:\Program Files\NetBeans 7.4 RC1\bin\netbeans.exe --fork-java -J-Dnetbeans.close=true --nosplash -J-Dorg.netbeans.core.WindowSystem.show=false -J-Dplugin.manager.install.global=true --userdir C:\Users\tester\AppData\Local\Temp\tmpnb --modules --install ".*junit.*" --update-all, in directory: C:\Program Files\NetBeans 7.4 RC1
[2013-09-12 16:55:06.547]:     [stdout]: Refreshing null
[2013-09-12 16:55:06.548]:     [stdout]: Refreshing Certified Plugins
[2013-09-12 16:55:08.199]:     [stdout]: Refreshing Import plugins (disabled)
[2013-09-12 16:55:08.199]:     [stdout]: Refreshing Plugin Portal
[2013-09-12 16:55:08.600]:     [stderr]: http://plugins.netbeans.org/nbpluginportal/updates/7.4/catalog.xml.gz
[2013-09-12 16:55:09.901]:     [return]: 31
[2013-09-12 16:55:09.901]: ... command execution finished
[2013-09-12 16:55:09.901]:     .... exit code: 31
==%==

So, that's the reason why the installer didn't install JUnit. We are already tracking a RFE for improve user notification when the installer cannot access UCs to avoid possible user confusion that JUnit was installed successfully but it was not (issue 233718).