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 179855 - NumberFormatException: For input string: ""
Summary: NumberFormatException: For input string: ""
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 181779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-26 01:51 UTC by ivan
Modified: 2010-04-18 03:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 164590


Attachments
stacktrace (10.04 KB, text/plain)
2010-01-26 01:51 UTC, ivan
Details
stacktrace (10.04 KB, text/plain)
2010-04-18 03:01 UTC, javadimon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2010-01-26 01:51:20 UTC
This bug was originally marked as duplicate of bug 116218, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS

User Comments:
ivan: I was trying to add a NB platform.
This platform was based on a clone of cnd-main and was built under NB 6.8.
I navigated to <myrepo>.
Then double-clicked on nbbuild. It wouldn't go there.
So I opened it and selected netbeans. 
The dialog seemed to partially detect that it's a NetBeans. For example
It figued it's name to be "NB IDE Dev (blah blah)".
But then I got this exception and the Name field was readonly.




Stacktrace: 
java.lang.NumberFormatException: For input string: ""
   at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
   at java.lang.Integer.parseInt(Integer.java:468)
   at java.lang.Integer.parseInt(Integer.java:497)
   at org.netbeans.modules.apisupport.project.universe.NbPlatform.isSupportedPlatform(NbPlatform.java:769)
   at org.netbeans.modules.apisupport.project.ui.platform.PlatformChooserVisualPanel.checkForm(PlatformChooserVisualPanel.java:124)
   at org.netbeans.modules.apisupport.project.ui.platform.PlatformChooserVisualPanel.propertyChange(PlatformChooserVisualPanel.java:109)
Comment 1 ivan 2010-01-26 01:51:24 UTC
Created attachment 93541 [details]
stacktrace
Comment 2 ivan 2010-01-26 02:10:25 UTC
More importantly the Next button is disabled after this exception.
Comment 3 Jesse Glick 2010-01-27 09:49:03 UTC
Might be thrown from a 6.8 IDE but only applies to NB 6.9+ platforms. core-main #c7dc2de124f2
Comment 4 Quality Engineering 2010-01-27 22:21:29 UTC
Integrated into 'main-golden', will be available in build *201001280200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c7dc2de124f2
User: Jesse Glick <jglick@netbeans.org>
Log: #179855: NFE when working with numberless platform cluster.
Comment 5 Jesse Glick 2010-03-10 20:10:35 UTC
*** Bug 181779 has been marked as a duplicate of this bug. ***
Comment 6 javadimon 2010-04-18 03:01:50 UTC
Created attachment 97572 [details]
stacktrace