Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • Hello,

    I try to import a CSV file so I wrote an import class.
    The class compile successfully but when I parse the file I get this error :

    WARN  2019-04-06T08:16:58,335 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:350) - null
    java.lang.NullPointerException: null
           at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.performImport( ~[?:?]
           at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll( ~[?:?]
           at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync( ~[?:?]
           at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl( ~[mango-3.5.6.jar:?]
           at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout( ~[mango-3.5.6.jar:?]
           at ~[mango-3.5.6.jar:?]
           at com.serotonin.timer.Task.runTask( ~[mango-3.5.6.jar:?]
           at ~[mango-3.5.6.jar:?]
           at com.serotonin.timer.OrderedThreadPoolExecutor$ ~[mango-3.5.6.jar:?]
           at java.util.concurrent.ThreadPoolExecutor.runWorker( ~[?:1.8.0_202]
           at java.util.concurrent.ThreadPoolExecutor$ ~[?:1.8.0_202]
           at [?:1.8.0_202]

    Only the points related to first line of the CSV are created and the file is not rename.

    Here is the link to the source and the CSV file.

    Thanks in advance


    PS: sorry for my bad english.

  • Sorry for the question :)
    A bug in my class caused this error.


  • Hi Jérôme,

    @jérôme-girard said in Datafile issue:

    Sorry for the question :)
    A bug in my class caused this error.

    No worries! Thanks for sharing the resolution. Sorry I didn't have the time to take a peak when this was posted. I don't generally click people's links. Better to paste the class and sample data on the forum I think.