You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "matthiasblaesing (via GitHub)" <gi...@apache.org> on 2024/04/26 20:32:54 UTC
Re: [I] git username with backslash [netbeans]
matthiasblaesing commented on issue #6407:
URL: https://github.com/apache/netbeans/issues/6407#issuecomment-2080080703
Stacktrace:
```
java.lang.IllegalArgumentException: Illegal character found in user-info: '\'
at java.base/java.net.URLStreamHandler.setURL(URLStreamHandler.java:527)
at java.base/java.net.URLStreamHandler.parseURL(URLStreamHandler.java:326)
at java.base/java.net.URL.<init>(URL.java:801)
Caused: java.net.MalformedURLException: Illegal character found in user-info: '\'
at java.base/java.net.URL.<init>(URL.java:806)
at java.base/java.net.URL.<init>(URL.java:654)
at java.base/java.net.URL.<init>(URL.java:590)
at org.eclipse.jgit.transport.TransportHttp.toURL(TransportHttp.java:304)
at org.eclipse.jgit.transport.TransportHttp.setURI(TransportHttp.java:319)
Caused: org.eclipse.jgit.errors.NotSupportedException: Invalid URL https://dummy\user@test.demo/hallo.git
at org.eclipse.jgit.transport.TransportHttp.setURI(TransportHttp.java:322)
at org.eclipse.jgit.transport.TransportHttp.<init>(TransportHttp.java:290)
at org.eclipse.jgit.transport.TransportHttp$1.open(TransportHttp.java:199)
at org.eclipse.jgit.transport.Transport.open(Transport.java:527)
at org.eclipse.jgit.transport.Transport.open(Transport.java:497)
at org.netbeans.libs.git.jgit.commands.TransportCommand.openTransport(TransportCommand.java:198)
at org.netbeans.libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:50)
Caused: org.netbeans.libs.git.GitException: Invalid URL https://dummy\user@test.demo/hallo.git
at org.netbeans.libs.git.jgit.commands.ListRemoteObjectsCommand.runTransportCommand(ListRemoteObjectsCommand.java:56)
at org.netbeans.libs.git.jgit.commands.TransportCommand.run(TransportCommand.java:168)
at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:56)
at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:53)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:53)
at org.netbeans.libs.git.GitClient.listRemoteBranches(GitClient.java:909)
at org.netbeans.modules.git.client.GitClient$36.call(GitClient.java:582)
at org.netbeans.modules.git.client.GitClient$36.call(GitClient.java:578)
at org.openide.util.NetworkSettings.suppressAuthenticationDialog(NetworkSettings.java:138)
at org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:931)
at org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:956)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethodIntern(GitClient.java:968)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:897)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:875)
at org.netbeans.modules.git.client.GitClient.listRemoteBranches(GitClient.java:578)
[catch] at org.netbeans.modules.git.ui.clone.RepositoryStep$RepositoryStepProgressSupport.perform(RepositoryStep.java:302)
at org.netbeans.modules.git.client.GitProgressSupport.performIntern(GitProgressSupport.java:92)
at org.netbeans.modules.git.client.GitProgressSupport.run(GitProgressSupport.java:85)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1420)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists