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 Dev (Build 20161028-0d8e1fd6f6ec) VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15 OS: Linux User Comments: ralphbenjamin: trying to complete version in maven pom.xml jdlee: Setting the version of a dep in the POM. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 9519 at java.lang.String.substring(String.java:1963) at org.netbeans.modules.xml.text.completion.XMLResultItem.isRemovingAvailableLocked(XMLResultItem.java:258) at org.netbeans.modules.xml.text.completion.XMLResultItem.lambda$isTextRemovingAllowable$0(XMLResultItem.java:285) at org.netbeans.modules.xml.text.api.dom.XMLSyntaxSupport.runWithSequence(XMLSyntaxSupport.java:298) at org.netbeans.modules.xml.text.completion.XMLResultItem.isTextRemovingAllowable(XMLResultItem.java:285) at org.netbeans.modules.xml.text.completion.XMLResultItem.replaceText(XMLResultItem.java:211)
Created attachment 162714 [details] stacktrace
Created attachment 162842 [details] stacktrace completing module name in parent pom
some inappropriate/leftover code made it in when I was merging new SyntaxSupport implementation; sorry. Fixed in jet-main#6ff7388c41b3
Integrated into 'main-silver', will be available in build *201611250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ae3dfa86f5b9 User: Svata Dedic <sdedic@netbeans.org> Log: #268768: removed leftover code
Checked in current nightly and found it fixed. Thx!