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 102274 - Exception is thrown while .cvsignore is open.
Summary: Exception is thrown while .cvsignore is open.
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 08:22 UTC by Peter Pis
Modified: 2007-04-25 08:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StringIndexOutOfBoundsException (968 bytes, text/plain)
2007-04-24 08:23 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2007-04-24 08:22:06 UTC
NetBeans IDE Dev (Build 070423)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Steps:
1. Open versioned control project. (cvs) From the project root invoke "CVS |
Show Changes" action.
2. Add new binary file in to the project. 
3. Invoke "CVS | Ignore" action on the binary file.
4. Switch to "Versioning" view and invoke popup menu - choose "Open" item.


java.lang.StringIndexOutOfBoundsException: String index out of range: 1
	at java.lang.String.substring(String.java:1935)
	at
org.netbeans.modules.profiler.utils.ProjectUtilities.convertClass2TestName(ProjectUtilities.java:863)
	at
org.netbeans.modules.profiler.utils.ProjectUtilities.getTestName(ProjectUtilities.java:835)
	at
org.netbeans.modules.profiler.utils.ProjectUtilities.findUnitTestInTestRoot(ProjectUtilities.java:820)
Comment 1 Peter Pis 2007-04-24 08:23:18 UTC
Created attachment 41523 [details]
StringIndexOutOfBoundsException
Comment 2 Jiri Sedlacek 2007-04-24 16:42:26 UTC
Fixed for M9.
Comment 3 Peter Pis 2007-04-25 08:54:35 UTC
Verified. 

NetBeans IDE Dev (Build 20070425-0528)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b101
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252