Designer error

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Designer error

Postby domfe » Tue Nov 09, 2010 6:42 am

Hi all.
I have the following error when opening/closing or simply passing the mouse, over the Layout property of a
widget.

Code: Select all
eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.rcp.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product


Error
Tue Nov 09 15:42:12 CET 2010
Designer [8.1.0.r36x201011080643]: null argument: com.instantiations.designer.core.databinding.model.SynchronizeManager isn't work (<FormLayout>)

com.instantiations.designer.core.utils.check.AssertionFailedException: null argument: com.instantiations.designer.core.databinding.model.SynchronizeManager isn't work (<FormLayout>)
   at com.instantiations.designer.core.utils.check.Assert.fail(Assert.java:198)
   at com.instantiations.designer.core.utils.check.Assert.isNotNull(Assert.java:151)
   at com.instantiations.designer.rcp.databinding.xwt.ui.property.BindingsProperty.createProperties(BindingsProperty.java:46)
   at com.instantiations.designer.core.databinding.ui.property.AbstractBindingsProperty.getProperties(AbstractBindingsProperty.java:51)
   at com.instantiations.designer.core.databinding.ui.property.AbstractBindingsProperty.isModified(AbstractBindingsProperty.java:70)
   at com.instantiations.designer.core.model.property.table.PropertyTable.drawProperty(PropertyTable.java:1139)
   at com.instantiations.designer.core.model.property.table.PropertyTable.drawContent(PropertyTable.java:1038)
   at com.instantiations.designer.core.model.property.table.PropertyTable.handlePaint(PropertyTable.java:989)
   at com.instantiations.designer.core.model.property.table.PropertyTable.access$6(PropertyTable.java:953)
   at com.instantiations.designer.core.model.property.table.PropertyTable$3.handleEvent(PropertyTable.java:145)
   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.Composite.WM_PAINT(Composite.java:1555)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:4216)
   at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
   at org.eclipse.swt.internal.win32.OS.RedrawWindow(Native Method)
   at org.eclipse.swt.widgets.Control.update(Control.java:4023)
   at org.eclipse.swt.widgets.Display.update(Display.java:4747)
   at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
   at org.eclipse.jface.window.Window.open(Window.java:801)
   at org.eclipse.ui.internal.views.log.EventDetailsDialog.open(EventDetailsDialog.java:176)
   at org.eclipse.ui.internal.views.log.EventDetailsDialogAction.run(EventDetailsDialogAction.java:98)
   at org.eclipse.ui.internal.views.log.LogView$15.doubleClick(LogView.java:536)
   at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
   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.fireDoubleClick(StructuredViewer.java:822)
   at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
   at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
   at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
   at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
   at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
   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.Display.runDeferredEvents(Display.java:4066)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
   at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
   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)



I'm missing some configuration?

Thank you.
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Designer error

Postby Eric Clayberg » Thu Nov 11, 2010 9:23 am

Give this a try using the latest 8.1 build...

http://code.google.com/javadevtools/dow ... -beta.html
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Designer error

Postby domfe » Wed Nov 24, 2010 1:51 am

I've upgraded. But the problem still persists.
I get the error when I open/close the Layout property or when I click on one sub-property of Layout.
No errors when I pass the mouse over.

thank you.
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Designer error

Postby Eric Clayberg » Wed Nov 24, 2010 8:32 am

We are unable to reproduce this.

It would be helpful to see a test case that will trigger this as well as the complete stack trace you are now seeing (best to submit this via the Contact Support button).
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Designer error

Postby domfe » Thu Dec 09, 2010 8:03 am

Hi.
I'm using the latest test build and the problem still persists.
I've got the error with RowLayout also.
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Designer error

Postby Eric Clayberg » Thu Dec 09, 2010 9:38 am

Still looking for a test case...
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Designer error

Postby domfe » Fri Dec 10, 2010 12:24 am

Code: Select all
    <Shell xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" x:Class="test.Example2" text="XWT Application">
       <Shell.layout>
          <RowLayout/>
       </Shell.layout>
       <Shell.layout>
       </Shell.layout>
       <Label text="New Label">
       </Label>
    </Shell>


Click on Shell widget.
Open/Close Layout property.
The error appear in the "Error Log" tab of Eclipse.

Hope this helps.
domfe
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Designer error

Postby Eric Clayberg » Sat Dec 11, 2010 10:43 am

We are unable to reproduce this.

BTW, your test case appears top be bad...there are two "Shell.layout" sections when there should only be one.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Designer error

Postby domfe » Mon Dec 13, 2010 2:28 am

Hi Eric,
sorry for the test case.

Code: Select all
<Shell xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" x:Class="test.Example1" text="XWT Application">
   <Shell.layout>
      <RowLayout/>
   </Shell.layout>
   <Button text="Double click me!"/>
</Shell>


I've done a fresh install of Eclipse and the problem still persists.
Here the steps I've taken.

1. Download Eclipse IDE for Java Developer Windows 32 bit (version 3.6.1)
eclipse-java-helios-SR1-win32.zip
2. Download e4 Project version 0.11M3
eclipse-e4-repo-incubation-0.11M3.zip
3. Install (unzip eclipse)
4. Launch eclipse, install new software, install eclipse-e4-repo-incubation-0.11M3.zip (check all)
5. Restart
6. Add WBP beta repository and check all
7. Restart
8. Add WBP latest repository and check SWT Designer XWT Support
9. Restart
10. New project - SWT/Jface Java project - name mytest
11. New XWT Application - package test - name Example1
12. In the design view click on Shell widget and open the Layout property, error appears

Hope that helps.
Domfe
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Designer error

Postby Eric Clayberg » Tue Dec 14, 2010 3:42 pm

I still don't know. Your example works fine on on our end.

Give this a try using the latest build and see if it makes any difference...

http://code.google.com/javadevtools/dow ... -beta.html
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Designer error

Postby domfe » Wed Dec 15, 2010 2:23 am

The latest build seems to work. Error disappeared.

Thank Eric!
domfe
 
Posts: 46
Joined: Mon Oct 04, 2010 6:42 am

Re: Designer error

Postby Eric Clayberg » Wed Dec 15, 2010 12:47 pm

That is good news.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron