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 256729 - IllegalArgumentException: URI has a query component
Summary: IllegalArgumentException: URI has a query component
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-22 17:03 UTC by Exceptions Reporter
Modified: 2016-02-03 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221294


Attachments
stacktrace (2.69 KB, text/plain)
2015-11-22 17:03 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-11-22 17:03:19 UTC
This bug was originally marked as duplicate of bug 249697, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: Modifying some javascript code




Stacktrace: 
java.lang.IllegalArgumentException: URI has a query component
   at java.io.File.<init>(File.java:427)
   at org.openide.util.BaseUtilities.toFile(BaseUtilities.java:1682)
   at org.openide.util.Utilities.toFile(Utilities.java:2014)
   at org.netbeans.modules.javascript2.requirejs.editor.FSCompletionUtils.computeRelativeItems(FSCompletionUtils.java:132)
   at org.netbeans.modules.javascript2.requirejs.editor.RequireJSCodeCompletion.complete(RequireJSCodeCompletion.java:246)
   at org.netbeans.modules.javascript2.editor.JsCodeCompletion.complete(JsCodeCompletion.java:252)
Comment 1 Exceptions Reporter 2015-11-22 17:03:20 UTC
Created attachment 157442 [details]
stacktrace
Comment 2 Petr Pisl 2015-11-24 22:33:35 UTC
I don't know how it can happen. Anyway I have add catching the exception and logging it. Thanks for reporting.
Comment 3 Jiri Prox 2016-01-19 15:25:55 UTC
Revision:
http://hg.netbeans.org/main-silver/rev/6ac208869063

verified in trunk
Comment 4 Petr Pisl 2016-01-22 23:25:27 UTC
Transplanted to the releases / release81:

http://hg.netbeans.org/releases/rev/7feec4e6bbe2