Bug 124888 - java.lang.IndexOutOfBoundsException: tokenLength=1 >0
java.lang.IndexOutOfBoundsException: tokenLength=1 >0
Status: VERIFIED FIXED
Product: groovy
Classification: Unclassified
Component: Code
6.x
All All
: P1 (vote)
: 6.x
Assigned To: martin_adamek
issues@groovy
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-08 14:02 UTC by schmidtm
Modified: 2008-10-30 14:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
ThumbnailController.groovy (2.49 KB, text/plain)
2008-01-08 14:03 UTC, schmidtm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schmidtm 2008-01-08 14:02:51 UTC
Open-up the attached file (ThumbnailController.groovy) and you'll get:

java.lang.IndexOutOfBoundsException: tokenLength=1 >0
	at org.netbeans.lib.lexer.LexerInputOperation.tokenRecognized(LexerInputOperation.java:234)
	at org.netbeans.lib.lexer.LexerInputOperation.tokenRecognized(LexerInputOperation.java:314)
	at org.netbeans.spi.lexer.TokenFactory.createToken(TokenFactory.java:118)
	at org.netbeans.modules.groovy.editor.lexer.GroovyLexer.createToken(GroovyLexer.java:105)
	at org.netbeans.modules.groovy.editor.lexer.GroovyLexer.nextToken(GroovyLexer.java:167)
	at org.netbeans.lib.lexer.LexerInputOperation.nextToken(LexerInputOperation.java:274)
	at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingContainerImpl(IncTokenList.java:197)
	at org.netbeans.lib.lexer.inc.IncTokenList.tokenOrEmbeddingContainer(IncTokenList.java:192)
	at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:405)
	at org.netbeans.modules.languages.ParserManagerImpl.getTokens(ParserManagerImpl.java:375)
	at org.netbeans.modules.languages.ParserManagerImpl.access$400(ParserManagerImpl.java:84)
	at org.netbeans.modules.languages.ParserManagerImpl$3.run(ParserManagerImpl.java:357)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1206)
	at org.netbeans.modules.languages.ParserManagerImpl.createTokenInput(ParserManagerImpl.java:346)
	at org.netbeans.modules.languages.ParserManagerImpl.parse(ParserManagerImpl.java:307)
	at org.netbeans.modules.languages.ParserManagerImpl.access$200(ParserManagerImpl.java:84)
	at org.netbeans.modules.languages.ParserManagerImpl$2.run(ParserManagerImpl.java:209)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 schmidtm 2008-01-08 14:03:30 UTC
Created attachment 54817 [details]
ThumbnailController.groovy
Comment 3 Quality Engineering 2008-05-20 05:04:53 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #206 build
Changeset: http://hg.netbeans.org/main/rev/d9b84e929839
User: Martin Adamek <martin_adamek@netbeans.org>
Log: #124888: java.lang.IndexOutOfBoundsException: tokenLength=1 >0
Comment 4 Lukas Jungmann 2008-09-29 11:56:30 UTC
v.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo