Bug 346546 - Misleading error message with remote on a file share
Summary: Misleading error message with remote on a file share
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 1.0   Edit
Hardware: Macintosh Mac OS X
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 17:32 EDT by Robin Rosenberg CLA
Modified: 2011-05-19 17:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Rosenberg CLA 2011-05-19 17:32:26 EDT
I used Fetch from upstream, while was a file: remote. In this case
it happened that it was not reachable since the directory was on
a file share and not mounted. The error diallog says "Invalid remote: siena" twice,
but it should really display the cause.

-- Error Details --
Date: Thu May 19 23:24:11 CEST 2011
Message: Invalid remote: siena
Severity: Error
Product: Eclipse SDK 3.6.2.v201102101200 (org.eclipse.sdk.ide)
Plugin: org.eclipse.egit.ui
Session Data:
eclipse.buildId=M20110210-1200
java.version=1.6.0_25
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=sv_SE
Framework arguments:  -keyring /Users/me/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/me/.eclipse_keyring -showlocation


Exception Stack Trace:
org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: siena
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:142)
at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:128)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:99)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.run(FetchOperationUI.java:117)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: /Volumes/roro/egit/jgit: not found.
at org.eclipse.jgit.transport.TransportLocal$1.open(TransportLocal.java:130)
at org.eclipse.jgit.transport.TransportBundleFile$1.open(TransportBundleFile.java:105)
at org.eclipse.jgit.transport.Transport.open(Transport.java:546)
at org.eclipse.jgit.transport.Transport.open(Transport.java:423)
at org.eclipse.jgit.transport.Transport.open(Transport.java:307)
at org.eclipse.jgit.transport.Transport.open(Transport.java:277)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:124)
... 4 more