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 200502241900 1) Have clean userdir, new WebApp project with new JSP 2) Press a key and hold (many characters are added to JSP editor) 3) ERROR: it consumes 100% of processor.
It consumed only 50% of my processor in NetBeans 4.0.
It seems to be reproducible only in my userdir. I will send it privately. What I did before this happened with that userdir: - created and closed several Web and Java library projects (I did nothing special except Build and Run) - set up new JSP indentation engine settings (see issue 50624)
Well, I have tried it once more and I am not able to reproduce to. Closing as WorksForMe.
It happend to me again in build 200503061900. I opened 4.0 project, did several Build/Clean, Properties changes (part of verifing issues) and after that consuming processor while holding 1 key appeared. Reproducible in my userdir (4 times).
The problem is surprisingly caused by a badly deserialized JSP indentation engine. If a java indentation engine is deserialized befor the JSP one, then this one is used for JSP files and then causes the perfomance problems when user is editing a JSP page. I will fix it in 4.1.
fixed. There is a problem with lookup service which strictly requires <instanceof/> elements for all super classes of a class defined in settings. Checking in JspIndentEngine.settings; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspIndentEngine.settings,v <-- JspIndentEngine.settings new revision: 1.3; previous revision: 1.2 done
Verified in (originally) reproducible scenario: Open JSP editor before opening Java editor after IDE start.