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 269777

Summary: AssertionError: should never have two equal TokenSequence TokenSequence for text/x-php5/text/html at tokenIndex=0. TokenList contains 1 tokens: *[0]: "<%=" <18889,18892> SCRIPT[1] ParT[2/23], @7df4db8
Product: web Reporter: legitalk
Component: Editing infrastructureAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227977
Attachments: stacktrace

Description legitalk 2017-02-08 11:33:39 UTC
Build: NetBeans IDE Dev (Build 201701230001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows 7

User Comments:
legitalk: writing code




Stacktrace: 
java.lang.AssertionError: should never have two equal TokenSequence TokenSequence for text/x-php5/text/html at tokenIndex=0. TokenList contains 1 tokens:
*[0]: "<%=" <18889,18892> SCRIPT[1] ParT[2/23], @7df4db8f
      Embedding[0]: "text/x-php5/text/html/text/javascript", @db790fc
    T[0]: "<%=" <18889,18892> JSX_TEXT[121] ParT[2/24], @9a2c5af
          Embedding[0]: "text/x-php5/text/html/text/javascript/text/html", @6b441e0a
        T[0]: "<%=" <18889,18892> VALUE_CSS[11] ParT[2/3], @3037984e
              Embedding[0]: "text/x-php5/text/html/text/javascript/text/html/text/css", @1b6dec4
            T[0]: "<" <18889,18890> LESS[119] DefT, la=1, @1ea6fce0
            T[1]: "%" <18890,18891> PERCENTAGE_SYMBOL[143] DefT, la=1, @55590570
            T[2]: "=" <18891,18892> OPEQ[27] DefT, la=1, @5920127d




 text/html, LH: org.netbeans.api.html.lexer.HTMLTokenId$1
   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.mergeLo(TimSort.java:717)
   at java.util.TimSort.mergeAt(TimSort.java:514)
   at java.util.TimSort.mergeCollapse(TimSort.java:441)
   at java.util.TimSort.sort(TimSort.java:245)
Comment 1 legitalk 2017-02-08 11:33:41 UTC
Created attachment 163595 [details]
stacktrace