• C
    clor925

    We have have a Mango device that sends data back to our central server and we are looking to update the names and XIDs of the points for the device. This site has a few years worth of data for around 500 points. Once we update the XID for a point on the device it will end up creating a new point on the central server so we will not see the full point history when looking at the new point.

    Is there a good way to merge the old point history with the new point? We can export the point history from the data point tab and update the XIDs and then import it using the data import tab but due to the amount of points and the amount of history for each point it would take days to update every point. Any help would be greatly appreciated.

    posted in How-To read more
  • C
    clor925

    I believe this box was on 3.4.5 before the upgrade. I had done at least 15 other upgrades from 3.4.5 to 3.7.4 without any issue. It was weird since the issue only happened to one of the data sources. So far it looks like everything is still working correctly.

    posted in User help read more
  • C
    clor925

    We upgraded Mango to version 3.7.4 on one of our devices back in March and just recently noticed an issue with one of our data sources. We have 3 data sources setup pretty much the same way, however one of them has not been updating point values since the upgrade. In the ma.log we see a lot of entries for the error below.

    ERROR 2020-07-16T14:28:54,685 (com.serotonin.m2m2.util.timeout.TimeoutTask.run:61) - Uncaught Task Exception 
    java.lang.NumberFormatException: null
    	at java.math.BigDecimal.<init>(BigDecimal.java:494) ~[?:1.8.0_131]
    	at java.math.BigDecimal.<init>(BigDecimal.java:383) ~[?:1.8.0_131]
    	at java.math.BigDecimal.<init>(BigDecimal.java:806) ~[?:1.8.0_131]
    	at com.serotonin.m2m2.modbus.rt.ModbusDataSourceRT.updatePointValue(ModbusDataSourceRT.java:404) ~[?:?]
    	at com.serotonin.m2m2.modbus.rt.ModbusDataSourceRT.doPoll(ModbusDataSourceRT.java:230) ~[?:?]
    	at com.serotonin.m2m2.rt.dataSource.PollingDataSource.doPollNoSync(PollingDataSource.java:228) ~[mango-3.7.4.jar:?]
    	at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.4.jar:?]
    	at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.4.jar:?]
    	at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.4.jar:?]
    	at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.4.jar:?]
    	at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.4.jar:?]
    	at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.4.jar:?]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_131]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_131]
    	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    

    I was able to get the points to start updating by going into the bulk editor, selecting all of the points to edit, and then saving them without actually changing anything. So far it seems like the points are all still updating but I would like to find the actual cause of the issue and get it fixed. Has anyone seen this issue and know the fix? Any help would be appreciated.

    Thanks!

    posted in User help read more