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 26487 - IDE hogs resources after JSP fails to compile
Summary: IDE hogs resources after JSP fails to compile
Status: VERIFIED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords: PERFORMANCE
Depends on: 30000
Blocks:
  Show dependency tree
 
Reported: 2002-08-13 20:39 UTC by Ana.von Klopp
Modified: 2003-02-17 17:54 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 Ana.von Klopp 2002-08-13 20:39:51 UTC
This bug was reported on nbusers. I don't have the details 
of the platform that the user was on. I have just included 
the message here and will ask on the mailing list for 
further details. 

I would be grateful if QA could look into this. To create 
a similar parse error, create a tag library with a single 
tag and use it in a JSP without terminating the tag. 

From: "Glenn R. Kronschnabl" <grk@netquotient.com>
To: nbusers@netbeans.org
Subject: [nbusers] jsp parsing errors - NetBeans 
performance killer
Date: 31 Jul 2002 12:35:05 -0500

I've noticed in NB 3.4.x that once a ParseException occurs 
(from ide.log)

INFORMATIONAL *********** Exception occurred ************ 
at Wed Jul 31
12:12:00 CDT 2002
org.apache.jasper.compiler.ParseException: /main/quickfixqu
eue.jsp(14,0)
Unterminated user-defined tag: ending tag &lt;/pg:item&gt; 
not found or incorrectly nested
        
that NetBeans really drags when you interact with JSP and 
Java pages. Saving takes a lot more resources (CPU, time), 
and even switching tabs too.  I wish I could quantify it 
better than that, but I can't.  Note that even if you 
correct the parse error, performance never comes back -
you have to restart netbeans (at least that's been my 
experience).

Thanks,
Glenn
Comment 1 _ rkubacki 2003-01-23 13:10:57 UTC
-J-Dorg.netbeans.modules.web.jspsyntax=-1 switch can help to track JSP
parsing in trunk builds
Comment 2 Petr Jiricka 2003-02-04 16:15:43 UTC
I can not reproduce this - does anyone has any more 
specific steps to reproduce ?

Thanks.
Comment 3 Ana.von Klopp 2003-02-04 19:07:11 UTC
I submitted it, but did so on the basis of a report from 
nbusers. Perhaps you could fire off an email to the guy 
whose mail address is in the original description and ask 
him if he can provide more specifics. Otherwise I agree 
that we can close it. 




Comment 4 Petr Jiricka 2003-02-17 13:23:54 UTC
I did what Ana suggested, and didn't get a reply. Jason, 
do you agree we can close this as not reproducible ?

Comment 5 Jason Rush 2003-02-17 17:53:31 UTC
I'm unable to reproduce with the latest Nevada build.  I'm 
able to get the ParseException fairly easy, but I'm seeing 
no degradation of performance from the IDE.  I'm resolving 
this as WORKSFORME.  If we get more information from the 
user that makes it more easily reproducible, we can re-
open.
Comment 6 Jason Rush 2003-02-17 17:54:44 UTC
Verified that it works for me in Nevada build 030213_1.