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

Summary: 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
Product: web Reporter: zmirc
Component: CSS EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217465
Attachments: stacktrace
IDE log

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