Insert Segment Tool throws NPE

Hi all,

Does anyone use this tool to migrate segments? it works fine when migrating segments generated by hadoop index task, but it throws NPE when migrating segments generated by Index task( does not require an external Hadoop setup to use), when further checked, I find the segments generated by index task does not have binaryVersion as:**“binaryVersion”:null in descriptor.json compared to “binaryVersion”:9. **

**** In Druid doc, I found**: **In the codebase, segments have an internal format version. The current segment format version is v9. Index task does not have this version ? if it does not have this ,so how should I do to migrate this kind of segments.

Thanks !