Data File 3.7 issues
-
Upgraded to 3.7 and all of my data file sources were broken.
Solution was to view the data source in the legacy view and click save. Nothing was changed before the save, but it seems to have worked.
Logs from upgrade/restart:
INFO 2019-12-06T00:23:42,336 (com.serotonin.m2m2.Lifecycle.loadLic:583) - Checking license... INFO 2019-12-06T00:23:42,688 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:61) - Initializing H2 connection manager WARN 2019-12-06T00:23:44,204 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:98) - Upgrading 'core' from 28 to 29 INFO 2019-12-06T00:23:44,205 (com.serotonin.m2m2.db.upgrade.DBUpgrade.createUpdateLogOutputStream:169) - Writing upgrade log to /home/mango/mango_install/logs/com.serotonin.m2m2.db.upgrade.Upgrade28.log INFO 2019-12-06T00:23:44,207 (com.serotonin.m2m2.db.upgrade.Upgrade28.upgrade:76) - No duplicate email addresses on users, no user email addresses modified. INFO 2019-12-06T00:23:44,462 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.7.2, schema v29 INFO 2019-12-06T00:23:49,711 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'runtimeContext' refreshed: org.springframework.context.annotation.AnnotationConfigApplicationContext@72fb989b INFO 2019-12-06T00:23:49,725 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextStarted:147) - Spring context 'runtimeContext' started: org.springframework.context.annotation.AnnotationConfigApplicationContext@72fb989b INFO 2019-12-06T00:23:50,042 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:77) - Initializing 6 NORMAL priority data sources in 8 threads. ERROR 2019-12-06T00:23:50,152 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize:151) - null java.lang.NullPointerException: null at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize(DataFileDataSourceRT.java:117) ~[?:?] at com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup(RuntimeManagerImpl.java:356) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.DataSourceGroupInitializer$DataSourceSubGroupInitializer.run(DataSourceGroupInitializer.java:152) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] ERROR 2019-12-06T00:23:50,261 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize:151) - null java.lang.NullPointerException: null at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize(DataFileDataSourceRT.java:117) ~[?:?] at com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup(RuntimeManagerImpl.java:356) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.DataSourceGroupInitializer$DataSourceSubGroupInitializer.run(DataSourceGroupInitializer.java:152) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] ERROR 2019-12-06T00:23:50,281 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize:151) - null java.lang.NullPointerException: null at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize(DataFileDataSourceRT.java:117) ~[?:?] at com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup(RuntimeManagerImpl.java:356) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.DataSourceGroupInitializer$DataSourceSubGroupInitializer.run(DataSourceGroupInitializer.java:152) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] ERROR 2019-12-06T00:23:50,350 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize:151) - null java.lang.NullPointerException: null at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize(DataFileDataSourceRT.java:117) ~[?:?] at com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup(RuntimeManagerImpl.java:356) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.DataSourceGroupInitializer$DataSourceSubGroupInitializer.run(DataSourceGroupInitializer.java:152) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] ERROR 2019-12-06T00:23:50,365 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize:151) - null java.lang.NullPointerException: null at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.initialize(DataFileDataSourceRT.java:117) ~[?:?] at com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup(RuntimeManagerImpl.java:356) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.DataSourceGroupInitializer$DataSourceSubGroupInitializer.run(DataSourceGroupInitializer.java:152) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] INFO 2019-12-06T00:23:50,641 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS4 took 575ms to start INFO 2019-12-06T00:23:52,347 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS2 took 2282ms to start INFO 2019-12-06T00:23:52,349 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS3 took 2284ms to start INFO 2019-12-06T00:23:54,689 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS1 - Main took 4623ms to start INFO 2019-12-06T00:23:56,263 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source Mango Internal took 6215ms to start INFO 2019-12-06T00:23:58,333 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS5 - Main took 8289ms to start INFO 2019-12-06T00:23:58,411 (com.serotonin.m2m2.rt.DataSourceGroupInitializer.initialize:109) - Initialization of 6 NORMAL priority data sources took 8369ms WARN 2019-12-06T00:23:58,485 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:368) - java.lang.NullPointerException com.serotonin.ShouldNeverHappenException: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadFileFailed(DataFileDataSourceRT.java:561) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:311) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFiles(DataFileDataSourceRT.java:238) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:354) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:335) ~[?:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:260) ~[?:?] ... 12 more WARN 2019-12-06T00:23:58,501 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:368) - java.lang.NullPointerException com.serotonin.ShouldNeverHappenException: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadFileFailed(DataFileDataSourceRT.java:561) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:311) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFiles(DataFileDataSourceRT.java:238) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:354) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:335) ~[?:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:260) ~[?:?] ... 12 more WARN 2019-12-06T00:23:58,624 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:368) - java.lang.NullPointerException com.serotonin.ShouldNeverHappenException: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadFileFailed(DataFileDataSourceRT.java:561) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:311) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFiles(DataFileDataSourceRT.java:238) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:354) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:335) ~[?:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:260) ~[?:?] ... 12 more INFO 2019-12-06T00:23:58,739 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:176) - Starting 0 Publishers... INFO 2019-12-06T00:23:58,739 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:188) - 0 Publisher's started in 3ms INFO 2019-12-06T00:24:01,964 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'rootWebContext' refreshed: Root WebApplicationContext INFO 2019-12-06T00:24:03,906 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'jspDispatcherContext' refreshed: WebApplicationContext for namespace 'JSP_DISPATCHER-servlet' INFO 2019-12-06T00:24:04,246 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: ModbusPublisherDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: Log4jEditDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: OPCDAEditDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: TcpIpDataSourceEditDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: ModbusEditDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: MBusEditDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: VirtualEditDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: GraphicalViewDwr INFO 2019-12-06T00:24:04,247 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: MaintenanceEventsDwr INFO 2019-12-06T00:24:04,248 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: ControlCoreEditDwr INFO 2019-12-06T00:24:04,248 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: ScheduledEventsDwr INFO 2019-12-06T00:24:04,248 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: ScriptingEditDwr INFO 2019-12-06T00:24:04,248 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: BACnetMSTPEditDwr INFO 2019-12-06T00:24:04,248 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: DataFileDataSourceEditDwr INFO 2019-12-06T00:24:04,248 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: Log4JResetDwr INFO 2019-12-06T00:24:04,248 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: BACnetIPEditDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: EgaugeDataSourceDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: GlobalScriptsDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: PersistentPublisherDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: SqlEditDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: MetaEditDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: InternalEditDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: WatchListDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: TwilioPublisherDwr INFO 2019-12-06T00:24:04,249 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: AsciiFileEditDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: EnvCanEditDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: M2MReportImportDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: LoggingConsoleDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: PakBusEditDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: HttpDataSourceDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: SshDataSourceEditDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: ReportsDwr INFO 2019-12-06T00:24:04,250 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: Pop3EditDwr INFO 2019-12-06T00:24:04,251 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: SerialEditDwr INFO 2019-12-06T00:24:04,260 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: PointLinksDwr INFO 2019-12-06T00:24:04,260 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: SNMPEditDwr INFO 2019-12-06T00:24:04,260 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: HttpPublisherDwr INFO 2019-12-06T00:24:04,260 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: DnpEditDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: VMStatEditDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: PersistentDataSourceDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: OneWireEditDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: StartupDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: BACnetPublisherDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: TemplateConfigDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: JSONFileImporterEditDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: LocalDeviceDwr INFO 2019-12-06T00:24:04,261 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: ThreadsDwr INFO 2019-12-06T00:24:04,262 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: MangoApiSystemSettingsDwr INFO 2019-12-06T00:24:04,262 (com.infiniteautomation.mango.webapp.servlets.MangoDwrServlet.configureDwr:101) - Added DWR definition for: HaystackDataSourceDwr INFO 2019-12-06T00:24:04,377 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'restDispatcherContext' refreshed: WebApplicationContext for namespace 'REST_DISPATCHER-servlet' INFO 2019-12-06T00:24:05,699 (com.serotonin.m2m2.web.mvc.rest.v1.BacnetDiscoveryRestController.:54) - Creating Discovery Rest Controller INFO 2019-12-06T00:24:07,593 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'restV1Context' refreshed: WebApplicationContext for namespace 'restV1DispatcherServlet-servlet' INFO 2019-12-06T00:24:12,406 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'restV2Context' refreshed: WebApplicationContext for namespace 'restV2DispatcherServlet-servlet' WARN 2019-12-06T00:28:58,515 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:368) - java.lang.NullPointerException com.serotonin.ShouldNeverHappenException: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadFileFailed(DataFileDataSourceRT.java:561) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:311) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFiles(DataFileDataSourceRT.java:238) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:354) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:335) ~[?:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:260) ~[?:?] ... 12 more WARN 2019-12-06T00:33:58,515 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:368) - java.lang.NullPointerException com.serotonin.ShouldNeverHappenException: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadFileFailed(DataFileDataSourceRT.java:561) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:311) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFiles(DataFileDataSourceRT.java:238) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:354) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:335) ~[?:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:260) ~[?:?] ... 12 more INFO 2019-12-06T00:37:47,694 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:447) - Data source 'DS3' stopped INFO 2019-12-06T00:37:47,736 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS3 took 29ms to start WARN 2019-12-06T00:38:58,454 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:368) - java.lang.NullPointerException com.serotonin.ShouldNeverHappenException: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadFileFailed(DataFileDataSourceRT.java:561) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:311) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFiles(DataFileDataSourceRT.java:238) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:354) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:335) ~[?:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:260) ~[?:?] ... 12 more WARN 2019-12-06T00:38:58,509 (com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll:368) - java.lang.NullPointerException com.serotonin.ShouldNeverHappenException: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadFileFailed(DataFileDataSourceRT.java:561) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:311) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFiles(DataFileDataSourceRT.java:238) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPoll(DataFileDataSourceRT.java:354) ~[?:?] at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.doPollNoSync(DataFileDataSourceRT.java:335) ~[?:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource.scheduleTimeoutImpl(PollingDataSource.java:183) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.rt.dataSource.PollingDataSource$1.scheduleTimeout(PollingDataSource.java:85) ~[mango-3.7.2.jar:?] at com.serotonin.m2m2.util.timeout.TimeoutTask.run(TimeoutTask.java:59) ~[mango-3.7.2.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.7.2.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.7.2.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314) ~[mango-3.7.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.NullPointerException at com.infiniteautomation.datafilesource.rt.DataFileDataSourceRT.loadNewFile(DataFileDataSourceRT.java:260) ~[?:?] ... 12 more INFO 2019-12-06T00:39:03,410 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:447) - Data source 'DS4' stopped INFO 2019-12-06T00:39:03,442 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS4 took 25ms to start INFO 2019-12-06T00:39:37,180 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:447) - Data source 'DS2' stopped INFO 2019-12-06T00:39:37,205 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS2 took 4ms to start INFO 2019-12-06T00:41:18,326 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:447) - Data source 'DS5 - Main' stopped INFO 2019-12-06T00:41:21,120 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS5 - Main took 2784ms to start INFO 2019-12-06T00:43:44,930 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:447) - Data source 'DS1 - Main' stopped INFO 2019-12-06T00:43:45,574 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initializeDataSourceStartup:408) - Data source DS1 - Main took 632ms to start
The new datasource data file page itself has issues:
- The help question mark bubble opens a blank help page
- When adding poll arguments, you can't delete the first thing you add
Image showing both issues:
Since there seems to be work being done on the data file module, I would like to request again that it only looks for "*.csv" files or incorporates some form of wildcard file selection. Some of our devices have the ability to create/use files in the same directory/sub-directory as their FTP csv drop and this currently breaks the import as mango tries to import everything.
Thanks,
C -
Thanks for bringing this to our attention. I will fix these bugs and release a new module as soon as possible.
-
@terrypacker Just updated the module and saw that you added the filename regex, thanks so much!