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 200867 - IllegalArgumentException: URI scheme is not "file"
Summary: IllegalArgumentException: URI scheme is not "file"
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 10:46 UTC by FrantaM
Modified: 2011-08-24 14:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 180541


Attachments
stacktrace (5.83 KB, text/plain)
2011-08-11 10:46 UTC, FrantaM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FrantaM 2011-08-11 10:46:48 UTC
This bug was originally marked as duplicate of bug 198663, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

User Comments:
FrantaM: Git -> Pull.
[Dialog "Pull from remote repository"]
Select  "Configured repository" (origin:git@blabla.cz:/bla.git)
Click Next
[Dialog "Specify git repository location"]
Click Ok
Click Browse
- Exception dialog




Stacktrace: 
java.lang.IllegalArgumentException: URI scheme is not "file"
   at java.io.File.<init>(File.java:366)
   at org.netbeans.modules.git.ui.repository.remote.RemoteRepository.onBrowse(RemoteRepository.java:468)
   at org.netbeans.modules.git.ui.repository.remote.RemoteRepository.actionPerformed(RemoteRepository.java:250)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
Comment 1 FrantaM 2011-08-11 10:46:51 UTC
Created attachment 109925 [details]
stacktrace
Comment 2 Ondrej Vrabec 2011-08-15 07:09:57 UTC
git@blabla.cz:/bla.git should be recognized as ssh protocol, not file://
Comment 3 Ondrej Vrabec 2011-08-23 09:34:36 UTC
fix: http://hg.netbeans.org/core-main/rev/f5fbf4758beb
Comment 4 Quality Engineering 2011-08-24 14:03:04 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/f5fbf4758beb
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #200867 - IllegalArgumentException: URI scheme is not "file"