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 269527

Summary: AssertionError: Probably cycle in the javascript model of file: K:/tmp/maksk/StatusTool2/web/js/libs/sorttable/sorttable.js
Product: javascript Reporter: Maksim Khramov <mkhramov>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: antonpresn, Rahul.khandelwal, rweaver, Vitex
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227639
Attachments: stacktrace
stacktrace

Description Maksim Khramov 2017-01-11 13:29:55 UTC
Build: NetBeans IDE Dev (Build 201612260001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b09, Java(TM) SE Runtime Environment, 1.8.0_111-b09
OS: Windows 7

User Comments:
mkhramov: Occurs on open java web project.
Sorttable script file is  http://www.kryogenix.org/code/browser/sorttable/




Stacktrace: 
java.lang.AssertionError: Probably cycle in the javascript model of file: K:/tmp/maksk/StatusTool2/web/js/libs/sorttable/sorttable.js
   at org.netbeans.modules.javascript2.model.api.Model.resolveLocalTypes(Model.java:581)
   at org.netbeans.modules.javascript2.model.api.Model.resolveLocalTypes(Model.java:601)
   at org.netbeans.modules.javascript2.model.api.Model.resolveLocalTypes(Model.java:566)
   at org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:196)
   at org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:491)
   at org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:119)
Comment 1 Maksim Khramov 2017-01-11 13:29:57 UTC
Created attachment 163370 [details]
stacktrace
Comment 2 rweaver 2017-06-12 16:13:17 UTC
Created attachment 164513 [details]
stacktrace

Editing a large JSON file and doing undo/redo.