Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341452 - SWT Controls not displayed in the composite.
Summary: SWT Controls not displayed in the composite.
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 04:29 EDT by Sornam CLA
Modified: 2011-04-15 01:00 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sornam CLA 2011-03-31 04:29:11 EDT
Build Identifier: Build id: 20100617-1415

Our application was developed with Eclipse 3.3 and now when we try to use the same plugin project in Helios it is not working out. Java Version is 1.6

!ENTRY org.eclipse.jface 2 0 2011-03-31 13:55:27.007
!MESSAGE Ignored reentrant call while viewer is busy. This is only logged once per viewer instance, but similar calls will still be ignored.
!STACK 0
java.lang.RuntimeException
	at org.eclipse.jface.viewers.ColumnViewer.checkBusy(ColumnViewer.java:763)
	at org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:552)
	at com.ballydev.sds.framework.composite.PluginBrowserComposite.performExpandAction(PluginBrowserComposite.java:308)
	at com.ballydev.sds.framework.composite.PluginBrowserComposite.access$3(PluginBrowserComposite.java:303)
	at com.ballydev.sds.framework.composite.PluginBrowserComposite$3.treeExpanded(PluginBrowserComposite.java:222)
	at org.eclipse.jface.viewers.AbstractTreeViewer$3.run(AbstractTreeViewer.java:1103)
	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.fireTreeExpanded(AbstractTreeViewer.java:1101)
	at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1446)
	at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:952)
	at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1455)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7408)
	at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5096)
	at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1887)
	at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4726)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4215)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2362)
	at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1536)
	at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6303)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4195)
	at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5844)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	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 com.ballydev.sds.framework.SDSApplication.run(SDSApplication.java:132)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
	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(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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)

!ENTRY org.eclipse.core.jobs 4 2 2011-03-31 13:55:29.289
!MESSAGE An internal error occurred during: "REVAMP SERVICE".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)


Reproducible: Always
Comment 1 Curtis Windatt CLA 2011-03-31 09:45:13 EDT
Moving to JFace for comment.  I suspect there is an issue in your plug-in.
Comment 2 Thomas Schindl CLA 2011-03-31 12:33:46 EDT
From the stack you provide it looks like you are making reentrant calls to your viewer which is some thing we had to protect ourselves. Please not that the viewer is NOT really throwing this exception but it is used only to log informations to findout the reason for it!

You are trying to update the viewer while expanding TreeItems. What you can do to make this work is to add a Display#asyncExec() in PluginBrowserComposite.performExpandAction which delays the update call until the expansion is finished.
Comment 3 Prakash Rangaraj CLA 2011-04-15 01:00:25 EDT
As per comment #2, doesn't seem to be a bug. I'm closing this as invalid.