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 247559 - CC contains unrelated methods and properties
Summary: CC contains unrelated methods and properties
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 14:10 UTC by Vladimir Riha
Modified: 2015-03-31 12:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (47.51 KB, text/plain)
2014-09-29 14:10 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-29 14:10:20 UTC
Please try following:
 - download https://github.com/ladariha/humla/archive/master.zip
 - create a new HTML5-JS Library project from existing sources and set Sources folder the the extracted folder "humla-master"
 - invoke NPM install
 - once finished, create a new JS file called test.js in Sources folder
 - paste following to the test.js


var totallyRandomXY = require("server_ext/atom/atom_module_ext");
totallyRandomXY.


=> cc contains items like crash, keys(), prototype from different modules(?). I'm not sure where is it coming from but would it be possible to either filter out these items or at least move relevant ones up in the list?

Thank you

Product Version: NetBeans IDE Dev (Build 201409290001)
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)
Comment 1 Vladimir Riha 2014-09-29 14:10:36 UTC
Created attachment 149594 [details]
IDE log
Comment 2 Petr Pisl 2015-03-31 12:35:43 UTC
One of the kyes function is comming from 
humla-master/node_modules/mongoose/node_modules/mquery/lib/utils.js, where is the method redefined for Object. Similar the second keys and the crash is a method defined for Object as well. I don't know what to do with this. 

I'm not sure how to recognized the relevant items. All the items are coming from index and has the same weight, because are from the project context.