fixed invalid thread access error in web UI
authorVictor Kirhenshtein <victor@netxms.org>
Fri, 10 Jun 2016 15:39:46 +0000 (18:39 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Fri, 10 Jun 2016 15:40:13 +0000 (18:40 +0300)
webui/webapp/DataCollection/src/org/netxms/ui/eclipse/datacollection/actions/ForceDciPoll.java

index 3de4e72..2dcfdce 100644 (file)
@@ -66,7 +66,7 @@ public class ForceDciPoll implements IObjectActionDelegate
                        @Override
                        protected void runInternal(IProgressMonitor monitor) throws Exception
                        {
-                               monitor.beginTask(Messages.get().ForceDciPoll_TaskName, dciToPoll.size());
+                               monitor.beginTask(Messages.get(getDisplay()).ForceDciPoll_TaskName, dciToPoll.size());
                                for(DCI d : dciToPoll)
                                {
                                        session.forceDCIPoll(d.nodeId, d.dciId);