Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:2677)
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:381)
at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:222)
at org.eclipse.swt.widgets.Widget.<init>(Widget.java:111)
at org.eclipse.swt.widgets.Control.<init>(Control.java:89)
at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:72)
at org.eclipse.swt.widgets.Composite.<init>(Composite.java:86)
at org.eclipse.swt.widgets.ToolBar.<init>(ToolBar.java:98)
at com.swtdesigner.model.swt.widgets.control.complex.ToolBarInfo.createSingleControl(SourceFile:56)
at com.swtdesigner.model.swt.widgets.control.ControlInfo.createControl(SourceFile:368)
at com.swtdesigner.model.swt.widgets.composite.AbstractCompositeInfo.createControl(SourceFile:131)
at com.swtdesigner.model.swt.widgets.composite.AbstractCompositeInfo.createControl(SourceFile:128)
at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(SourceFile:4242)
at com.swtdesigner.model.swt.widgets.control.ControlInfo.notifyPropertyChanged(SourceFile:152)
at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(SourceFile:4228)
at com.swtdesigner.model.swt.widgets.control.ControlInfo.getShotImage(SourceFile:325)
at com.swtdesigner.gef.figure.swt.control.ControlImageFigure.paintFigure(SourceFile:55)
at org.eclipse.draw2d.Figure.paint(Figure.java:937)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:975)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1007)
at org.eclipse.draw2d.Figure.paint(Figure.java:939)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:975)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1007)
at org.eclipse.draw2d.Figure.paint(Figure.java:939)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:975)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1007)
at org.eclipse.draw2d.Figure.paint(Figure.java:939)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:975)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1007)
at org.eclipse.draw2d.ScalableFreeformLayeredPane.paintClientArea(ScalableFreeformLayeredPane.java:53)
at org.eclipse.draw2d.Figure.paint(Figure.java:939)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:975)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1007)
at org.eclipse.draw2d.Figure.paint(Figure.java:939)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:975)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1002)
at org.eclipse.draw2d.Viewport.paintClientArea(Viewport.java:154)
at org.eclipse.draw2d.Figure.paint(Figure.java:939)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:975)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1007)
at org.eclipse.draw2d.Figure.paint(Figure.java:939)
at org.eclipse.draw2d.DeferredUpdateManager.repairDamage(DeferredUpdateManager.java:194)
at org.eclipse.draw2d.DeferredUpdateManager.performUpdate(DeferredUpdateManager.java:134)
at org.eclipse.draw2d.DeferredUpdateManager$UpdateRequest.run(DeferredUpdateManager.java:57)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
Tiran Kenja wrote:I'm running latest SWT Designer 2.0.1 beta on Eclipse 3.0 release (with release GEF and EMF versions too) on Windows. And I can't seem to open any layouts with at least ToolBars.
Eric Clayberg wrote:This is completely unrelated (you are using Windows, not Linux).
Did you create these windows using Designer? We have lots of examples using ToolBars that work just fine, so I will need you to send your non-working example to support@swt-designer.com for analysis.
Tiran Kenja wrote:It sounds like the same kind of problem.
Tiran Kenja wrote:I created all of the GUI code with designer.
bs wrote:Has this version been tested on the above combination?
bs wrote:2. If I manually create an application window and get to the designer, I can see window elements, but selecting any from the tree pane in the left, gets you bad co-ordinates
bs wrote:3. The Actions pane cannot add Menu Items, Menu folders, nothing. On trying, I get "Internal Error: The requested operation could not be performed because of an internal error. Please see the error log for more information and report the problem, including the contents of the error log, to support@swt-designer.com. 4. No error logs to send, for I cannot find any file ending with *.log.
bs wrote:I create a JFace application window and try to add menu actions.
bs wrote:Ok,
I do not see a standard "version" file to cut and paste, but it is the latest (July 02).
Steps:
1. Create a new SWTDesigner/JFace application
2. This file is the code that gets generated
3. Open with Designer
4. Click on Design tab
5. Select Actions
6. Click on + sign to add an item
I blew everything off, and have installed eclipse/swt all afresh.
I thougt my trace would be of help...
bs wrote:It is stock. If there is a config file for it, I can paste it here.
bs wrote:As an aside, Eclipse 3.0 on my platform is equally cranky.
What is a recommended RAM config?
bs wrote:I still like the way SWT-Designer can parse any format
thrown at it
Users browsing this forum: No registered users and 1 guest