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 240449 - java.lang.NumberFormatException: For input string: "" because codenamebase="org.zeroturnaround.jrebel.netbeans" has downloadsize=""
Summary: java.lang.NumberFormatException: For input string: "" because codenamebase="o...
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jiri Kovalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 12:16 UTC by chrislovsund
Modified: 2014-01-15 10:35 UTC (History)
0 users

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 chrislovsund 2014-01-14 12:16:58 UTC
<b>I got this stacktrace:</b>
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:93)
	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:242)
	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:203)
	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.PluginManagerUI.initialize(PluginManagerUI.java:233)
	at org.netbeans.modules.autoupdate.ui.PluginManagerUI.access$100(PluginManagerUI.java:79)
	at org.netbeans.modules.autoupdate.ui.PluginManagerUI$1.run(PluginManagerUI.java:133)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)

probably because UC contain module with empty downloadsize:
http://plugins.netbeans.org/nbpluginportal/updates/7.2/catalog.xml

<module codenamebase="org.zeroturnaround.jrebel.netbeans" distribution="http://plugins.netbeans.org/nbpluginportal/files/nbms/1382613147_jr-ide-nb-1.5.6.nbm" downloadsize="" homepage="http://www.zeroturnaround.com" license="43557" moduleauthor="Zeroturnaround OƜ" releasedate="2013/10/18" needsrestart="true">
Comment 1 Jiri Kovalsky 2014-01-15 09:06:04 UTC
Module catalog for NetBeans IDE 7.2 has been regenerated. Please give it another try.
Comment 2 chrislovsund 2014-01-15 10:35:16 UTC
Thanks, seems to be working fine now. :)