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 121065 - jsp editor can not recognize variables in the include file and cause high cpu usage
Summary: jsp editor can not recognize variables in the include file and cause high cpu...
Status: RESOLVED DUPLICATE of bug 112247
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-03 19:00 UTC by hdwang
Modified: 2007-11-04 02:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hdwang 2007-11-03 19:00:35 UTC
in nb6.0 beta1 and beta2,the jsp editor can not recognize the variables declared in the include file by the <%@include
file="includefile"%> instruction. in the jsps' <%%> instruction,the editor can not pop up the members tip  of those
variables and crossed them with a red underline,say that those variables are not defined;but the jsps in fact without no
errors. 

The jsp editor is also  very slowly when typing codes. When I open the windows's task monitor  , it shows high cpu usage
nearly 99% while typing jsp codes. My notebook is equiped with a 1G memory and P4 1.7G mobile cpu,it works very well
with nb5.5. Now I had to back to nb5.5. Hope fix those bugs in 6.0 release version.
Comment 1 hdwang 2007-11-03 19:09:12 UTC
my jsp file is about 1000 lines,perhaps the nb6.0 handle the bigger jsp not well? 
Comment 2 Marek Fukala 2007-11-03 19:39:35 UTC
Can you please make a few threaddumps during the high cpu load? It is likely a bug, the editor should be able to edit
such files.
Comment 3 Tomasz Slota 2007-11-03 20:58:01 UTC
Thank you for reporting these problems. The include directive is already supported by the daily builds, see issue 112247. As for the performance problem 
please file a separate issue and provide a few thread dumbs. We've done some improvements in this area since beta2, 

*** This issue has been marked as a duplicate of 112247 ***
Comment 4 hdwang 2007-11-04 02:24:36 UTC
would you please tell me how to make a  threaddump?