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 199354 - IllegalArgumentException: URI scheme is not "file"
Summary: IllegalArgumentException: URI scheme is not "file"
Status: REOPENED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: _ tboudreau
URL:
Keywords:
: 204499 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-11 11:51 UTC by alesak
Modified: 2012-10-16 13:08 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179293


Attachments
stacktrace (3.04 KB, text/plain)
2011-06-11 11:51 UTC, alesak
Details
stacktrace (2.75 KB, text/plain)
2012-03-22 16:43 UTC, mrpc
Details
stacktrace (3.62 KB, text/plain)
2012-03-23 12:43 UTC, mrpc
Details
stacktrace (3.62 KB, text/plain)
2012-05-21 10:09 UTC, augcampos
Details
stacktrace (3.62 KB, text/plain)
2012-05-21 13:48 UTC, augcampos
Details
stacktrace (3.62 KB, text/plain)
2012-05-21 20:51 UTC, augcampos
Details
stacktrace (3.62 KB, text/plain)
2012-10-16 13:08 UTC, fortruth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alesak 2011-06-11 11:51:14 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-7200-on-20110515)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Linux

User Comments:
alesak: just after start up




Stacktrace: 
java.lang.IllegalArgumentException: URI scheme is not "file"
   at java.io.File.<init>(File.java:366)
   at org.netbeans.modules.nodejs.NodeJSFileOwnerQueryImpl.getOwner(NodeJSFileOwnerQueryImpl.java:64)
   at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:150)
   at org.netbeans.modules.java.project.ProjectBinaryForSourceQuery.findBinaryRoots(ProjectBinaryForSourceQuery.java:68)
   at org.netbeans.api.java.queries.BinaryForSourceQuery.findBinaryRoots(BinaryForSourceQuery.java:87)
   at org.netbeans.modules.java.source.usages.BuildArtifactMapperImpl.getTarget(BuildArtifactMapperImpl.java:201)
Comment 1 alesak 2011-06-11 11:51:19 UTC
Created attachment 108856 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-06-13 07:31:29 UTC
This is not ours, is it ?
Comment 3 Tomas Zezula 2011-07-11 13:57:01 UTC
Right Marian, the problem is in the NodeJSFileOwnerQueryImpl which is not a part of NB.
The problem is that the NodeJSFileOwnerQueryImpl creates java.io.File from URI which does not work for non file protocols like (jar:file, nbloc, scp).
Comment 4 alesak 2011-09-02 10:17:44 UTC
Could somebody tell me who this module belongs to? I cannot find the author and the module comes from netbeans repository and is part of dev builds.
There are no information about the author in module description or anywhere in NBM file.
Comment 5 Tomas Zezula 2011-09-05 08:41:55 UTC
This is what I've found:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=36653
Comment 6 alesak 2011-09-09 17:47:55 UTC
> This is what I've found:
> http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=36653

I already contacted Daniel with this reply:

Hi, i'm afraid it's not mine either, i didn't implement FileOwnerQuery
at all, all my code is in cz.kec... package. It allmost look like some
other plugin, did you install more than mine NodeJS plugin? Tim
Boudreau have been working on similar but more complex plugin for
node.js, and he would probably use package
org.netbeans.modules.nodejs.

good luck,
Daniel
Comment 7 Tomas Zezula 2011-09-09 18:47:54 UTC
Tim should comment about it.
Comment 8 Tomas Zezula 2011-11-01 10:27:56 UTC
Nothing to do with java project.
As no one knows the module owner reassigning to ide.
Comment 9 Marian Mirilovic 2011-11-01 11:40:07 UTC
*** Bug 204499 has been marked as a duplicate of this bug. ***
Comment 10 _ tboudreau 2011-11-01 14:35:18 UTC
Taking issue
Comment 11 Exceptions Reporter 2012-03-11 13:29:17 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=182473
Comment 12 mrpc 2012-03-22 16:43:16 UTC
Created attachment 117096 [details]
stacktrace

Installed some plugins, restarted and got this exception...
Comment 13 mrpc 2012-03-23 12:43:13 UTC
Created attachment 117162 [details]
stacktrace

startup
Comment 14 augcampos 2012-05-21 10:09:09 UTC
Created attachment 119678 [details]
stacktrace
Comment 15 augcampos 2012-05-21 13:48:09 UTC
Created attachment 119691 [details]
stacktrace
Comment 16 augcampos 2012-05-21 20:51:09 UTC
Created attachment 119707 [details]
stacktrace
Comment 17 fortruth 2012-10-16 13:08:17 UTC
Created attachment 126009 [details]
stacktrace

start up netbeans