Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The devices sync is failing: remote hung up unexpectedly #206

Open
thaarok opened this issue Dec 19, 2023 · 0 comments
Open

The devices sync is failing: remote hung up unexpectedly #206

thaarok opened this issue Dec 19, 2023 · 0 comments

Comments

@thaarok
Copy link

thaarok commented Dec 19, 2023

The devices sync is failing:

org.eclipse.jgit.api.errors.TransportException: [email protected]: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: [email protected]: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:/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:/Androxyde/devices/archive/refs/heads/master.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant