cloning a repo with git-lfs support generates NumberFormatException: For input string: "t" [message #1837374] |
Thu, 28 January 2021 13:36  |
Eclipse User |
|
|
|
Hi Folks,
ENV:
- OSX 11.1 (Big Sur)
- eclipse
Eclipse IDE for Enterprise Java Developers (includes Incubating components)
Version: 2020-12 (4.18.0)
Build id: 20201210-1552
- java
openjdk version "15.0.2" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 15.0.2+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15.0.2+7, mixed mode, sharing)
Since upgrading I've needed to re-enable git support, namely git lfs. In the past I had no luck getting the "Enable git-lfs support" button to "enable" but was able to get around it by adding a path variable so eclipse could find git-lfs. But now it seems like egit/jgit support for this works, I can click the enable button and it tells me support has been enabled.
The issue I'm having is when I try and clone a repository which requires git-lfs, I get the following stack:
!ENTRY org.eclipse.egit.ui 4 0 2021-01-28 13:16:15.767
!MESSAGE For input string: "t"
!STACK 0
java.lang.NumberFormatException: For input string: "t"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)
at java.base/java.lang.Long.parseLong(Long.java:707)
at java.base/java.lang.Long.parseLong(Long.java:832)
at org.eclipse.jgit.lfs.LfsPointer.parseLfsPointer(LfsPointer.java:144)
at org.eclipse.jgit.lfs.SmudgeFilter.<init>(SmudgeFilter.java:93)
at org.eclipse.jgit.attributes.FilterCommandRegistry.createFilterCommand(FilterCommandRegistry.java:115)
at org.eclipse.jgit.dircache.DirCacheCheckout.runBuiltinFilterCommand(DirCacheCheckout.java:1631)
at org.eclipse.jgit.dircache.DirCacheCheckout.getContent(DirCacheCheckout.java:1574)
at org.eclipse.jgit.dircache.DirCacheCheckout.checkoutEntry(DirCacheCheckout.java:1487)
at org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout(DirCacheCheckout.java:563)
at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:467)
at org.eclipse.jgit.api.CloneCommand.checkout(CloneCommand.java:376)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:204)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:194)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:488)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:481)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$6.run(AbstractGitCloneWizard.java:460)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:6
I'd prefer to use egit/jgit for all of this, but if I have to I guess I could disable that and go back to the system binaries but I'd prefer not to.
Any help is most appreciated.
- bill
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09383 seconds