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 104851 - NumberFormatException: For input string: "."
Summary: NumberFormatException: For input string: "."
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2007-05-25 14:52 UTC by Marian Mirilovic
Modified: 2007-06-22 08:53 UTC (History)
1 user (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 Marian Mirilovic 2007-05-25 14:52:25 UTC
NB All-In-One 200705250000, JDK 6.0_01

We are getting following exception on machines in SPB (Locale Russia) after
opening Plugin Manager...

      java.lang.NumberFormatException: For input string: "."
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:447)
	at java.lang.Integer.parseInt(Integer.java:497)
	at
org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.getDigitsInVersion(ArtificialFeaturesProvider.java:206)
	at
org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.addVersion(ArtificialFeaturesProvider.java:158)
	at
org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.createFeatureItem(ArtificialFeaturesProvider.java:147)
	at
org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.getUpdateItems(ArtificialFeaturesProvider.java:126)
	at
org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:145)
	at
org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:73)
	at
org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:62)
	at
org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:76)
	at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:76)
	at
org.netbeans.modules.autoupdate.ui.PluginManagerUI.initialize(PluginManagerUI.java:147)
	at
org.netbeans.modules.autoupdate.ui.PluginManagerUI$1.run(PluginManagerUI.java:69)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Marian Mirilovic 2007-05-29 12:07:41 UTC
We are able to reproduce this also on machines in PRG (with EN locale)... on JDK
1.5.0_12 & JDK 6.0_01 

Exception is slightly changed by one line ...
at
org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider.getDigitsInVersion(ArtificialFeaturesProvider.java:207)
...
Comment 2 kirillkh 2007-05-31 23:28:46 UTC
I'm also seeing this and am unable to use plugin manager at all. It's P1.
Comment 3 Jiri Rechtacek 2007-06-01 07:44:26 UTC
kirillh, "I think I'm also seeing this" is not enough to increase to P1. Which
build? Which jdk? Which locale? Etc. If I'm not seeing it in
http://bits.netbeans.org/download/6.0/nightly/latest/zip/netbeans-trunk-nightly-200706010000-all-in-one.zip
can I close as worksforme?
Comment 4 Jiri Rechtacek 2007-06-01 09:37:55 UTC
Checking in ArtificialFeaturesProvider.java;
/shared/data/ccvs/repository/autoupdate/services/src/org/netbeans/modules/autoupdate/updateprovider/ArtificialFeaturesProvider.java,v
 <--  ArtificialFeaturesProvider.java
new revision: 1.5; previous revision: 1.4
done
Comment 5 kirillkh 2007-06-01 09:40:19 UTC
No, the reason for P1 is that the plugin manager is unusable, thus I can't even
deactivate an installed module. The fact that you can't reproduce it doesn't
make it any less P1. I think in such case you should leave a comment with your
questions.

So, in case it's still relevant - the locale is Cp1252, WinXP, 31.05.2007 build
from Hudson. JDK is 1.6.0_01.
Comment 6 kirillkh 2007-06-01 09:47:31 UTC
Good, thanks.
Comment 7 Marian Mirilovic 2007-06-22 08:53:25 UTC
verified