Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365990

Summary: JSP editor freezes
Product: [WebTools] WTP Source Editing Reporter: Dimo Stoilov <Dimo.Stoilov>
Component: jst.jspAssignee: jst.jsp <jst.jsp-inbox>
Status: CLOSED DUPLICATE QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: custommer CSN#946655
Whiteboard:
Attachments:
Description Flags
the jsp the issue can be reproduced with none

Description Dimo Stoilov CLA 2011-12-08 04:05:46 EST
Created attachment 208085 [details]
the jsp the issue can be reproduced with

When editing a JSP file with the JSP editor, it does not respond on typing anything on
the code and the CPU usage goes very high during this time. Attached is a JSP which the problem can be reproduced with.
This is reported by our custommers for WTP 3.1, but we reproduce it also for 3.3.1
Comment 1 Dimo Stoilov CLA 2011-12-08 04:41:55 EST
disabling all the validators didn't help
Comment 2 Nick Sandonato CLA 2011-12-08 10:18:25 EST
(In reply to comment #1)
> disabling all the validators didn't help

Hi Dimo,

One thing I did noticed is that a few of the <select> tags have unclosed name attributes. This causes quite a bit of the document to be reparsed as embedded content of the attribute. I think this is what you're seeing and is a consequence of Bug 294366.

The selects that need closing quotes for the attributes are:
z_IncoTerms
z_CustomerContact
and a later
z_CustomerContact

Once I closed off the attributes for those selects, I could edit the document at normal pace. Hopefully that'll get you back up to speed in editing.

I'll close this one as a duplicate of Bug 294366, however, since it boils down to the same problem.

Thanks.

*** This bug has been marked as a duplicate of bug 294366 ***