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.
Not able to connect to git error: "cannot open git-upload pack"
Please attach entire messages.log file and reopen. Thanks in advance.
Created attachment 125579 [details] latest log file fresh install 7.2 latest log
Created attachment 125580 [details] log file1
Created attachment 125581 [details] log file 0
The problem is in your server certificate. It is self-signed and not trusted. You have to add http.sslVerify=false into your user .gitconfig file. > ondra@linux-ynm6:~> cat /home/ondra/.gitconfig > [http] > sslVerify = false
as i said, use http.sslVerify = false
This change results in java.lang.NoClassDefFoundError: javax/net/ssl/TrustManager pleas advice, thx for the response
(In reply to comment #7) > This change results in java.lang.NoClassDefFoundError: javax/net/ssl/TrustManager Could you please attach the messages.log with this exact error?
Created attachment 125624 [details] new erro rlog after editing git file
org.eclipse.jgit is an osgi bundle and tries to load the class javax.net.ssl.TrustManager, which ends in a ClassNotFoundException. There's a workaround: generate new manifest file for the jar and add: > Import-Package: javax.net.ssl The same workaround is used for Jira (i thing), however for jgit it's not an option because as i was told the WA is applicable only to osgi jars with Apache license while JGit ships under EPL and we cannot modify the manifest. Can it be fixed in Netigso??
> JGit ships under EPL sorry, not under EPL but EDL-1.0
*** Bug 220015 has been marked as a duplicate of this bug. ***
a similar problem is discussed in bug #208616. We'll either try to resolve it on our side or file a bug on JGit. In the meantime you should run the IDE with the following commandline switch (as suggested by jtulach in #208616). Add this to your netbeans.conf (netbeans_default_options): -J-Dosgi.compatibility.bootdelegation=true
To le tyou know: The change in netbeans.conf crashed netbeans and my whole pc.
Running Netbeans with -J-Dosgi.compatibility.bootdelegation=true works for me.
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=392056
Created attachment 126087 [details] proposed patch on our side
fixed: http://hg.netbeans.org/core-main/rev/f490836cd0c8
Integrated into 'main-golden', will be available in build *201211030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f490836cd0c8 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #219691 - ClassNotFoundException: javax.net.ssl.TrustManager in org.eclipse.jgit [was netbeans cannot open git-upload pack Git]
*** Bug 221557 has been marked as a duplicate of this bug. ***