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 237409 - First install and startup doesn't install JUnit and I get exceptions in IDE-Log
Summary: First install and startup doesn't install JUnit and I get exceptions in IDE-Log
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-21 10:09 UTC by arittner
Modified: 2014-03-10 09:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (55.71 KB, text/plain)
2013-10-21 10:09 UTC, arittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arittner 2013-10-21 10:09:49 UTC
I've checket the JUnit installion in the installer. I've uncheckt the option to integrate old setting. 

At the first startup I see only the startup-Screen. No updates to JUnit. But in IDE Log many NumberFormat-Exceptions.

WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.home has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.Clusters.relativeDirsWithHome(Clusters.java:137)
INFO [org.netbeans.modules.autoupdate.services.UpdateUnitFactory]: For input string: ""
java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:504)
	at java.lang.Integer.parseInt(Integer.java:527)
	at org.netbeans.modules.autoupdate.updateprovider.ModuleItem.getDownloadSize(ModuleItem.java:148)
	at org.netbeans.modules.autoupdate.services.ModuleUpdateElementImpl.<init>(ModuleUpdateElementImpl.java:99)
	at org.netbeans.modules.autoupdate.services.KitModuleUpdateElementImpl.<init>(KitModuleUpdateElementImpl.java:57)
[catch] at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:206)
	at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:143)
	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:271)
	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:231)
	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:100)
	at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:103)
	at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.checkUpdateElements(AutoupdateCheckScheduler.java:218)
	at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$5.run(AutoupdateCheckScheduler.java:189)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)


Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Comment 1 arittner 2013-10-21 10:09:54 UTC
Created attachment 141339 [details]
IDE log
Comment 2 arittner 2013-10-21 10:18:32 UTC
After a look in my plugin center, I can see: JUnit is installed.

Version: 1.1 Source: Certified Plugins  
Plugin Description
Includes the JUnit unit testing library and corresponding library definitions. 3.x and 4.x versions are both included.

But the exceptions are curious.
Comment 3 markiewb 2013-10-26 11:57:10 UTC
But in IDE Log many NumberFormat-Exceptions.

WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.home has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.Clusters.relativeDirsWithHome(Clusters.java:137)
INFO [org.netbeans.modules.autoupdate.services.UpdateUnitFactory]: For input string: ""
java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:504)
	at java.lang.Integer.parseInt(Integer.java:527)
	

---> at least this exception is a dup of https://netbeans.org/bugzilla/show_bug.cgi?id=237493