Property Editor Problem [message #55429] |
Fri, 08 July 2005 16:55  |
Eclipse User |
|
|
|
Originally posted by: sumesh.bhagat.dwango.com
I am using eclipse 3.0.1 and I have EMF,GEF and BIRT in the plugins.
Whenever I try to open property editior , I get error.
The stack trace from .matadata/log ius pasted below.
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:2691)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.SWT.error(SWT.java:2587)
at org.eclipse.swt.widgets.Widget.error(Widget.java:546)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:296)
at org.eclipse.swt.widgets.Control.setVisible(Control.java:2595 )
at org.eclipse.swt.widgets.TabItem.releaseChild(TabItem.java:18 0)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:480)
at
org.eclipse.birt.report.designer.ui.views.attributes.Default PageGenerator.createTabItems(DefaultPageGenerator.java:43)
at
org.eclipse.birt.report.designer.ui.views.attributes.Categor yPageGenerator.createTabItems(CategoryPageGenerator.java:218 )
at
org.eclipse.birt.report.designer.ui.views.attributes.Atrribu tesBuilder.createPages(AtrributesBuilder.java:66)
at
org.eclipse.birt.report.designer.ui.views.attributes.Attribu teView.resetTabFolder(AttributeView.java:229)
at
org.eclipse.birt.report.designer.ui.views.attributes.Attribu teView.setFocus(AttributeView.java:209)
at
org.eclipse.ui.internal.WorkbenchPage$2.run(WorkbenchPage.ja va:471)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.WorkbenchPage.activatePart(Workbench Page.java:468)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:2722)
at
org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage .java:457)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:798)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:768)
at
org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage .java:753)
at
org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.j ava:3051)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3048)
at
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3028)
at
org.eclipse.ui.internal.ShowViewAction.run(ShowViewAction.ja va:51)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 053)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2871)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
at org.eclipse.jface.window.Window.open(Window.java:648)
at
org.eclipse.jface.dialogs.MessageDialog.openError(MessageDia log.java:295)
at
org.eclipse.jface.util.SafeRunnable.handleException(SafeRunn able.java:52)
at
org.eclipse.core.internal.runtime.InternalPlatform.handleExc eption(InternalPlatform.java:350)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:618)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(AbstractSelectionService.java:151)
at
org.eclipse.ui.internal.AbstractSelectionService.partActivat ed(AbstractSelectionService.java:242)
at
org.eclipse.ui.internal.WorkbenchPage.firePartActivated(Work benchPage.java:1372)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:2738)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:2415)
at
org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:304)
at
org.eclipse.ui.internal.EditorPane.requestActivation(EditorP ane.java:127)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:2 84)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1201)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:11 32)
at
org.eclipse.swt.widgets.Control.kEventMouseDown(Control.java :1412)
at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1026)
at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2463)
at
org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Na tive Method)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2523)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
at org.eclipse.jface.window.Window.open(Window.java:648)
at
org.eclipse.jface.dialogs.MessageDialog.openError(MessageDia log.java:295)
at
org.eclipse.jface.util.SafeRunnable.handleException(SafeRunn able.java:52)
at
org.eclipse.core.internal.runtime.InternalPlatform.handleExc eption(InternalPlatform.java:350)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:618)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(AbstractSelectionService.java:151)
at
org.eclipse.ui.internal.AbstractSelectionService.partActivat ed(AbstractSelectionService.java:242)
at
org.eclipse.ui.internal.WorkbenchPage.firePartActivated(Work benchPage.java:1372)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:2738)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:2415)
at
org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:304)
at
org.eclipse.ui.internal.EditorPane.requestActivation(EditorP ane.java:127)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:2 84)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1201)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:11 32)
at
org.eclipse.swt.widgets.Control.kEventMouseDown(Control.java :1412)
at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1026)
at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2463)
at
org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Na tive Method)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2523)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
|
|
|
Re: Property Editor Problem [message #55452 is a reply to message #55429] |
Fri, 08 July 2005 21:38  |
Eclipse User |
|
|
|
Originally posted by: dland.liveworld.com
Hi, Sumesh!
I'm having the same problem, and have just updated bug 100620
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=100620) with the details
of my installation as requested by one of the developers.
In short, this appears to be an open bug that folks like us might want
to keep our eyes on.
I tried running BIRT under 3.1.0 (with the requisite GEF and EMF
goodies), and the situation is not much better: the property view
appears, but the font pull-down is empty and an error is thrown. This
appears to be related to bug 87804, to which the reply appears to be
"BIRT doesn't run under 3.1 yet" (which at this early stage in BIRT's
development is not at all unreasonable to me).
I don't know how far you're willing to go to get around this, but I
sidestepped the fonts problem under 3.1.0 by hand-editing the XML of the
..rptdesign file.
I did it within eclipse by right-clicking the file and selecting "Open
With" > "Text Editor". I scrolled down to the <body> portion of my
report, found the cell that I wanted to style, and added some tags like
this one:
<property name="paddingLeft">8px</property>
By the way, I think I needed to go back and select "Open With" > "Report
Designer" afterwards, to keep .rptdesign files from always opening in
the text editor.
You might be able to pull off a similar trick to modify properties of
elements of your own report..
Good luck,
Dave
|
|
|
Powered by
FUDForum. Page generated in 0.03012 seconds