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 201604080001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b62, Java(TM) SE Runtime Environment, 1.8.0-ea-b120 OS: Windows 8 User Comments: GUEST: ordinary programming, no idea Chiana: Was trying to make a catch statement for catching an OOM typed "catch (Ou" and then control-space Stacktrace: java.lang.NullPointerException at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:53) at org.netbeans.api.java.source.TreeUtilities.getUncaughtExceptions(TreeUtilities.java:782) at org.netbeans.modules.java.completion.JavaCompletionTask.insideCatch(JavaCompletionTask.java:1838) at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:349) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:92) at org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:80)
Created attachment 159285 [details] stacktrace
Noted that I had misspelled the "try" keyword as "Try", can be a cause
Seems like a misspelled "try" keyword causes NPE when invoking CC
Created attachment 159286 [details] stacktrace Yep, thats the problem; Misspelled try keyword causes NPE when invoking codeCompletion
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=222494
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/cc358b3191ab