0
エッジ関係を記述したJSON設定ファイルを使用してRDBMSからテーブルをインポートしようとしています。しかし、コマンドを実行しようとすると、NullPointerExceptionがスローされます。設定ファイルでoteleporterを使用中にNullPointerExceptionが発生する
コマンド -
oteleporter.bat -jdriver mysql -jurl jdbc:mysql://localhost:3306/hive_catalog_test_db -juser root -jpasswd root -ourl plocal:C:\Users\ME\desktop\OrientDB\orientdb-community-importers-2.2.27\databases\HiveCatalog_D02_TeleTest -s naive -nr java -v 1 -include "tbls,columns_v2" -conf "C:\Users\ME\desktop\Catalog_POC\Inheritance_and_edge_loaders\migration-config.json"
例外 -
しかしException in thread "main" java.lang.NullPointerException
at com.orientechnologies.teleporter.context.OTeleporterContext.printExceptionMessage(OTeleporterContext.java:152)
at com.orientechnologies.teleporter.util.OMigrationConfigManager.loadMigrationConfigFromFile(OMigrationConfigManager.java:64)
at com.orientechnologies.teleporter.main.OTeleporter.execute(OTeleporter.java:250)
at com.orientechnologies.teleporter.main.OTeleporter.main(OTeleporter.java:219)
、私は設定属性なしでコマンドを実行していたときに、それがうまく実行されています。
サンプルJSON -
{
"edges": [
{
"HasColumns": {
"mapping": {
"fromTable": "Tbls",
"fromColumns": ["tbId"],
"toTable": "ColumnsV2",
"toColumns": ["cdId"],
"direction": "direct"
}
}
}
]
}