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 62629 - StringIndexOutOfBoundsException in library wrapper wizard
Summary: StringIndexOutOfBoundsException in library wrapper wizard
Status: VERIFIED DUPLICATE of bug 62526
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 23:19 UTC by Rich Unger
Modified: 2006-02-14 17:55 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 Rich Unger 2005-08-18 23:19:58 UTC
Using a clean trunk build, I attempted to create a wrapper module, entering

c:\jdom\jdom.jar
c:\jdom\license.txt

in the 2 fields, and when I click "Next", I get:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1768)
	at
org.netbeans.modules.apisupport.project.ui.wizard.LibraryStartVisualPanel.populateProjectData(LibraryStartVisualPanel.java:148)
	at
org.netbeans.modules.apisupport.project.ui.wizard.LibraryStartVisualPanel.storeData(LibraryStartVisualPanel.java:118)
	at
org.netbeans.modules.apisupport.project.ui.wizard.LibraryStartWizardPanel.storeSettings(LibraryStartWizardPanel.java:38)
	at org.openide.WizardDescriptor.setValue(WizardDescriptor.java:1030)
Comment 1 Jesse Glick 2005-08-19 02:25:51 UTC

*** This issue has been marked as a duplicate of 62526 ***
Comment 2 Tomas Danek 2006-01-25 12:29:12 UTC
the same exception - verified duplicate.