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 117536 - NumberFormatException during startup
Summary: NumberFormatException during startup
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 117577 117584 117673 117705 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-02 22:59 UTC by Ch Nguyen
Modified: 2009-04-16 05:58 UTC (History)
3 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 Ch Nguyen 2007-10-02 22:59:31 UTC
Latest trunk build, I'm seeing this exception:
SEVERE [org.openide.util.RequestProcessor]
java.lang.NumberFormatException: multiple points
        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
        at java.lang.Double.parseDouble(Double.java:482)
        at java.text.DigitList.getDouble(DigitList.java:141)
        at java.text.DecimalFormat.parse(DecimalFormat.java:1276)
        at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1375)
        at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1124)
        at java.text.DateFormat.parse(DateFormat.java:333)
        at org.netbeans.modules.autoupdate.updateprovider.ModuleItem.<init>(ModuleItem.java:103)
        at org.netbeans.spi.autoupdate.UpdateItem.createModule(UpdateItem.java:110)
        at org.netbeans.modules.autoupdate.updateprovider.SimpleItem$Module.toUpdateItem(SimpleItem.java:287)
        at org.netbeans.modules.autoupdate.updateprovider.SimpleItem$Module.toUpdateItem(SimpleItem.java:209)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:112)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:114)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:190)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:186)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:162)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:91)
        at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:100)
        at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$3.run(AutoupdateCheckScheduler.java:132)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Jaromir Uhrik 2007-10-03 09:13:21 UTC
I got the same exception during the start of the following build but it cannot be reproduced:
Product Version: NetBeans IDE Dev (Build 200710030000) 
Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 
System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb)
Comment 2 Jiri Rechtacek 2007-10-03 09:58:24 UTC
Bad content on UC. Need XML validation UC before publish it.
Fixed by try&catch.
Checking in ModuleItem.java;
/shared/data/ccvs/repository/autoupdate/services/src/org/netbeans/modules/autoupdate/updateprovider/ModuleItem.java,v 
<--  ModuleItem.java
new revision: 1.6; previous revision: 1.5
done
Comment 3 Jiri Rechtacek 2007-10-03 09:59:07 UTC
*** Issue 117577 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Rechtacek 2007-10-03 12:16:53 UTC
*** Issue 117584 has been marked as a duplicate of this issue. ***
Comment 5 Jiri Rechtacek 2007-10-03 22:28:32 UTC
*** Issue 117705 has been marked as a duplicate of this issue. ***
Comment 6 rmatous 2007-10-05 16:37:29 UTC
*** Issue 117673 has been marked as a duplicate of this issue. ***
Comment 7 Exceptions Reporter 2008-10-13 10:39:35 UTC
Reopening - reproduced in NetBeans IDE 6.1 (Build 200805300101)
http://statistics.netbeans.org/exceptions/detail.do?id=127320
Comment 8 Jiri Rechtacek 2008-10-13 10:48:44 UTC
The report from
http://statistics.netbeans.org/exceptions/detail.do?id=127320 is invalid in this case.