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 90677 - Assert in DefaultToken.<init> on editing xml ..&lt..
Summary: Assert in DefaultToken.<init> on editing xml ..&lt..
Status: VERIFIED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 16:23 UTC by pzajac
Modified: 2007-06-27 07:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
assert (3.26 KB, text/plain)
2006-12-06 16:24 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2006-12-06 16:23:56 UTC
[200612051900]
Steps to reproduce:
Create a buildscript build.xml file 
type 
<echo file="/tmp/html.html">&lt

in a target

press CTRL + SPACE, exception is thrown.
Comment 1 pzajac 2006-12-06 16:24:26 UTC
Created attachment 36523 [details]
assert
Comment 2 pzajac 2006-12-06 16:28:05 UTC
I had to use external editor -> P2. 
Comment 3 Miloslav Metelka 2006-12-18 17:30:50 UTC
Zero length tokens are not allowed.
Reassigning to xml/lexer.
Comment 4 Samaresh Panda 2007-03-31 18:22:22 UTC
Works for me. Please verify.
Comment 5 Marek Fukala 2007-04-02 11:03:33 UTC
Samaresh, you won't be able to reproduce the issue without enabling the lexer
based coloring. Uncomment the language.instance in xml/lexer module layer and
try again. I belive the issue is still valid, but do not appear in trunk now=>
lowering priority.
Comment 6 Samaresh Panda 2007-06-25 22:48:21 UTC
The bug surfaced as a result of lexer migration. The effort was initiated but will not be in place for 6.0, hence
marking this bug as INVALID. XML will migrate to lexer post 6.0.
Comment 7 pzajac 2007-06-27 07:42:47 UTC
v