Bugs item #3078660, was opened at 2010-09-30 05:32
Message generated for change (Settings changed) made by freyther
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=3078660&group_id=167540

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Performance
Group: None
Status: Closed
Resolution: Fixed
>Priority: 5
Private: No
Submitted By: A. Haferburg (ahaferburg)
Assigned to: Karl Beecher (k_beecher)
Summary: RosterView sometimes blocks Eclipse for a couple seconds

Initial Comment:
Unfortunately I don't exactly know how to reproduce this. All I know is, 
sometimes I get into a state where I observe the following:

Alice is offline and has Bob in her contacts, Bob is online. When Alice comes 
online, her Eclipse is blocked for about 5 seconds (UI unresponsive) and she 
gets the exception below.

I suggest reverting the latest change to the RosterView for the release until 
this is resolved. We shouldn't call a method that contacts the server from the 
SWT thread.

WARN  14:16:41,265 (DiscoveryManager.java:381) Service Discovery failed on 
recipient [email protected]/Saros 
server:saros-con.imp.fu-berlin.de:
No response from the server.: 
        at 
org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:445)
        at 
org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:414)
        at 
de.fu_berlin.inf.dpp.net.internal.DiscoveryManager.querySupport(DiscoveryManager.java:378)
        at 
de.fu_berlin.inf.dpp.net.internal.DiscoveryManager.isFeatureSupported(DiscoveryManager.java:333)
        at 
de.fu_berlin.inf.dpp.net.internal.DiscoveryManager.getSupportingPresence(DiscoveryManager.java:275)
        at 
de.fu_berlin.inf.dpp.ui.RosterView$ContactItem.getImage(RosterView.java:315)
        at 
de.fu_berlin.inf.dpp.ui.RosterView$ViewLabelProvider.getImage(RosterView.java:590)
        at 
org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getImage(DelegatingStyledCellLabelProvider.java:184)
        at 
org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:118)
        at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:934)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1014)
        at 
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:481)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
        at 
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2141)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2684)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1867)
        at 
org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1874)
        at 
org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1842)
        at 
org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1799)
        at 
org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1514)
        at 
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422)
        at 
org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
        at 
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383)
        at 
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1512)
        at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:548)
        at 
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1469)
        at de.fu_berlin.inf.dpp.ui.RosterView$4.run(RosterView.java:744)
        at de.fu_berlin.inf.dpp.util.Util$6.run(Util.java:418)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1383)


----------------------------------------------------------------------

Comment By: Karl Beecher (k_beecher)
Date: 2010-10-11 07:30

Message:
This was caused by the Roster asking the discovery manager for each
person's Saros-support. This code has been taken out.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=3078660&group_id=167540

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot

Reply via email to