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 253892 - IllegalArgumentException: URI has an authority component
Summary: IllegalArgumentException: URI has an authority component
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 11:14 UTC by Vladimir Riha
Modified: 2015-07-31 01:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218817


Attachments
stacktrace (7.93 KB, text/plain)
2015-07-28 11:14 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-07-28 11:14:58 UTC
Build: NetBeans IDE Dev (Build jet-main-1804-on-20150727)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
vriha: I wanted to push (mercurial) to local file based repo, the Repository URL filed contained

"file:/",

I've changed it to 

file://tmp

and press Select Browser




Stacktrace: 
java.lang.IllegalArgumentException: URI has an authority component
   at java.io.File.<init>(File.java:423)
   at org.netbeans.modules.mercurial.ui.repository.RepositoryPanel.chooseFolderButtonActionPerformed(RepositoryPanel.java:251)
   at org.netbeans.modules.mercurial.ui.repository.RepositoryPanel.access$000(RepositoryPanel.java:59)
   at org.netbeans.modules.mercurial.ui.repository.RepositoryPanel$1.actionPerformed(RepositoryPanel.java:143)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
Comment 1 Vladimir Riha 2015-07-28 11:14:59 UTC
Created attachment 154968 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-07-29 14:07:38 UTC
Fix: http://hg.netbeans.org/core-main/rev/b05ca169b67f
Comment 3 Quality Engineering 2015-07-31 01:50:12 UTC
Integrated into 'main-silver', will be available in build *201507310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b05ca169b67f
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #253892 - IllegalArgumentException: URI has an authority component