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 256053 - IllegalArgumentException: The file D:\NetBeansProjects\wordmaps3-spa\bower_components\selectize\dist\less\selectize.less is not owned by QuerySupport roots: D:\NetBeansProjects\wordmaps3-spa\app
Summary: IllegalArgumentException: The file D:\NetBeansProjects\wordmaps3-spa\bower_co...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-20 15:21 UTC by zmirc
Modified: 2016-05-01 09:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217465


Attachments
stacktrace (2.56 KB, text/plain)
2015-10-20 15:21 UTC, zmirc
Details
IDE log (391.64 KB, text/plain)
2016-05-01 09:57 UTC, zmirc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zmirc 2015-10-20 15:21:41 UTC
This issue was reported manually by zmirc.
It already has 4 duplicates 


Build: NetBeans IDE Dev (Build 201510190002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8

User Comments:
zmirc: Can't use CTRL+CLICK to navigate a LESS variable because this error appears.
Reproduction case was given in the bug report to which this issue is linked.
It's most probably related to this bug: https://netbeans.org/bugzilla/show_bug.cgi?id=251715

See my reproduction case there.

zmirc: I pressed CTRL+click on a LESS variable inside a .less file

zmirc: Same issue with when bower_components are outside project's app folder, yet there is a @import from it.

zmirc: trying to open the declaration place of @border-color in a less file.




Stacktrace: 
java.lang.IllegalArgumentException: The file D:\NetBeansProjects\wordmaps3-spa\bower_components\selectize\dist\less\selectize.less is not owned by QuerySupport roots: D:\NetBeansProjects\wordmaps3-spa\app
   at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$Factory.file(QuerySupport.java:532)
   at org.netbeans.modules.css.indexing.api.CssIndex.getIndexModel(CssIndex.java:185)
   at org.netbeans.modules.css.prep.editor.CPUtils.getIndexModels(CPUtils.java:103)
   at org.netbeans.modules.css.prep.editor.CPCssEditorModule$4.run(CPCssEditorModule.java:611)
   at org.netbeans.modules.css.prep.editor.CPCssEditorModule$4.run(CPCssEditorModule.java:589)
   at org.netbeans.modules.css.editor.csl.CssDeclarationFinder.findDeclaration(CssDeclarationFinder.java:73)
Comment 1 zmirc 2015-10-20 15:21:43 UTC
Created attachment 156844 [details]
stacktrace
Comment 2 zmirc 2016-05-01 09:57:29 UTC
Created attachment 159487 [details]
IDE log