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 268576

Summary: AssertionError at org.netbeans.modules.web.indent.api.LexUtilities$1.compare
Product: web Reporter: allanNB
Component: Editing infrastructureAssignee: Milutin Kristofic <mkristofic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225571
Attachments: stacktrace

Description allanNB 2016-10-18 23:32:49 UTC
Build: NetBeans IDE Dev (Build 201609240002)
VM: OpenJDK 64-Bit Server VM, 25.91-b14, OpenJDK Runtime Environment, 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14
OS: Linux

User Comments:
GUEST: After writing <script> and pressing enter

GUEST: Click on "Enter" Button

allanNB: pressed Enter right after </script> in a .phtml file

GUEST: On file edit




Stacktrace: 
java.lang.AssertionError
   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.gallopRight(TimSort.java:656)
   at java.util.TimSort.mergeAt(TimSort.java:496)
   at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
   at java.util.TimSort.sort(TimSort.java:254)
Comment 1 allanNB 2016-10-18 23:32:51 UTC
Created attachment 162546 [details]
stacktrace
Comment 2 Milutin Kristofic 2016-11-02 14:22:23 UTC

*** This bug has been marked as a duplicate of bug 268403 ***