Bug 549536 - NullPointerException trying to ls-remote dumb HTTP servers
Summary: NullPointerException trying to ls-remote dumb HTTP servers
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 5.4   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-24 10:44 EDT by I A CLA
Modified: 2019-07-24 15:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description I A CLA 2019-07-24 10:44:57 EDT
Git.lsRemoteRepository().setRemote(remote).call()
throws NullPointerException where remote is one of:

https://blitiri.com.ar/repos/galala
https://code.austinjadams.com/zucchini
https://git.curoverse.com/arvados.git
https://git.lukeshu.com/blog
https://software.sslmate.com/src/certspotter.git
Comment 1 Thomas Wolf CLA 2019-07-24 15:14:24 EDT
Exception in thread "main" java.lang.NullPointerException
	at org.eclipse.jgit.transport.WalkFetchConnection.<init>(WalkFetchConnection.java:194)
	at org.eclipse.jgit.transport.TransportHttp.newDumbConnection(TransportHttp.java:451)
	at org.eclipse.jgit.transport.TransportHttp.getConnection(TransportHttp.java:379)
	at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:393)
	at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:200)
	at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:161)