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 201210110002) VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11 OS: Windows 7 User Comments: Chiana: Was typing a Javadoc and was going to use a marker "* Get's the result from execution if any is published, will return (@" Occured after typing the "@" ptomasek: Writing a JavaDoc to a public method of a public Java class in the Editor window. Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 76 at java.lang.String.substring(String.java:1907) at org.netbeans.modules.websvc.editor.completion.WSCompletionProvider$WsCompletionQuery.getCompletionEnvironment(WSCompletionProvider.java:215) at org.netbeans.modules.websvc.editor.completion.WSCompletionProvider$WsCompletionQuery.resolveCompletion(WSCompletionProvider.java:174) at org.netbeans.modules.websvc.editor.completion.WSCompletionProvider$WsCompletionQuery.run(WSCompletionProvider.java:164) at org.netbeans.modules.websvc.editor.completion.WSCompletionProvider$WsCompletionQuery.run(WSCompletionProvider.java:114) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:488)
Created attachment 125807 [details] stacktrace
Created attachment 125808 [details] stacktrace Same as report #617665. Backed over the "@" and typed it again.
This is a regression. I did exactly the same about a week ago and then it worked so this should be P2
Created attachment 125810 [details] stacktrace Oki, this happens every time you hit a "(@" inside a javadoc
web-main#371a1d3f61c3
Integrated into 'main-golden', will be available in build *201210160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/371a1d3f61c3 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#219949 - StringIndexOutOfBoundsException: String index out of range: 76
Looks working to me, so it's verified in 20121016.