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 201701020001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14 OS: Windows 10 User Comments: FrantaM: ? GUEST: Stopping weblogic server GUEST: compile project GUEST: Problem GUEST: Autocompletion of a method name while editing a Java source code. GUEST: I used the code autocompletion and Netbeans went up to 800% cpu usage on my multicore Mac Pro (2009). Stacktrace: java.lang.NegativeArraySizeException at org.netbeans.editor.BaseDocument.getChars(BaseDocument.java:1188) at org.netbeans.editor.Utilities.getIdentifierBefore(Utilities.java:725) at org.netbeans.lib.editor.codetemplates.CodeTemplateCompletionProvider$Query.query(CodeTemplateCompletionProvider.java:174) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
Created attachment 163381 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=222259