Getting NPE when trying convert maven in to gradle project

Exception trace :
Caused by: java.lang.NullPointerException
at org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:279)
at org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:173)

I have aether-impl-1.7.jar using maven 3.5.2. I know there is bug in aether implementation for setting local repo in session while converting maven to gradle project.

Please help me on this to solve or advise if there is any need of upgradation of any jar