[jira] [Commented] (NETBEANS-3972) Unable to git commit changes with GPG signing

2022-09-18 Thread hotis (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17606255#comment-17606255
 ] 

hotis commented on NETBEANS-3972:
-

Yes :(

> Unable to git commit changes with GPG signing
> -
>
> Key: NETBEANS-3972
> URL: https://issues.apache.org/jira/browse/NETBEANS-3972
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0, 11.3, 12.5, 12.6
>Reporter: Kevin Andrews
>Priority: Major
>  Labels: git, gpg
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> After setting up git GPG key signing on the repo config:
> {code:java}
> [user] 
> name = XX
> email =  XX
> signingkey = XX
> [commit] 
> gpgsign = true{code}
> I can commit in a terminal and commits are signed, however through NetBeans I 
> get the following error after entering a commit message and clicking commit:
> {code:java}
> 
>   2020-03-06T21:35:15
>   1583530515293
>   21894
>   org.netbeans.ui.focus
>   500
>   138
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   25
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21895
>   org.netbeans.ui.actions
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   javax.swing.JMenuItem[Commit...]
>   javax.swing.JMenuItem
>   
> org.netbeans.modules.versioning.util.SystemActionBridge[Commit...]
>   org.netbeans.modules.versioning.util.SystemActionBridge
>   Commit...
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21896
>   org.netbeans.ui.SystemActionBridge
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   
>   
>   
> org.netbeans.modules.git.ui.commit.CommitAction[Commit...]
>   org.netbeans.modules.git.ui.commit.CommitAction
>   Commit...
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21898
>   org.netbeans.ui.vcs
>   800
>   138
>   USG_VCS_CMD
>   USG_VCS_CMD
>   org.netbeans.modules.versioning.util.Bundle
>   GIT
>   11
>   0
>   commit
>   INTERNAL
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21899
>   org.netbeans.modules.git
>   800
>   138
>   org.eclipse.jgit.api.errors.JGitInternalException: missing 
> credentials provider
>   
> org.netbeans.libs.git.GitException: 
> org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
> provider
> 
>   org.netbeans.libs.git.jgit.commands.CommitCommand
>   run
>   153
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   57
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   java.security.AccessController
>   doPrivileged
>   jrt:/java.base/java/security/AccessController.class
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand
>   execute
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.GitClient
>   commit
>   480
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   297
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1
>   call
>   933
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1
>   call
>   956
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.FilesystemInterceptor
>   runWithoutExternalEvents
>   473
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.Git
>   runWithoutExternalEvents
>   259
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethodIntern
>   966
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethod
>   893
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   access$300
>   869
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient
>   commit
>   293
>

[jira] [Commented] (NETBEANS-3972) Unable to git commit changes with GPG signing

2022-07-27 Thread hotis (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17571797#comment-17571797
 ] 

hotis commented on NETBEANS-3972:
-

Please, fix this ticket. NB release 14 is still affected.

I tried all instruction for Windows, but it doesn't work in NB, work fine 
manually in cmd with -S flag on commit.

> Unable to git commit changes with GPG signing
> -
>
> Key: NETBEANS-3972
> URL: https://issues.apache.org/jira/browse/NETBEANS-3972
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0, 11.3, 12.5, 12.6
>Reporter: Kevin Andrews
>Priority: Major
>  Labels: git, gpg
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> After setting up git GPG key signing on the repo config:
> {code:java}
> [user] 
> name = XX
> email =  XX
> signingkey = XX
> [commit] 
> gpgsign = true{code}
> I can commit in a terminal and commits are signed, however through NetBeans I 
> get the following error after entering a commit message and clicking commit:
> {code:java}
> 
>   2020-03-06T21:35:15
>   1583530515293
>   21894
>   org.netbeans.ui.focus
>   500
>   138
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   25
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21895
>   org.netbeans.ui.actions
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   javax.swing.JMenuItem[Commit...]
>   javax.swing.JMenuItem
>   
> org.netbeans.modules.versioning.util.SystemActionBridge[Commit...]
>   org.netbeans.modules.versioning.util.SystemActionBridge
>   Commit...
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21896
>   org.netbeans.ui.SystemActionBridge
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   
>   
>   
> org.netbeans.modules.git.ui.commit.CommitAction[Commit...]
>   org.netbeans.modules.git.ui.commit.CommitAction
>   Commit...
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21898
>   org.netbeans.ui.vcs
>   800
>   138
>   USG_VCS_CMD
>   USG_VCS_CMD
>   org.netbeans.modules.versioning.util.Bundle
>   GIT
>   11
>   0
>   commit
>   INTERNAL
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21899
>   org.netbeans.modules.git
>   800
>   138
>   org.eclipse.jgit.api.errors.JGitInternalException: missing 
> credentials provider
>   
> org.netbeans.libs.git.GitException: 
> org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
> provider
> 
>   org.netbeans.libs.git.jgit.commands.CommitCommand
>   run
>   153
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   57
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   java.security.AccessController
>   doPrivileged
>   jrt:/java.base/java/security/AccessController.class
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand
>   execute
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.GitClient
>   commit
>   480
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   297
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1
>   call
>   933
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1
>   call
>   956
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.FilesystemInterceptor
>   runWithoutExternalEvents
>   473
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.Git
>   runWithoutExternalEvents
>   259
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethodIntern
>   966
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethod
>   893
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>