Skip to content

Netbeans cannot find git commit signing component #8776

@wolfgangreder

Description

@wolfgangreder

Apache NetBeans version

Apache NetBeans 27

What happened

When i try to commit a change to github with commit signing active netbeans fails to commit with the following stacktrace:

INFO [org.netbeans.modules.git]: org.eclipse.jgit.api.errors.UnsupportedSigningFormatException: No signer for openpgp signatures. Use another signature type for git config gpg.format, or do not sign.
org.eclipse.jgit.api.errors.UnsupportedSigningFormatException: No signer for openpgp signatures. Use another signature type for git config gpg.format, or do not sign.
	at org.eclipse.jgit.api.CommitCommand.sign(CommitCommand.java:327)
	at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:281)
	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: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.commit(GitClient.java:491)
	at org.netbeans.modules.git.client.GitClient$9.call(GitClient.java:298)
	at org.netbeans.modules.git.client.GitClient$9.call(GitClient.java:294)
	at org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1.call(GitClient.java:945)
	at org.netbeans.modules.git.client.GitClient$CommandInvoker$1.call(GitClient.java:968)
	at org.netbeans.modules.git.FilesystemInterceptor.runWithoutExternalEvents(FilesystemInterceptor.java:477)
	at org.netbeans.modules.git.Git.runWithoutExternalEvents(Git.java:259)
	at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethodIntern(GitClient.java:978)
	at org.netbeans.modules.git.client.GitClient$CommandInvoker.runMethod(GitClient.java:905)
	at org.netbeans.modules.git.client.GitClient.commit(GitClient.java:294)
	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:1403)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)

Language / Project Type / NetBeans Component

Java/Gradle

How to reproduce

  1. Checkout git repo
  2. Change some file
  3. try to commit
Image

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux

JDK

jdk23

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    git[ci] enable versioning jobkind:bugBug report or fix

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions