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.
Summary: | The source file not parsed when needed. | ||
---|---|---|---|
Product: | java | Reporter: | ehucka <ehucka> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | npe's stacktrace |
Description
ehucka
2006-06-07 14:39:27 UTC
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 |