Save
Saving
  • J Jérôme Girard

    Hello,

    I have a strange issue with Mango 3.7.7.
    When I modify some thing in the rendering (axes, colors, scales, etc.)
    I can only save the first modification.
    It seems that the save button only work one time?
    The workaround is to select another watch list and to re-select the first one.

    HTH.

    Jérôme

    posted in Mango feedback read more
  • J Jérôme Girard

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

    Jérôme

    posted in Scripting general Discussion read more
  • J Jérôme Girard

    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(DataFileDataSourceRT.java:453) ~[?:?]
           at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:348) ~[?:?]
           at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:317) ~[?:?]
           at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:190) ~[mango-3.5.6.jar:?]
           at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:77) ~[mango-3.5.6.jar:?]
           at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.5.6.jar:?]
           at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.5.6.jar:?]
           at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.5.6.jar:?]
           at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:336) ~[mango-3.5.6.jar:?]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_202]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_202]
           at java.lang.Thread.run(Thread.java:748) [?: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

    Jerome

    PS: sorry for my bad english.

    posted in Scripting general Discussion read more