You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to git commit changes with GPG signing #4439
Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!git[ci] enable versioning jobkind:bugBug report or fix
I tried all instruction for Windows, but it doesn't work in NB, work fine manually in cmd with -S flag on commit.
NB show messegebox with error "org.eclipse.jgit.api.errors.JGitInternalException: missing credentials provider" and thats all.
A part of C:\Users\user\AppData\Roaming\NetBeans\14\var\log\messages.log
INFO [org.netbeans.modules.git]: org.eclipse.jgit.api.errors.JGitInternalException: missing credentials provider
org.bouncycastle.openpgp.PGPException: missing credentials provider
at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyPassphrasePrompt.getPassphrase(BouncyCastleGpgKeyPassphrasePrompt.java:87)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findSecretKeyForKeyBoxPublicKey(BouncyCastleGpgKeyLocator.java:438)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findSecretKey(BouncyCastleGpgKeyLocator.java:335)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.locateSigningKey(BouncyCastleGpgSigner.java:91)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.sign(BouncyCastleGpgSigner.java:100)
Caused: org.eclipse.jgit.api.errors.JGitInternalException: missing credentials provider
at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.sign(BouncyCastleGpgSigner.java:129)
at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:242)
at org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:138)
Caused: org.netbeans.libs.git.GitException
at org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:153)
at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:57)
at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:54)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:54)
at org.netbeans.libs.git.GitClient.commit(GitClient.java:480)
at org.netbeans.modules.git.client.GitClient$9.call(GitClient.java:297)
at org.netbeans.modules.git.client.GitClient$9.call(GitClient.java:293)
at org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:933)
at org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:956)
at org.netbeans.modules.git.FilesystemInterceptor.runWithoutExternalEvents(FilesystemInterceptor.java:473)
at org.netbeans.modules.git.Git.runWithoutExternalEvents(Git.java:259)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethodIntern(GitClient.java:966)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:893)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.access$300(GitClient.java:869)
at org.netbeans.modules.git.client.GitClient.commit(GitClient.java:293)
at org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupport.commit(CommitAction.java:343)
[catch] at org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupport.perform(CommitAction.java:234)
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:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Can you also try NetBeans 13 and see if that behaves any differently?
I don't want to repeat this on NB 13, just believe me, I had the same problem and error org.eclipse.jgit.api.errors.JGitInternalException: missing credentials provider
INFO [org.netbeans.modules.git]: org.eclipse.jgit.api.errors.JGitInternalException: missing credentials provider
org.bouncycastle.openpgp.PGPException: missing credentials provider
at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyPassphrasePrompt.getPassphrase(BouncyCastleGpgKeyPassphrasePrompt.java:87)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findSecretKeyForKeyBoxPublicKey(BouncyCastleGpgKeyLocator.java:438)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findSecretKey(BouncyCastleGpgKeyLocator.java:335)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.locateSigningKey(BouncyCastleGpgSigner.java:91)
at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.sign(BouncyCastleGpgSigner.java:100)
Caused: org.eclipse.jgit.api.errors.JGitInternalException: missing credentials provider
at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.sign(BouncyCastleGpgSigner.java:129)
at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:242)
at org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:138)
Caused: org.netbeans.libs.git.GitException
at org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:153)
at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:57)
at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:54)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:54)
at org.netbeans.libs.git.GitClient.commit(GitClient.java:480)
at org.netbeans.modules.git.client.GitClient$9.call(GitClient.java:297)
at org.netbeans.modules.git.client.GitClient$9.call(GitClient.java:293)
at org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:933)
at org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:956)
at org.netbeans.modules.git.FilesystemInterceptor.runWithoutExternalEvents(FilesystemInterceptor.java:473)
at org.netbeans.modules.git.Git.runWithoutExternalEvents(Git.java:259)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethodIntern(GitClient.java:966)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:893)
at org.netbeans.modules.git.client.GitClient$CommandInvoker.access$300(GitClient.java:869)
at org.netbeans.modules.git.client.GitClient.commit(GitClient.java:293)
at org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupport.commit(CommitAction.java:343)
[catch] at org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupport.perform(CommitAction.java:234)
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:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!git[ci] enable versioning jobkind:bugBug report or fix
Activity
neilcsmith-net commentedon Jul 27, 2022
Please can you share the full stack trace from the exception?
Linking up https://issues.apache.org/jira/browse/NETBEANS-3972
hotis commentedon Jul 27, 2022
A part of C:\Users\user\AppData\Roaming\NetBeans\14\var\log\messages.log
I don't want to repeat this on NB 13, just believe me, I had the same problem and error
org.eclipse.jgit.api.errors.JGitInternalException: missing credentials providerneilcsmith-net commentedon Jul 27, 2022
Thanks. Yes, I'd already edited out the comment about NetBeans 13 - mistaken for a different issue.
n-tropy247 commentedon Sep 18, 2022
This is also affecting NB 15. Stack trace:
FiruzzZ commentedon Dec 7, 2022
This error has existed since NB 11.+
https://issues.apache.org/jira/browse/NETBEANS-3979
https://issues.apache.org/jira/browse/NETBEANS-3972
akintelligentmedia commentedon Dec 8, 2022
Hope someone could fix it because it will become a big problem in the future!
hotis commentedon Dec 18, 2022
Why this not fixed yet? 16 version still not working with it. I saw, somebody had a pull request for it (#2103). Please fix this as fast as possible.
neilcsmith-net commentedon Dec 19, 2022
@hotis simply because no-one has shown interest in completing that pull request or implementing an alternative fix.
Denis4l commentedon Aug 29, 2023
Same problem with NB18.
I just installed it (NB I mean), usially working with eclipse... possible mess between eclipse and NB ?
tenent007963 commentedon Mar 27, 2024
NetBeans 19, and the issue still exists. Had to go global config and change signed commit from true to false.
matthiasblaesing commentedon May 14, 2026
Probably duplicate of #8776. Please wait for NB30 (currently in Vote) or test 30-RC2: #9345