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.
I get the following message: https://user@bitbucket.org/company/repository.git: cannot open git-receive-pack Product Version = NetBeans IDE Dev (Build jdk8lambda-1604-on-20121214) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0-ea Runtime = OpenJDK 64-Bit Server VM 25.0-b11
Created attachment 130120 [details] IDE log
INFO [org.netbeans.modules.git]: https://....: cannot open git-receive-pack java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200) at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120) at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104) at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88) Caused: java.lang.RuntimeException: Unexpected error There seems to be a problem with the server certificate. Are you able to push: 1) from commandline? 2) with JDK 7? 3) with http.sslVerify=false specified in your user .gitconfig file??
I am able to push from trunk IDE build and JDK 7. This is a bitbucket repository.
Can you try 3) ? Add: [http] sslVerify = false to your user .gitconfig file.
3) works.
works also with a standard jdk8 ea builds (i.e. non-lambda builds). It seems lambda builds (http://download.java.net/lambda/) are not fully functional (or have some features disabled) and in this case they probably do not check java keystore for trusted cert authorities. WONTFIX on NetBeans side for now, please let me know and reopen when reproducible later when JDK8 is feature-complete and its build is official.
Nah, seems like a serious case of "stupid" to me. This works fine for me unless you have created the repository locally. Disable SSL? You're off your rocker. LOL. Much better solution. Open up the terminal and type: git push after you have done your commits in the IDE. As to why the devs here think disabling SSL verification, is smarter than changing the plugin to use git push? Sounds like a bunch of password and security hackery to me. So since you have the solutions... Fix it.
This is what the plugin does rather than git push: ==[IDE]== Feb 12, 2014 9:28:42 AM Committing... finished. ==[IDE]== Feb 12, 2014 9:28:50 AM Pushing - HashTable git branch git push https://github.com/hypersoft/HashTable.git refs/heads/master:refs/heads/master That's completely ignoring user preference. In experienced developer world... We call this extreme ignorance at best.
(In reply to DaWizz from comment #7) > So since you have the solutions... Fix it. No i don't have a solution. Are you having troubles with pushing when running on JDK8? Then attach the IDE log with the error and your setup.