Error using "makeColumnWidthEqual" in Inspector

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

Error using "makeColumnWidthEqual" in Inspector

Postby Wuntang » Wed Feb 11, 2004 3:01 pm

When trying to edit properties for a GridLayout, I get the following error at tempting to change the "makeColumnWidthEqual" property!ENTRY org.eclipse.ui 4 4 Feb 11, 2004 14:49:45.445
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Feb 11, 2004 14:49:45.475
!MESSAGE java/lang/Boolean.toString(Z)Ljava/lang/String;
!STACK 0
java.lang.NoSuchMethodError: java/lang/Boolean.toString(Z)Ljava/lang/String;
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NoSuchMethodError.<init>(NoSuchMethodError.java:56)
at com.swtdesigner.model.JavaInfo.changeAssignment(SourceFile:2703)
at com.swtdesigner.model.properties.BooleanFieldProperty.setValue(SourceFile:35)
at com.swtdesigner.properties.editors.BooleanPropertyEditor.setPropertyValue(SourceFile:25)
at com.swtdesigner.properties.editors.AbstractComboPropertyEditor.setPropertyValue(SourceFile:122)
at com.swtdesigner.properties.editors.AbstractComboPropertyEditor.handleEnter(SourceFile:111)
at com.swtdesigner.properties.editors.AbstractComboPropertyEditor$1.widgetSelected(SourceFile:34)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java)
at com.swtdesigner.controls.CCombo.listEvent(SourceFile:778)
at com.swtdesigner.controls.h.handleEvent(SourceFile:113)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:207)
at java.lang.reflect.Method.invoke(Method.java:271)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Wuntang
 
Posts: 3
Joined: Wed Feb 11, 2004 2:55 pm

Re: Error using "makeColumnWidthEqual" in Inspecto

Postby Eric Clayberg » Wed Feb 11, 2004 3:46 pm

Wuntang wrote:When trying to edit properties for a GridLayout, I get the following error at tempting to change the "makeColumnWidthEqual" property!ENTRY org.eclipse.ui 4 4 Feb 11, 2004 14:49:45.445
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Feb 11, 2004 14:49:45.475
!MESSAGE java/lang/Boolean.toString(Z)Ljava/lang/String;
!STACK 0
java.lang.NoSuchMethodError: java/lang/Boolean.toString(Z)Ljava/lang/String;
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NoSuchMethodError.<init>(NoSuchMethodError.java:56)
at com.swtdesigner.model.JavaInfo.changeAssignment(SourceFile:2703)
at com.swtdesigner.model.properties.BooleanFieldProperty.setValue(SourceFile:35)

This appears to be a JDK-level problem. The code is calling a JDK 1.4 method and I am assuming you are using JDK 1.3. We will recode it to avoid the JDK 1.4 API. In the meantime, switching to JDK 1.4 would solve your problem.
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: No registered users and 1 guest