Community
Participate
Working Groups
Copy a corrupted URI to the clipboard e.g. //git.wdf.sap.corp/egit.git Start clone wizard from Repositories View. Now the system hangs >10s Problem: RepositorySelectionPage calls Transport.canHandleProtocol(u, FS.DETECTED) with the given URI from the clipboard. Thread [main] (Suspended) java.io.WinNTFileSystem.getBooleanAttributes(java.io.File) line: not available [native method] java.io.File.isFile() line: not available org.eclipse.jgit.transport.TransportBundleFile.canHandle(org.eclipse.jgit.transport.URIish, org.eclipse.jgit.util.FS) line: 68 org.eclipse.jgit.transport.Transport.canHandleProtocol(org.eclipse.jgit.transport.URIish, org.eclipse.jgit.util.FS) line: 347 org.eclipse.egit.ui.internal.components.RepositorySelectionPage.<init>(boolean, java.util.List<org.eclipse.jgit.transport.RemoteConfig>, java.lang.String) line: 332 org.eclipse.egit.ui.internal.components.RepositorySelectionPage.<init>(boolean, java.lang.String) line: 372 org.eclipse.egit.ui.internal.clone.GitCloneWizard.<init>() line: 77 org.eclipse.egit.ui.internal.repository.tree.command.CloneCommand.execute(org.eclipse.core.commands.ExecutionEvent) line: 26
Perhaps the URI could be checked before talking to Transport.
Problems: - check takes long time - wizard is not up - user gets no feedback - not working URI is thrown away without feedback to the user
this works for me with current nightly build without hanging