Deleting 'direction' of DockPanel child crashes Eclipse

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

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

Deleting 'direction' of DockPanel child crashes Eclipse

Postby ashouric » Tue Oct 17, 2006 7:26 pm

Dear all,

    1 - Create an empty Composite
    2 - Add a DockPanel
    3 - Add a Button to it (at CENTER)
    4 - Select button 'direction' property and press 'delete' key
    5 - Click on any other property of the button
    6 - Come again to 'direction' and try to change it, click Ctrol+s to save
    7 - repeat 4 - 6, Goodbye Eclipse
ashouric
 
Posts: 75
Joined: Sat Sep 30, 2006 9:13 pm

Re: Deleting 'direction' of DockPanel child crashes Eclipse

Postby Eric Clayberg » Tue Oct 17, 2006 7:52 pm

ashouric wrote:
    1 - Create an empty Composite
    2 - Add a DockPanel
    3 - Add a Button to it (at CENTER)
    4 - Select button 'direction' property and press 'delete' key
    5 - Click on any other property of the button
    6 - Come again to 'direction' and try to change it, click Ctrol+s to save
    7 - repeat 4 - 6, Goodbye Eclipse

I tried this several times (repeating steps 4 - 6 multiple times) and nothing happened.

Are there specific properties (in 5) or directions (in 6) that I need to select?

Which build are you using? What version of GWT?

Was a crash log generated (something like hs_err_pid3184.log)?
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: Deleting 'direction' of DockPanel child crashes Eclipse

Postby ashouric » Tue Oct 17, 2006 9:58 pm

Well, this error is very reproducible for me.

Eric Clayberg wrote:Are there specific properties (in 5) or directions (in 6) that I need to select?

Anything, e.g. "accessKeys', or any direction, they key point is: delete (by keyboard), go to another property (mouse), and save (keybaord).

Eric Clayberg wrote:Which build are you using? What version of GWT?

Latest of everything:
GWTDesigner 2006.10.17,
GWT 1.1.10,
Eclipse 3.2.1 M20060921-0945

Eric Clayberg wrote:Was a crash log generated (something like hs_err_pid3184.log)?

Nothing in workspace\.metadata, except the following inside .log:
Code: Select all
!ENTRY com.swtdesigner 4 4 2006-10-18 09:09:03.071
!MESSAGE Designer internal error [5.1.1.20061017141227]: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
!STACK 0
com.swtdesigner.properties.PropertyException: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
   at com.swtdesigner.gwt.model.widgets.panel.support.DockPanelSupport$DirectionProperty.setValue(DockPanelSupport.java:144)
   at com.swtdesigner.properties.editors.StringComboPropertyEditor.setPropertyValue(StringComboPropertyEditor.java:19)
   at com.swtdesigner.properties.editors.AbstractComboPropertyEditor.handleKeyDown(AbstractComboPropertyEditor.java:106)
   at com.swtdesigner.properties.editors.AbstractComboPropertyEditor$3.keyPressed(AbstractComboPropertyEditor.java:40)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:122)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709)
   at com.swtdesigner.controls.CCombo3.resendKeyEvent(CCombo3.java:320)
   at com.swtdesigner.controls.CCombo3.access$7(CCombo3.java:314)
   at com.swtdesigner.controls.CCombo3$2.handleEvent(CCombo3.java:142)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
   at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965)
   at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961)
   at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1560)
   at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:3567)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:3275)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
   at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
   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.core.launcher.Main.invokeFramework(Main.java:336)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
   at org.eclipse.core.launcher.Main.run(Main.java:977)
   at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
   at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:56)
   at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(JavaInfo.java:5656)
   at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(JavaInfo.java:5638)
   at com.swtdesigner.model.JavaInfo.unlockNotify(JavaInfo.java:5609)
   at com.swtdesigner.model.JavaInfo.endEdit(JavaInfo.java:804)
   at com.swtdesigner.gwt.model.widgets.panel.support.DockPanelSupport.setDirection(DockPanelSupport.java:271)
   at com.swtdesigner.gwt.model.widgets.panel.support.DockPanelSupport.access$1(DockPanelSupport.java:236)
   at com.swtdesigner.gwt.model.widgets.panel.support.DockPanelSupport$DirectionProperty.setValue(DockPanelSupport.java:142)
   ... 43 more
Caused by: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
   at com.swtdesigner.gwt.model.widgets.panel.ThisCompositeInfo.createGUIComponent(ThisCompositeInfo.java:169)
   at com.swtdesigner.model.JavaInfo$18.execute(JavaInfo.java:5661)
   at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
   ... 50 more
Caused by: java.lang.reflect.InvocationTargetException
   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 com.swtdesigner.gwt.model.widgets.support.GWTState.call_Panel_add(GWTState.java:627)
   at com.swtdesigner.gwt.model.widgets.panel.support.DockPanelSupport.dockWidget(DockPanelSupport.java:55)
   at com.swtdesigner.gwt.model.widgets.panel.support.DockPanelSupport.applyWidgetProperties(DockPanelSupport.java:37)
   at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.widget_applyProperties(AbstractContainerInfo.java:88)
   at com.swtdesigner.gwt.model.widgets.WidgetInfo.createWidget(WidgetInfo.java:104)
   at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.createChildrenWidgets(AbstractContainerInfo.java:184)
   at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.createWidget(AbstractContainerInfo.java:171)
   at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.createChildrenWidgets(AbstractContainerInfo.java:184)
   at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.createWidget(AbstractContainerInfo.java:171)
   at com.swtdesigner.gwt.model.widgets.panel.ThisCompositeInfo.createWidget(ThisCompositeInfo.java:173)
   at com.swtdesigner.gwt.model.widgets.panel.ThisCompositeInfo.createGUIComponent(ThisCompositeInfo.java:166)
   ... 52 more
Caused by: java.lang.UnsupportedOperationException: This panel does not support no-arg add()
   at com.google.gwt.user.client.ui.Panel.add(Panel.java:38)
   ... 67 more
ashouric
 
Posts: 75
Joined: Sat Sep 30, 2006 9:13 pm

Re: Deleting 'direction' of DockPanel child crashes Eclipse

Postby Eric Clayberg » Wed Oct 18, 2006 4:48 am

ashouric wrote:Well, this error is very reproducible for me.

Unfortunately, we still can't reproduce the crash.

Any time Eclipse crashes, it should produce a crash log at the root of your Eclipse directory. It should be something like something like hs_err_pid3184.log. Can you send that to us? I'm hoping that the crash log will provide some hints as to what is happening.

Also, what version of IE do you have installed? IE6 or IE7 (beta)?
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: Deleting 'direction' of DockPanel child crashes Eclipse

Postby ashouric » Wed Oct 18, 2006 5:16 am

Eric Clayberg wrote:Any time Eclipse crashes, it should produce a crash log at the root of your Eclipse directory. It should be something like something like hs_err_pid3184.log. Can you send that to us?


Actually, norhing in the root, because this might be different from hard crash, what happens is eclipse hangs, and its window goes white, after a while, Windows ask whether to close or not, on selecting yes, the crash window appears.

Eric Clayberg wrote:Also, what version of IE do you have installed? IE6 or IE7 (beta)?

IE: 6.0.2900.2180.xpsp_sp2_gdr.050301-1519

If it isn't be producible from your side , then it might be some special issue in mine.
ashouric
 
Posts: 75
Joined: Sat Sep 30, 2006 9:13 pm

Re: Deleting 'direction' of DockPanel child crashes Eclipse

Postby Eric Clayberg » Wed Oct 18, 2006 5:23 am

ashouric wrote:Actually, norhing in the root, because this might be different from hard crash, what happens is eclipse hangs, and its window goes white, after a while, Windows ask whether to close or not, on selecting yes, the crash window appears.

If you start Eclipse with the -debug -consolelog command line options and hit Ctrl+Break in the console when it locks up, what do you see (you can copy the text from the console)? It should show us where in Eclipse the system is locked up.
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: Deleting 'direction' of DockPanel child crashes Eclipse

Postby Eric Clayberg » Wed Oct 18, 2006 5:50 am

In the latest build, GWT Designer will no longer allow you to delete the direction property. Assuming that the crash you saw was directly related to this, that should no longer occur as well.
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 GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests