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 237745 - java.lang.NumberFormatException: For input string: ""
Summary: java.lang.NumberFormatException: For input string: ""
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 237380 237750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-29 10:28 UTC by Tomas Stupka
Modified: 2013-11-21 13:27 UTC (History)
4 users (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 Tomas Stupka 2013-10-29 10:28:38 UTC
Product Version = NetBeans IDE Dev (Build 20131029-33ebef2f05f3)
Operating System = Mac OS X version 10.9 running on x86_64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

seen this in log ...

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.team.ide.IDEServicesImpl.getPluginUpdates(IDEServicesImpl.java:146)
	at org.netbeans.modules.bugtracking.util.AutoupdateSupport.checkNewPluginAvailable(AutoupdateSupport.java:153)
	at org.netbeans.modules.bugtracking.util.AutoupdateSupport.checkAndNotify(AutoupdateSupport.java:134)
	at org.netbeans.modules.bugzilla.autoupdate.BugzillaAutoupdate.checkAndNotify(BugzillaAutoupdate.java:97)
	at org.netbeans.modules.bugzilla.commands.BugzillaExecutor.checkAutoupdate(BugzillaExecutor.java:626)
	at org.netbeans.modules.bugzilla.commands.BugzillaExecutor.execute(BugzillaExecutor.java:124)
	at org.netbeans.modules.bugzilla.commands.BugzillaExecutor.execute(BugzillaExecutor.java:112)
	at org.netbeans.modules.bugzilla.commands.BugzillaExecutor.execute(BugzillaExecutor.java:108)
	at org.netbeans.modules.bugzilla.query.BugzillaQuery$1.run(BugzillaQuery.java:214)
	at org.netbeans.modules.bugzilla.query.BugzillaQuery.executeQuery(BugzillaQuery.java:452)
	at org.netbeans.modules.bugzilla.query.BugzillaQuery.refreshIntern(BugzillaQuery.java:167)
	at org.netbeans.modules.bugzilla.query.BugzillaQuery.refresh(BugzillaQuery.java:268)
	at org.netbeans.modules.bugzilla.query.QueryController$QueryTask.executeQuery(QueryController.java:1182)
	at org.netbeans.modules.bugzilla.query.QueryController$QueryTask.run(QueryController.java:1219)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Comment 1 Tomas Stupka 2013-10-30 14:37:09 UTC
bugzilla only triggers the problem, but seems to be caused by some other modules having downloadSize="".

please evaluate
Comment 2 Jiri Rechtacek 2013-11-04 14:26:55 UTC
http://hg.netbeans.org/core-main/rev/d378055188e5
Comment 3 Jiri Rechtacek 2013-11-06 09:40:49 UTC
*** Bug 237735 has been marked as a duplicate of this bug. ***
Comment 4 Jiri Rechtacek 2013-11-06 09:42:55 UTC
*** Bug 237750 has been marked as a duplicate of this bug. ***
Comment 5 Jiri Rechtacek 2013-11-06 10:49:13 UTC
*** Bug 237380 has been marked as a duplicate of this bug. ***
Comment 6 Tomas Danek 2013-11-12 10:16:16 UTC
v. in

Product Version: NetBeans IDE Dev (Build 201311120002)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/
Comment 8 Tomas Danek 2013-11-21 13:27:58 UTC
unable to reproduce in, verified in 74 patch 1


Product Version: NetBeans IDE 7.4 (Build 201310111528)
Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.4
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.4