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 90839 - AssertionError: after pasting an incompleted/erroneous string
Summary: AssertionError: after pasting an incompleted/erroneous string
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 18:06 UTC by ssoong
Modified: 2007-05-15 08:04 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 ssoong 2006-12-08 18:06:48 UTC
NetBeans 6.0 IDE Dev (Build 200612061900)
1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05
Windows XP version 5.1 running on x86
==================================================

1. Create a hello.jsp.

2. Copy the following incomplete line from another file/source:
<jsp:directive.page import="org.xml.sax.InputSource,

3. Paste the copied line into hello.jsp

4. AssertionError window pops up.

5. Impossible to continue editing hello.jsp because
   - Editor frame of hello.jsp is messed up.
   - Mouse and keyboard operations on editor invokes AssertionError
     window randomly or persistently.


How similar is this to 88224?
Comment 1 ssoong 2006-12-08 18:11:23 UTC
Close the file with incomplete line intact and reopen it.
AssertionError window now pops up insistently.
Comment 2 Marek Fukala 2006-12-09 16:41:27 UTC
I cannot reproduce it. Please attach the file where you paste the code snippet
and specify exact location of the paste. 

Thanks.

BTW, I did a fix in JSPLexer which might affect this, but as I said, I wasn't
able to reproduce even before the fix.

Checking in JspLexer.java;
/cvs/web/jspsyntax/lexer/src/org/netbeans/lib/jsp/lexer/JspLexer.java,v  <-- 
JspLexer.java
new revision: 1.12; previous revision: 1.11
done
Comment 3 Marek Fukala 2007-01-05 12:47:43 UTC
Closing as fixed, please reopen if you can still reproduce on latest builds.
Comment 4 Jindrich Sedek 2007-05-15 08:04:27 UTC
I can't reproduce it at all in todays build
marking as verified

NetBeans IDE Dev (Build 200705141800)