Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** Running plm from a bash shell, straight after installation, fails with an error message and a backtrace when the user has a gpg.format option in his global .gitconfig. org.eclipse.jgit also chokes on commit.gpgsign and tag.gpgsign. Commenting these options allows for a clean trace (except the warning about slf4j) #[gpg] # format = ssh #[commit] # gpgsign = true #[tag] # gpgsign = true I have not found a way to direct org.eclipse.jgit to a local gitconfig file and ignore the user's global config file. Backtrace as kindly requested [warning] /usr/bin/plm: Unable to locate jruby in /usr/share/java [warning] /usr/bin/plm: Unable to locate antlr3-runtime-3.2 in /usr/share/java Loading properties [/home/dmargery/.plm/plm.properties] Scala est utilisable sur votre machine. Félicitations. Jython est utilisable sur votre machine. Félicitations. C est utilisable sur votre machine. Félicitations. Utilisation de la session disque localisée ici : /home/dmargery/.plm/df1d3b4b-cfa5-46f8-8b2d-7b6989ae7d79. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Vous avez trouvé un bogue dans la PLM. Veuillez faire un rapport avec tous les détails possibles (y compris la pile d'exécution ci-dessous). org.eclipse.jgit.api.errors.RefNotFoundException: Ref HEAD cannot be resolved at org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCommand.java:245) at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:98) at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:194) at plm.core.model.tracking.GitUtils.createLocalUserBranch(Unknown Source) at plm.core.model.tracking.GitSpy.userHasChanged(Unknown Source) at plm.core.model.tracking.GitSpy.<init>(Unknown Source) at plm.core.model.Game.<init>(Unknown Source) at plm.core.model.Game.getInstance(Unknown Source) at plm.core.ui.ProgrammersLearningMachine.main(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid value: gpg.format=ssh at org.eclipse.jgit.lib.DefaultTypedConfigGetter.getEnum(DefaultTypedConfigGetter.java:103) at org.eclipse.jgit.lib.Config.getEnum(Config.java:453) at org.eclipse.jgit.lib.GpgConfig.<init>(GpgConfig.java:86) at org.eclipse.jgit.api.CommitCommand.processOptions(CommitCommand.java:662) at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:189) at plm.core.model.tracking.GitUtils.commit(Unknown Source) at plm.core.model.tracking.GitUtils.seqAddFilesToPush(Unknown Source) at plm.core.model.tracking.GitSpy.switched(Unknown Source) at plm.core.model.Game.fireCurrentExerciseChanged(Unknown Source) at plm.core.model.Game.setCurrentExercise(Unknown Source) at plm.core.model.Game.setCurrentLesson(Unknown Source) at plm.core.model.Game.setCurrentExercise(Unknown Source) at plm.core.ui.ProgrammersLearningMachine$1.run(Unknown Source) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
reassign 1132766 jgit forwarded 1132766 https://github.com/eclipse-jgit/jgit/issues/44 tag 1132766 fixed-upstream thanks Salut David, thanks for the report, and for testing the PLM :) The bug you are suffering seems to be due to jgit, not to the PLM directly. It seems to be reported upstream as https://github.com/eclipse-jgit/jgit/issues/44 which was fixed (apparently), and merged in jgit v7.1. Unfortunately, jgit in Debian is somewhat behind for the moment. So I guess we have to live with the issue for a little while. Another solution is to drop a jgit jarfile in the directory from which you start the PLM. Happy hacking, Mt Le dimanche 05 avril 2026 à 15:26 +0200, David Margery a écrit :
We believe that the bug you reported is fixed in the latest version of
jgit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1132766@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pierre Gruet <pgt@debian.org> (supplier of updated jgit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 04 Nov 2026 21:56:03 +0100
Source: jgit
Architecture: source
Version: 7.7.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Pierre Gruet <pgt@debian.org>
Closes: 1106287 1132766
Changes:
jgit (7.7.1-1) unstable; urgency=medium
.
* Team upload
* New upstream version 7.7.1:
- Now supports option gpg.format = ssh (Closes: #1132766)
- Fixes CVE-2025-4949:
In Eclipse JGit versions 7.2.0.202503040940-r and older, the
ManifestParser class used by the repo command and the AmazonS3 class
used to implement the experimental amazons3 git transport protocol
allowing to store git pack files in an Amazon S3 bucket, are
vulnerable to XML External Entity (XXE) attacks when parsing XML
files. This vulnerability can lead to information disclosure, denial
of service, and other security issues.
(Closes: #1106287)
* Refreshing patches
* Raising Standards version to 4.7.4:
- Removing Priority: optional, which is now defaults
- Removing R-R-R: no, which is now defaults
* Switching to debhelper-compat 14, removing misc:Depends substvar
* Raising d/watch version to 5
* Removing unneeded versioned B-D
* Set upstream metadata fields: Repository, Repository-Browse.
* Changing names of packages of servlet-api
* Updating Maven rules and ignoreRules
* Adding B-D on libjackson2-core-java
* Adding versioned B-D on libmina-sshd-java
* Refreshing the list of POM files
* Specifying a HOME directory under /tmp for groovy in d/rules
Checksums-Sha1:
1af4cca9cfcf65de9c2bf302f66edb744bdc9bc5 2568 jgit_7.7.1-1.dsc
3e82dc789f5e1ef9018f2f150fa8ae1442420b30 8467627 jgit_7.7.1.orig.tar.gz
aaad1d91c9c7dc57a8e4d66f5ae54610bb466b8d 14288 jgit_7.7.1-1.debian.tar.xz
8fd8d3ff3d369b2a4a95b6376e9604d13ec0d0a0 22081 jgit_7.7.1-1_amd64.buildinfo
Checksums-Sha256:
c9b7b3bab00cb4f278c20a362bd747dc08e5b6adb602c3170340f91969095c2c 2568 jgit_7.7.1-1.dsc
2d606b6b760808fea3eabfcc280690a879e6a38a7bf27e6f2dc8d64e2f52c4ba 8467627 jgit_7.7.1.orig.tar.gz
847020bc4d183a5d05479944c3c662bfe31a4dabac9fca682e0a60efa288b7b9 14288 jgit_7.7.1-1.debian.tar.xz
5ceb35251a27c6403a76e884941ac8e781a93a246edac7b5fff7a7cd3e904289 22081 jgit_7.7.1-1_amd64.buildinfo
Files:
6f4bda7720cf9942d27617a76b523c7d 2568 java optional jgit_7.7.1-1.dsc
3d618daa263c0a947f09330b16348b01 8467627 java optional jgit_7.7.1.orig.tar.gz
1bda941be6692e0224cc2c5d10080a1a 14288 java optional jgit_7.7.1-1.debian.tar.xz
8951159e14f657da34060e97f211eb9d 22081 java optional jgit_7.7.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmrrqqIACgkQYAMWptwn
dHYRohAAgC/AGuk6RTWNOJMFA6oDJGHY7nBSUmA62miOF0OrkSuy4UR2viwhnFVk
jtoUmGllwNYhXF7LYcUeJlZl3nVhPQCDTBG2yOHvC++uIknh2uptTpf0CJrUH9Rw
5w0XQEXiIJdHeW/0DlE2jY+9HL1dQt2AK36qaD7osDGPG4gP2E04kxkHXKl9roFc
J9EOYRSPc5lz7eTuDoG/vFxu4qMiiBoEM59ukKJa4W75miqqAPaHR3c6IZ5Rr/aW
EnR66dRrK8CxILjUcLAxtiQQusTyQKZLs/fGUCPmfCo17gqLoT/Vo7kLe5JLjGly
e+rXCjO7Rh6IAWkuUYYR+qmcppMrzHypVZnyqzy9D6bCatRcjsnAR0tuQAZIgZgH
/Br9pdiK9TEXW/oNBjq0VgHZNSR98aa3Ht25dy3K/hyScqZQsaCKBaa4/H7x3KjU
5+2AnoADI+A5SzLeKUvTHU1YuiGa7A6gCGI1xUtuKLFM7gg58JoXcbIw2rU4kmyI
BmbAJehhM/mcegK+OEzme7QEmPTB51EszjD+gK9zSEoYGXgCZX3WAwLFHCaMYGCl
9SWV+8PzT7eTTVK9TAMz+yjZ8IE2GfsS/H84yaCQWDBNOdhNHhAb+KRmAtkxZvT+
36rAkUesc1dfnlfP2jHrGbkUbOvHWMPMt350PlOXupOjmpFkptM=
=FydG
-----END PGP SIGNATURE-----