Caused by: java.io.IOException: java.lang.NullPointerException

问题描述:
DataX导入数据抛异常:

  • java.lang.RuntimeException: Writing records to Doris failed.
    at com.dorisdb.connector.datax.plugin.writer.doriswriter.manager.DorisWriterManager.checkFlushException(DorisWriterManager.java:141)
    at com.dorisdb.connector.datax.plugin.writer.doriswriter.manager.DorisWriterManager.writeRecord(DorisWriterManager.java:37)
    at com.dorisdb.connector.datax.plugin.writer.doriswriter.DorisWriter$Task.startWrite(DorisWriter.java:117)
    at com.alibaba.datax.core.taskgroup.runner.WriterRunner.run(WriterRunner.java:56)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: java.io.IOException: java.lang.NullPointerException
    at com.dorisdb.connector.datax.plugin.writer.doriswriter.manager.DorisWriterManager.asyncFlush(DorisWriterManager.java:127)
    at com.dorisdb.connector.datax.plugin.writer.doriswriter.manager.DorisWriterManager.access$000(DorisWriterManager.java:15)
    at com.dorisdb.connector.datax.plugin.writer.doriswriter.manager.DorisWriterManager$1.run(DorisWriterManager.java:94)
    … 1 more

添加以下参数

https://github.com/StarRocks/DataX/releases/tag/v1.1.0
后续请更新为starrockswriter来使用