xenon-middleware / xenon

A middleware abstraction library that provides a simple programming interface to various compute and storage resources.
http://xenon-middleware.github.io/xenon/
Apache License 2.0
34 stars 17 forks source link

Listing the root of an SFTP server throws nullpointer exception #662

Closed jmaassen closed 5 years ago

jmaassen commented 5 years ago

When list the root of an SFTP server like this:

xenon filesystem sftp --location test.rebex.net --username demo --password password list /

a NullpointerException is thrown. This is cause by the convertAttributes in the SFTP adaptor, which assumes every Path it gets has a name. This is not the case for the root.

Will fix.

jmaassen commented 5 years ago

Fixed