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 192241 - StringIndexOutOfBoundsException: String index out of range: -86
Summary: StringIndexOutOfBoundsException: String index out of range: -86
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 14:09 UTC by vince_soleil
Modified: 2010-11-25 06:19 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174134


Attachments
stacktrace (2.26 KB, text/plain)
2010-11-21 14:09 UTC, vince_soleil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vince_soleil 2010-11-21 14:09:13 UTC
This bug was originally marked as duplicate of bug 182887, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
cdeblesson: I double-clicked on a failed test result to open the test Class

bernd_zedv: clicked on JUnit error message

bernd_zedv: clicked on a line in the JUnit TestResults left scrolling pane.

GUEST: jumping to failed test

vince_soleil: Double click on the failure node of a groovy test




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -86
   at java.lang.String.substring(String.java:1937)
   at org.netbeans.modules.maven.junit.nodes.OutputUtils.getFile(OutputUtils.java:213)
   at org.netbeans.modules.maven.junit.nodes.OutputUtils.openCallstackFrame(OutputUtils.java:156)
   at org.netbeans.modules.maven.junit.nodes.JumpAction.actionPerformed(JumpAction.java:79)
   at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1565)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
Comment 1 vince_soleil 2010-11-21 14:09:17 UTC
Created attachment 103163 [details]
stacktrace
Comment 2 Jesse Glick 2010-11-23 22:53:41 UTC
core-main #247ab93d31a3
Comment 3 Quality Engineering 2010-11-25 06:19:14 UTC
Integrated into 'main-golden', will be available in build *201011250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/247ab93d31a3
User: Jesse Glick <jglick@netbeans.org>
Log: #192241: StringIndexOutOfBoundsException: String index out of range: -86