Strange error: Invalid non-numeric rollup type: AVERAGE
-
I am seeing this error in the log file and not sure whats causing this.
WARN 2016-08-03 14:34:22,050 (com.serotonin.m2m2.web.mvc.rest.v1.model.pointValue.PointValueRollupCalculator.streamData:108) - Invalid non-numeric rollup type: AVERAGE
Then this appears after it.
ERROR 2016-08-03 13:08:21,169 (com.serotonin.m2m2.web.mvc.rest.v1.publisher.pointValue.PointValueWebSocketPublisher.pointUpdated:156) - Websocket session is closed, can't send message java.lang.Exception: Websocket session is closed, can't send message at com.serotonin.m2m2.web.mvc.websocket.MangoWebSocketPublisher.sendMessage(MangoWebSocketPublisher.java:132) at com.serotonin.m2m2.web.mvc.rest.v1.publisher.pointValue.PointValueWebSocketPublisher.pointUpdated(PointValueWebSocketPublisher.java:153) at com.serotonin.m2m2.rt.dataImage.DataPointEventMulticaster.pointUpdated(DataPointEventMulticaster.java:94) at com.serotonin.m2m2.rt.dataImage.DataPointRT$EventNotifyWorkItem.execute(DataPointRT.java:613) at com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run(BackgroundProcessing.java:54) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
After these appear a few times, Mango shutsdown and my cron job restarts it.
-
Hi Dave,
Neither of those messages suggest a stability issue. In the first message, the rollup type of "AVERAGE" seems like it is being applied to a boolean or alphanumeric point. The code just defaults this to a rollup of "FIRST" and logs the warning.
The second, the exception for a closed session, is logged and that should be the end of it.
What's the behavior of the shutdown?
-
I don't have any boolean points showing on any dashboard displays.