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 257776

Summary: IllegalArgumentException: getFlyweightToken(): Creating token for unread characters: text="synchronized"; text.length()=12 > readLength()=1
Product: editor Reporter: zdenek.rod
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: achirizzi, zdenek.rod
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 210785
Attachments: stacktrace
stacktrace

Description zdenek.rod 2016-01-30 20:45:58 UTC
Build: NetBeans IDE Dev (Build 201512180002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Linux

User Comments:
zdenek.rod: I try to discovered tomcat web application.

zdenek.rod: I try to restart tomcat from Service tab.

GUEST: Gradle???????????????




Stacktrace: 
java.lang.IllegalArgumentException: getFlyweightToken(): Creating token  for unread characters: text="synchronized"; text.length()=12 > readLength()=1
   at org.netbeans.lib.lexer.LexerInputOperation.getFlyweightToken(LexerInputOperation.java:263)
   at org.netbeans.spi.lexer.TokenFactory.getFlyweightToken(TokenFactory.java:147)
   at org.netbeans.modules.groovy.editor.api.lexer.GroovyLexer.createToken(GroovyLexer.java:119)
   at org.netbeans.modules.groovy.editor.api.lexer.GroovyLexer.nextToken(GroovyLexer.java:155)
   at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:215)
   at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingImpl(IncTokenList.java:195)
Comment 1 zdenek.rod 2016-01-30 20:46:01 UTC
Created attachment 158306 [details]
stacktrace
Comment 2 achirizzi 2016-05-18 10:27:33 UTC
Created attachment 159795 [details]
stacktrace

Opened a build.gradle file