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.
Summary: | Illegal State Exception | ||
---|---|---|---|
Product: | contrib | Reporter: | pknerd |
Component: | Other | Assignee: | issues@contrib <issues> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0.2 | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Stackrace
Grammer file |
Created attachment 152904 [details]
Grammer file
Problem in org.htm.lexer.HTMLexer. Can you elaborate it? |
Created attachment 152903 [details] Stackrace Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1 Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b27 System: Mac OS X version 10.10.2 running on x86_64; UTF-8; en_US (nb) It can successfully highlight required text that is "html" but then throws this error. It throws error even if I hit Spacebar. StackTrace attached. HTML.jj ======== options { JAVA_UNICODE_ESCAPE = true; ERROR_REPORTING = false; STATIC = false; COMMON_TOKEN_ACTION = false; TOKEN_FACTORY = "Token"; JDK_VERSION = "1.8"; BUILD_PARSER = false; } PARSER_BEGIN(CFMParser) package org.cfm.jcclexer; import java.io.*; /** * Grammar to parse Java version 1.5 * @author Sreenivasa Viswanadha - Simplified and enhanced for 1.5 */ public class HTMParser {} PARSER_END(HTMParser) /* WHITE SPACE */ /*TOKEN : { < WHITESPACE: " " | "\t" | "\n" | "\r" | "\f"> } */ TOKEN : { <WHITESPACE:(["\n", "\r"])+> } TOKEN : { < HTML : “html” > } MORE : { < ~[] > }