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 270535 - AssertionError: should never have two equal TokenSequence TokenSequence for text/x-twig/text/html/text/javascript/text/html at tokenIndex=0. TokenList contains 49 tokens: *[ 0]: """ <2190,2191> VALUE[
Summary: AssertionError: should never have two equal TokenSequence TokenSequence for t...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Editing infrastructure (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-02 13:19 UTC by Exceptions Reporter
Modified: 2017-05-02 13:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229021


Attachments
stacktrace (7.41 KB, text/plain)
2017-05-02 13:19 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-05-02 13:19:33 UTC
This bug was originally marked as duplicate of bug 268097, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201705020001)
VM: OpenJDK 64-Bit Server VM, 25.121-b13, OpenJDK Runtime Environment, 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13
OS: Linux

User Comments:
GUEST: by auto format code




Stacktrace: 
java.lang.AssertionError: should never have two equal TokenSequence TokenSequence for text/x-twig/text/html/text/javascript/text/html at tokenIndex=0. TokenList contains 49 tokens:
*[ 0]: """ <2190,2191> VALUE[9] ParT[4/4], st=HLS(hc=85276590,s=9,ss=1,tag=a), @6a698a66
T[ 1]: " " <2191,2192> WS[3] DefT, la=1, st=HLS(hc=85276590,s=9,ss=1,tag=a), @6633392d
T[ 2]: "class" <2192,2197> ARGUMENT[7] DefT, la=1, st=HLS(hc=1700431641,s=12,ss=1,tag=a,attribute=class), @2bcef16e
T[ 3]: "=" F(1) OPERATOR[8] FlyT, st=HLS(hc=1703271355,s=14,ss=1,tag=a,attribute=class), @637e5b72
T[ 4]: ""email-button"" <2198,2212> VALUE_CSS[11] ProT, st=HLS(hc=85276590,s=9,ss=1,tag=a), @42fac010
      Embedding[0]: "text/x-twig/text/html/text/javascript/text/html/text/css", @712de216
    T[0]: "email-button" <2199,2211> IDENT[14] ParT[1/2], @ea8474f

T[ 5]: " " <2212,2213> WS[3] DefT, la=1, st=HLS(hc=85276590,s=9,ss=1,tag=a), @52b18275
T[ 6]: "style" F(5) ARGUMENT[7] FlyT, la=1, st=HLS(hc=1751300978,s=12,ss=1,tag=a,attribute=style), @465f3
   at org.netbeans.modules.web.indent.api.LexUtilities$1.compare(LexUtilities.java:281)
   at org.netbeans.modules.web.indent.api.LexUtilities$1.compare(LexUtilities.java:278)
   at java.util.TimSort.gallopLeft(TimSort.java:542)
   at java.util.TimSort.mergeAt(TimSort.java:507)
   at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
   at java.util.TimSort.sort(TimSort.java:254)
Comment 1 Exceptions Reporter 2017-05-02 13:19:36 UTC
Created attachment 164223 [details]
stacktrace