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 182887 - StringIndexOutOfBoundsException: String index out of range: -1
Summary: StringIndexOutOfBoundsException: String index out of range: -1
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 12:35 UTC by bernd_zedv
Modified: 2010-04-02 04:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 152482


Attachments
stacktrace (2.25 KB, text/plain)
2010-03-26 12:35 UTC, bernd_zedv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bernd_zedv 2010-03-26 12:35:02 UTC
Build: NetBeans IDE Dev (Build 201003230200)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
johnsonlau: Click on the first tree item of the listed test result.

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

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

GUEST: jumping to failed test

bernd_zedv: clicked on JUnit error message




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1937)
   at org.netbeans.modules.maven.junit.nodes.OutputUtils.getFile(OutputUtils.java:218)
   at org.netbeans.modules.maven.junit.nodes.OutputUtils.openCallstackFrame(OutputUtils.java:153)
   at org.netbeans.modules.maven.junit.nodes.JumpAction.actionPerformed(JumpAction.java:76)
   at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1549)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
Comment 1 bernd_zedv 2010-03-26 12:35:07 UTC
Created attachment 95935 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2010-03-30 15:19:24 UTC
http://hg.netbeans.org/core-main/rev/4f59744fb14c
Comment 3 Quality Engineering 2010-04-02 04:57:16 UTC
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4f59744fb14c
User: Antonin Nebuzelsky <anebuzelsky@netbeans.org>
Log: #182887: StringIndexOutOfBoundsException: String index out of range: -1