There is error with databinding editor.
I have composite with widgets (text, combo ...), and WizardPage within i embed this composite. Now i want to bind widgets from composite to the bean in wizardPage but i get error in binding editor:
- Code: Select all
eclipse.buildId=I20070625-1500
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Command-line arguments: -os win32 -ws win32 -arch x86
This is a continuation of log file P:\alma\projects\.metadata\.bak_0.log
Created Time: 2007-07-05 14:33:41.125
Error
Sat Jul 07 13:04:43 CEST 2007
Designer internal error [6.4.0.20070703190137]: null argument:
com.instantiations.designer.databinding.utils.check.AssertionFailedException: null argument:
at com.instantiations.designer.databinding.utils.check.Assert.fail(Assert.java:129)
at com.instantiations.designer.databinding.utils.check.Assert.isNotNull(Assert.java:114)
at com.instantiations.designer.databinding.utils.check.Assert.isNotNull(Assert.java:101)
at com.instantiations.designer.databinding.model.DataBindingContextInfo.getVariableDeclarationFragment(DataBindingContextInfo.java:54)
at com.instantiations.designer.databinding.edit.SimpleBindFirstPage.getWidgetObservable(SimpleBindFirstPage.java:401)
at com.instantiations.designer.databinding.edit.SimpleBindFirstPage.handleWizardComplete(SimpleBindFirstPage.java:328)
at com.instantiations.designer.databinding.edit.SimpleBindFirstPage.handleSelectionProperties(SimpleBindFirstPage.java:308)
at com.instantiations.designer.databinding.edit.SimpleBindFirstPage$1.selectionChanged(SimpleBindFirstPage.java:178)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1153)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1178)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at com.instantiations.designer.databinding.actions.PropertyActionsSupport$BindActionEditor.onButtonClick(PropertyActionsSupport.java:609)
at com.swtdesigner.model.properties.editors.AbstractButtonTextPropertyEditor.handleButtonClick(AbstractButtonTextPropertyEditor.java:118)
at com.swtdesigner.model.properties.editors.AbstractButtonTextPropertyEditor.access$3(AbstractButtonTextPropertyEditor.java:117)
at com.swtdesigner.model.properties.editors.AbstractButtonTextPropertyEditor$2.buttonClick(AbstractButtonTextPropertyEditor.java:35)
at com.swtdesigner.controls.ButtonText$3.widgetSelected(ButtonText.java:51)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
The widgets are exposed in composite by getter methods.
Any suggestion ??
greetting
Patryk