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 55816 - [41cat] HTML completion hangs after scriptlet
Summary: [41cat] HTML completion hangs after scriptlet
Status: CLOSED DUPLICATE of bug 55719
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-03-03 07:38 UTC by cezariusz
Modified: 2006-03-24 12:45 UTC (History)
0 users

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 cezariusz 2005-03-03 07:38:54 UTC
[ BUILD # : 200503011900 ]
[ JDK VERSION 
: 1.5.0_01 ]

Take default JSP page (from new p
age for example), under <body
>
 type </ - CC will offer closing </bo
dy> and </html>.

Now type some java code, for example
<% int 
i = 1; %>
and type </ below it - IDE will alm
Comment 1 cezariusz 2005-03-03 07:40:24 UTC
It's a regression, because I believe it used to work in 4.0.
It's P2, because it leads to unstable IDE until restart.
Comment 2 cezariusz 2005-03-03 07:46:40 UTC
NetCAT form breaks formatting, so let me post the sample again.

Here's a simple page that works:

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;
         charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    </ <- HERE CC OFFERS </body> and </html>
    <h1>JSP Page</h1>
    </body>
</html>

Now the page that doesn't work:

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;
         charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <% int i = 1; %>
    </ <- NOW THE IDE STARTS TO TAKE 100% of the processor time
    <h1>JSP Page</h1>
    </body>
</html>
Comment 3 Marek Fukala 2005-03-03 09:28:27 UTC
This has already been fixed - see Issue #55719. Thanks for your report
anyway!

Marek

*** This issue has been marked as a duplicate of 55719 ***
Comment 4 cezariusz 2005-03-03 11:21:27 UTC
Well, I was one daily build late.
Verified in 200503021900.