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 246896 - AssertionError: Probably cycle in the javascript model of file: /usr/lib/node_modules/less/test/browser/less.js
Summary: AssertionError: Probably cycle in the javascript model of file: /usr/lib/node...
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 11:29 UTC by Tomas Mysik
Modified: 2014-09-18 15:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211600


Attachments
stacktrace (5.15 KB, text/plain)
2014-09-05 11:29 UTC, Tomas Mysik
Details
stacktrace (5.03 KB, text/plain)
2014-09-09 08:35 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2014-09-05 11:29:18 UTC
Build: NetBeans IDE Dev (Build 20140905-5af5f663623e)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Linux

User Comments:
tmysik: ide scans my js lib folder




Stacktrace: 
java.lang.AssertionError: Probably cycle in the javascript model of file: /usr/lib/node_modules/less/test/browser/less.js
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:507)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:525)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:525)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:525)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:525)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:525)
Comment 1 Tomas Mysik 2014-09-05 11:29:20 UTC
Created attachment 149051 [details]
stacktrace
Comment 2 Tomas Mysik 2014-09-05 11:31:30 UTC
P2 IMHO, thanks.
Comment 3 Tomas Mysik 2014-09-05 11:32:54 UTC
See [1] as well.

[1] http://statistics.netbeans.org/analytics/exception.do?id=735836
Comment 4 Tomas Mysik 2014-09-09 08:35:06 UTC
Created attachment 149077 [details]
stacktrace

scanning js files
Comment 5 Petr Pisl 2014-09-10 15:17:40 UTC
Should be fixed in the web-main now.

Also improved firing the assertions. Only one is fired per session.
Comment 6 Quality Engineering 2014-09-11 02:44:14 UTC
Integrated into 'main-silver', will be available in build *201409110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4f3e4b4d13ec
User: Petr Pisl <ppisl@netbeans.org>
Log: #246896 - AssertionError: Probably cycle in the javascript model of file: /usr/lib/node_modules/less/test/browser/less.js
Comment 7 Tomas Mysik 2014-09-11 07:34:49 UTC
Verified. Thanks.
Comment 8 Petr Pisl 2014-09-16 13:25:09 UTC
Transplanted to releases/release801 branch.
Comment 9 Vladimir Riha 2014-09-18 15:02:45 UTC
Cannot reproduce, verified in patch

Product Version: NetBeans IDE 8.0.1 (Build 201409180010)
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)