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 235735 - AssertionError: Token length=0 <= 0
Summary: AssertionError: Token length=0 <= 0
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 07:27 UTC by Exceptions Reporter
Modified: 2013-09-19 07:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203725


Attachments
stacktrace (5.59 KB, text/plain)
2013-09-10 07:27 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-09-10 07:27:24 UTC
This bug was originally marked as duplicate of bug 219009, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Mac OS X

User Comments:
GUEST: After editing file *.ftl in Sublime Text 2 then open in NetBeans




Stacktrace: 
java.lang.AssertionError: Token length=0 <= 0
   at org.netbeans.lib.lexer.token.DefaultToken.<init>(DefaultToken.java:103)
   at org.netbeans.lib.lexer.LexerInputOperation.createDefaultTokenInstance(LexerInputOperation.java:321)
   at org.netbeans.lib.lexer.LexerInputOperation.createToken(LexerInputOperation.java:299)
   at org.netbeans.spi.lexer.TokenFactory.createToken(TokenFactory.java:105)
   at org.netbeans.spi.lexer.TokenFactory.createToken(TokenFactory.java:89)
   at org.htp.freemarkerfornetbeans.lexer.FreeMarkerLexer.nextToken(FreeMarkerLexer.java:26)
Comment 1 Exceptions Reporter 2013-09-10 07:27:26 UTC
Created attachment 139873 [details]
stacktrace
Comment 2 Miloslav Metelka 2013-09-19 07:56:10 UTC
org.htp.freemarkerfornetbeans.lexer.FreeMarkerLexer needs must create token with at least one character.