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.
After I invoke a code template from CC e.g. for cycle it throws npe, selects the context and moves cursor at begin of the context word.
Created attachment 30861 [details] npe's stacktrace
Where did you use the code template? There already reported NPE when using code tempates in bad scopes (issue 72301)
I've created a new method and write 'for': public void method() { for| } invoked CC and press enter on appropriate for cycle.
This is caused by slow parsing of java file. The context of new method is not set fast enough and the the code template is used in old scope (the NPE when calling code templates in wrong context is already filed). This can result in other problems (like wrong CC). Changing the summary and reassigning to java
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
closed
Reorganization of java component