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.
Build: NetBeans IDE 8.0.1 (Build 20140826-ace0cf6e7a3a) VM: Java HotSpot(TM) Client VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01 OS: SunOS User Comments: alexvsimon: try to diff of url file Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 4 at java.lang.String.substring(String.java:1907) at org.netbeans.modules.url.URLDataObject.findUrlInFileContent(URLDataObject.java:198) at org.netbeans.modules.url.URLDataObject.getURLString(URLDataObject.java:154) at org.netbeans.modules.url.URLDataObject.open(URLDataObject.java:242) at org.netbeans.modules.mercurial.ui.status.OpenInEditorAction.openByCookie(OpenInEditorAction.java:114) at org.netbeans.modules.mercurial.ui.status.OpenInEditorAction.openDataObjectByCookie(OpenInEditorAction.java:100)
Created attachment 148918 [details] stacktrace
http://hg.netbeans.org/core-main/rev/cf81f9a10cd0 It should work fine now. Thank you for reporting.
Integrated into 'main-silver', will be available in build *201409020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cf81f9a10cd0 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #246715: StringIndexOutOfBoundsException: String index out of range: 4