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.

Bug 77528 - The source file not parsed when needed.
Summary: The source file not parsed when needed.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 14:39 UTC by ehucka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
npe's stacktrace (2.76 KB, text/plain)
2006-06-07 14:40 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2006-06-07 14:39:27 UTC
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.
Comment 1 ehucka 2006-06-07 14:40:24 UTC
Created attachment 30861 [details]
npe's stacktrace
Comment 2 Jiri Prox 2006-06-08 08:38:31 UTC
Where did you use the code template? There already reported NPE when using code
tempates in bad scopes (issue 72301)
Comment 3 ehucka 2006-06-08 10:40:29 UTC
I've created a new method and write 'for':

public void method() {
    for|
}

invoked CC and press enter on appropriate for cycle.
Comment 4 Jiri Prox 2006-06-08 12:57:28 UTC
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
Comment 5 Jan Becicka 2006-10-26 16:28:02 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 6 ehucka 2006-11-30 16:46:18 UTC
closed
Comment 7 Quality Engineering 2007-09-20 12:48:18 UTC
Reorganization of java component