[ https://issues.apache.org/jira/browse/NETBEANS-4067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton Epple updated NETBEANS-4067: ---------------------------------- Description: I've configured git globally to sign my commits. This works fine on commandline. Up to NB 11.2 commits from inside netbeans were unsigned. In 11.3 with the updated version the behaviour changed and commits fail silently. The IDE log shows this: {quote}WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot call progress on a task that was never started at org.netbeans.modules.git.client.GitProgressSupport.setProgressMessage(GitProgressSupport.java:258)WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot call progress on a task that was never started at org.netbeans.modules.git.client.GitProgressSupport.setProgressMessage(GitProgressSupport.java:258)SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupportjava.lang.IllegalArgumentException: Invalid UTF-8 input at org.bouncycastle.util.Strings.fromUTF8ByteArray(Unknown Source) at org.bouncycastle.bcpg.UserIDPacket.getID(Unknown Source) at org.bouncycastle.openpgp.PGPPublicKey.getUserIDs(Unknown Source) at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findPublicKeyInPubring(BouncyCastleGpgKeyLocator.java:507) at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findSecretKey(BouncyCastleGpgKeyLocator.java:313) at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.locateSigningKey(BouncyCastleGpgSigner.java:124) at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.sign(BouncyCastleGpgSigner.java:133) at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:271) at org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:138) 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(Native Method) 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:342) at org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupport.perform(CommitAction.java:233) 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)[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {quote} was: I've configured git globally to sign my commits. Up to 11.2 commits from inside netbeans were unsigned. In 11.3 with the updated version the behaviour changed and commits fail silently. The IDE log shows this: {quote}WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot call progress on a task that was never started at org.netbeans.modules.git.client.GitProgressSupport.setProgressMessage(GitProgressSupport.java:258)WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot call progress on a task that was never started at org.netbeans.modules.git.client.GitProgressSupport.setProgressMessage(GitProgressSupport.java:258)SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupportjava.lang.IllegalArgumentException: Invalid UTF-8 input at org.bouncycastle.util.Strings.fromUTF8ByteArray(Unknown Source) at org.bouncycastle.bcpg.UserIDPacket.getID(Unknown Source) at org.bouncycastle.openpgp.PGPPublicKey.getUserIDs(Unknown Source) at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findPublicKeyInPubring(BouncyCastleGpgKeyLocator.java:507) at org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findSecretKey(BouncyCastleGpgKeyLocator.java:313) at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.locateSigningKey(BouncyCastleGpgSigner.java:124) at org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.sign(BouncyCastleGpgSigner.java:133) at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:271) at org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:138) 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(Native Method) 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:342) at org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupport.perform(CommitAction.java:233) 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)[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {quote} > Signed commit fails silently > ---------------------------- > > Key: NETBEANS-4067 > URL: https://issues.apache.org/jira/browse/NETBEANS-4067 > Project: NetBeans > Issue Type: Bug > Components: versioncontrol - Git > Affects Versions: 11.3 > Environment: Product Version: Apache NetBeans IDE 11.3 > Java: 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+9-jvmci-20.0-b02 > Runtime: OpenJDK Runtime Environment 11.0.6+9-jvmci-20.0-b02 > System: Mac OS X version 10.15.2 running on x86_64; UTF-8; de_DE (nb) > User directory: /Users/antonepple/Library/Application Support/NetBeans/11.3 > Cache directory: /Users/antonepple/Library/Caches/NetBeans/11.3 > Maybe related NETBEANS-3972 > Reporter: Anton Epple > Priority: Major > > I've configured git globally to sign my commits. This works fine on > commandline. Up to NB 11.2 commits from inside netbeans were unsigned. > In 11.3 with the updated version the behaviour changed and commits fail > silently. The IDE log shows this: > {quote}WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot > call progress on a task that was never started at > org.netbeans.modules.git.client.GitProgressSupport.setProgressMessage(GitProgressSupport.java:258)WARNING > [org.netbeans.modules.progress.spi.InternalHandle]: Cannot call progress on > a task that was never started at > org.netbeans.modules.git.client.GitProgressSupport.setProgressMessage(GitProgressSupport.java:258)SEVERE > [org.openide.util.RequestProcessor]: Error in RequestProcessor > org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupportjava.lang.IllegalArgumentException: > Invalid UTF-8 input at > org.bouncycastle.util.Strings.fromUTF8ByteArray(Unknown Source) at > org.bouncycastle.bcpg.UserIDPacket.getID(Unknown Source) at > org.bouncycastle.openpgp.PGPPublicKey.getUserIDs(Unknown Source) at > org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findPublicKeyInPubring(BouncyCastleGpgKeyLocator.java:507) > at > org.eclipse.jgit.lib.internal.BouncyCastleGpgKeyLocator.findSecretKey(BouncyCastleGpgKeyLocator.java:313) > at > org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.locateSigningKey(BouncyCastleGpgSigner.java:124) > at > org.eclipse.jgit.lib.internal.BouncyCastleGpgSigner.sign(BouncyCastleGpgSigner.java:133) > at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:271) at > org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:138) > 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(Native Method) 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:342) > at > org.netbeans.modules.git.ui.commit.CommitAction$CommitProgressSupport.perform(CommitAction.java:233) > 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)[catch] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > {quote} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists