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 269599 - ArrayIndexOutOfBoundsException: 1 while editing scripts inside html pages
Summary: ArrayIndexOutOfBoundsException: 1 while editing scripts inside html pages
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-19 10:44 UTC by sbaruzza
Modified: 2017-01-19 10:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (158.54 KB, text/x-log)
2017-01-19 10:44 UTC, sbaruzza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sbaruzza 2017-01-19 10:44:56 UTC
Created attachment 163429 [details]
IDE log

Overview: 
Editing html templates inside a script tag in an html page will often generate a lexer exception. 

Steps to reproduce:
I could not find a set of step to reproduce this bug reliably. In the latest occurrence I could not type anything after trying to type a slash for a </div> tag in a ~80 lines template.

Actual results:
Until I deleted the slash any character typed would generate an exception.

Expected results:
Being able to continue editing

Build date and hardware:
Product Version: NetBeans IDE 8.2 (Build 201609300101)
Java: 1.8.0_111; Java HotSpot(TM) 64-Bit Server VM 25.111-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_111-b14
System: Linux version 4.4.0-57-generic running on amd64; UTF-8; en_US (nb)