Bug#878800: jgit-cli: IllegalStateException: Cannot set value to a final field 'org.eclipse.jgit.pgm.Daemon.enable'

Jonathan Nieder jrnieder at gmail.com
Wed Mar 28 00:14:41 UTC 2018


# renders package unusable
severity 878800 grave
quit

Jonathan Nieder wrote:

>  git clone https://kernel.googlesource.com/pub/scm/git/git
>  cd git
>  make -j8
>  cd t
>  ./t5512-ls-remote.sh -v -i

It turns out that this affects the package more deeply than that.
For example:

$ jgit log
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.
java.lang.IllegalStateException: Cannot set value to a final field 'org.eclipse.jgit.pgm.RevWalkTextBuil
tin.commits'.
        at org.kohsuke.args4j.spi.Setters.create(Setters.java:32)
        at org.kohsuke.args4j.ClassParser.parse(ClassParser.java:38)
        at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:96)
        at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:71)
        at org.eclipse.jgit.pgm.opt.CmdLineParser.<init>(CmdLineParser.java:119)
        at org.eclipse.jgit.pgm.opt.CmdLineParser.<init>(CmdLineParser.java:102)
        at org.eclipse.jgit.pgm.TextBuiltin.parseArguments(TextBuiltin.java:224)
        at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:208)
        at org.eclipse.jgit.pgm.Main.execute(Main.java:223)
        at org.eclipse.jgit.pgm.Main.run(Main.java:124)
        at org.eclipse.jgit.pgm.Main.main(Main.java:98)

This means the jgit command cannot be used at all, and that's the only
command provided by this package.



More information about the pkg-java-maintainers mailing list