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 247279 - IllegalArgumentException: The file /home/fmagrosoto/Documentos/dIGITAE/Proyectos/Repositorios/terra-farma-2014/css/bootstrap.min.css is not owned by QuerySupport roots: /home/fmagrosoto/repos/terra-fa
Summary: IllegalArgumentException: The file /home/fmagrosoto/Documentos/dIGITAE/Proyec...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 17:54 UTC by fmagrosoto
Modified: 2015-03-14 05:47 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210670


Attachments
stacktrace (2.79 KB, text/plain)
2014-09-18 17:54 UTC, fmagrosoto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fmagrosoto 2014-09-18 17:54:36 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Linux

User Comments:
GUEST: hitting comand + control to autocomplete in CSS

GUEST: regular editing work in php

fmagrosoto: Again with the same issue... some happens and the module crashed

GUEST: copy paste css color:inherit;

GUEST: programming

GUEST: programming website, file css

GUEST: This happens in less files only.

GUEST: I was editing a css file

GUEST: I was editing a less file, the error occurred when I typed a dot.

GUEST: Estoy trabajando tranquilamente cuando de pronto se muestra este error. Estoy en un proyecto de HTML5 y editando un HTML en el momento del problema.

GUEST: Working in a CSS file editing a class containing url('img/paging_sprites.png') value. Did call code completition on a different value in the same class and then the exception appeared.
Root is the physical path and the (illegal) argument points to the symlinked project path.
I didn't see this problem in netbeans 7.x, while working on the same problem. Regression?

GUEST: Apareci
Comment 1 fmagrosoto 2014-09-18 17:54:38 UTC
Created attachment 149350 [details]
stacktrace
Comment 2 Tomas Zezula 2014-09-19 07:21:28 UTC
Preconditions violation by CSS.
Comment 3 kaha6uc 2014-09-29 12:01:27 UTC
Also present in 8.0.1
I get the same stacktrace.
As a result, no pop-up predictions are available in CSS editor.
Comment 4 kaha6uc 2014-09-29 12:08:25 UTC
(In reply to kaha6uc from comment #3)
> Also present in 8.0.1
> I get the same stacktrace.
> As a result, no pop-up predictions are available in CSS editor.

Excuse me, here's my system info:

Product Version         = NetBeans IDE 8.0.1 (Build 201408251540) (#bf8eac8b4a82)
Operating System        = Linux version 3.17.0-rc5e3-rc running on amd64
Java; VM; Vendor        = 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23; Oracle Corporation
Runtime                 = Java(TM) SE Runtime Environment 1.8.0_20-b26
Java Home               = /mnt/files/install/netbeans/jdk1.8.0_20/jre
System Locale; Encoding = en_GB (nb); UTF-8
Comment 5 jjw303 2014-10-02 20:45:59 UTC
The following error is achieved by having a symbolically linked directory in my project:

java.lang.IllegalArgumentException: The file [REDACTED]/plugins/froala/fonts/fontawesome-webfont.ttf is not owned by QuerySupport roots: [REDACTED]/docroot
	at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$Factory.file(QuerySupport.java:516)
	at org.netbeans.modules.css.indexing.api.CssIndex.getIndexModel(CssIndex.java:185)
	at org.netbeans.modules.css.prep.editor.CPUtils.getIndexModels(CPUtils.java:99)
	at org.netbeans.modules.css.prep.editor.CPCssEditorModule.getVariableCompletionProposals(CPCssEditorModule.java:310)
	at org.netbeans.modules.css.prep.editor.CPCssEditorModule.getCompletionProposals(CPCssEditorModule.java:138)
	at org.netbeans.modules.css.editor.module.CssModuleSupport.getCompletionProposals(CssModuleSupport.java:384)
	at org.netbeans.modules.css.editor.csl.CssCompletion.complete(CssCompletion.java:249)
	at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.addCodeCompletionItems(GsfCompletionProvider.java:615)
	at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveCompletion(GsfCompletionProvider.java:602)
	at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.access$400(GsfCompletionProvider.java:248)
	at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery$1.run(GsfCompletionProvider.java:332)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:598)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:139)
	at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:206)
	at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:203)
	at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
	at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
	at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:74)
	at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:203)
Caused: org.netbeans.modules.parsing.spi.ParseException
	at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:211)
	at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:106)
[catch] at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.query(GsfCompletionProvider.java:341)
	at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)




Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Linux version 3.13.0-36-generic running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Comment 6 Exceptions Reporter 2014-12-04 12:37:14 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=210670
Comment 7 kaha6uc 2014-12-08 09:26:43 UTC
(In reply to Exceptions Reporter from comment #6)
> This bug already has 50 duplicates 
> see http://statistics.netbeans.org/exceptions/detail.do?id=210670

Maybe someone should notice it at some time... When it reaches 500 duplicates maybe?
Comment 8 Milutin Kristofic 2015-03-12 15:08:36 UTC
Do you have any reproducible steps? I am trying symbolic link files, opening random css files from diferent roots. I would be thankful for any reproducible steps.
Comment 9 zenek 2015-03-13 07:09:16 UTC
(In reply to Milutin Kristofic from comment #8)
> Do you have any reproducible steps? I am trying symbolic link files, opening
> random css files from diferent roots. I would be thankful for any
> reproducible steps.

In my case it is:

/
    /less
        main.less
    /vendor      <- this is symlink
        /bootstrap
            /less
                /bootstrap.less

In main.less I'm importing bootstrap.less from symlinked directory. When I type in main.less "@navba" and hit ctrl+space I'm getting this error.
Comment 10 Milutin Kristofic 2015-03-13 13:39:45 UTC
Thank you very much for reproducible steps.

It's fixed in dev build: 

http://hg.netbeans.org/web-main/rev/f58f9c410099
Comment 11 Quality Engineering 2015-03-14 05:47:52 UTC
Integrated into 'main-silver', will be available in build *201503140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f58f9c410099
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: Task #247279 - IllegalArgumentException: The file /home/fmagrosoto/Documentos/dIGITAE/Proyectos/Repositorios/terra-farma-2014/css/bootstrap.min.css is not owned by QuerySupport roots: /home/fmagrosoto/repos/terra-fa