org.eclipse.jgit.api.errors.TransportException: git@github.com:Androxyde/devices.git: remote hung up unexpectedly
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:244)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:325)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:191)
at org.flashtool.system.DevicesGit.cloneRepository(DevicesGit.java:42)
at org.flashtool.system.DevicesGit.pullRepository(DevicesGit.java:85)
at org.flashtool.system.DevicesGit.gitSync(DevicesGit.java:28)
at org.flashtool.gui.tools.DevicesSyncJob.run(DevicesSyncJob.java:27)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.jgit.errors.TransportException: git@github.com:Androxyde/devices.git: remote hung up unexpectedly
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:313)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:153)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:151)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:103)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1405)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:233)
... 7 more
Caused by: java.lang.NullPointerException: Cannot invoke "org.eclipse.jgit.transport.SshSessionFactory.getSession(org.eclipse.jgit.transport.URIish, org.eclipse.jgit.transport.CredentialsProvider, org.eclipse.jgit.util.FS, int)" because "this.sch" is null
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:107)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:281)
... 12 more
as result, the FlashTool does not show any FTF file in the firmware-to-flash selection dialog.
Workaround:
If I download https://github.com/Androxyde/devices/archive/refs/heads/master.zip and unzip manually into ~/.flashTool/devices, the FlashTool after its restart detects my FTF files - I see the choice in the firmware selection dialog after selecting the folder with the FTF file.
The devices sync is failing:
as result, the FlashTool does not show any FTF file in the firmware-to-flash selection dialog.
Workaround: If I download https://github.com/Androxyde/devices/archive/refs/heads/master.zip and unzip manually into
~/.flashTool/devices
, the FlashTool after its restart detects my FTF files - I see the choice in the firmware selection dialog after selecting the folder with the FTF file.Suggestion: Instead of calling git, you can download the files from Github as a ZIP file from HTTP: https://github.com/Androxyde/devices/archive/refs/heads/master.zip