Design crash - OSX/Eclipse 3.4/ GWT 2.1

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

Design crash - OSX/Eclipse 3.4/ GWT 2.1

Postby ahc » Wed Jan 12, 2011 3:40 pm

Have the same problem as the post(Designer crash - Win XP SP 3 / Eclipse 3.6 / GWT 2.1)
when I tried to click to Design, Eclipse crashed.
Testcase:
RootPanel rootPanel = RootPanel.get();

DeckPanel deckPanel = new DeckPanel();
rootPanel.add(deckPanel, 10, 34);
deckPanel.setSize("529px", "338px");

TabLayoutPanel tabLayoutPanel = new TabLayoutPanel(1.5, Unit.EM);
tabLayoutPanel.setTitle("tablayoutpanel");

VerticalPanel verticalPanel = new VerticalPanel();
verticalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
tabLayoutPanel.add(verticalPanel, "tablayoutpanel", false);
verticalPanel.setSize("508px", "299px");

HorizontalPanel horizontalPanel = new HorizontalPanel();
verticalPanel.add(horizontalPanel);
horizontalPanel.setSize("472px", "25px");

Labe nameInput = new Label("labelName");
horizontalPanel.add(namInput);

HorizontalPanel horizontalPanel_4 = new HorizontalPanel();
verticalPanel.add(horizontalPanel_4);
horizontalPanel_4.setSize("473px", "37px");

final TextBox textBox_1 = new TextBox();
horizontalPanel_4.add(textBox_1);
textBox_1.setWidth("246px");

final ListBox listBox_1 = new ListBox();
listBox_1.addItem("item 1");
listBox_1.addItem("item 2");
listBox_1.addItem("item 3");
horizontalPanel_4.add(listBox_1);
listBox_1.setWidth("182px");
listBox_1.setVisibleItemCount(1);
listBox_1.setItemSelected(0, selected);


Tried to remove and recreate ListBox, the Design work until crash again.


In the .log, got this message
--------------------------------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.5.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -keyring /Users//.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws carbon -arch x86 -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java -keyring /Users//.eclipse_keyring -consoleLog -showlocation

!ENTRY org.eclipse.core.resources 2 10035 2011-01-12 13:41:45.306
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.


Below Problem Report for Eclipse
==========================
Identifier: org.eclipse.eclipse
Version: 3.4 (3.4)
Code Type: X86 (Native)
Parent Process: launchd [2489]

Interval Since Last Report: 12404216 sec
Crashes Since Last Report: 176
Per-App Interval Since Last Report: 7215011 sec
Per-App Crashes Since Last Report: 67

Date/Time: 2011-01-12 13:46:11.636 -0800
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: 8CCD8B8F-DFD5-47DD-AD43-19742B50975E

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000014
Crashed Thread: 0

Application Specific Information:

Java information:
Version: Java HotSpot(TM) Client VM (1.5.0_26-156 mixed mode)
Virtual Machine version: Java HotSpot(TM) Client VM (1.5.0_26-156) for macosx-x86, built on Oct 18 2010 11:25:10 by root with gcc 4.0.1 (Apple Inc. build 5465)
Exception type: Bus Error (0xa) at pc=0x90c3d0d0

Current thread (0x11a014b0): JavaThread "main" [_thread_in_native, id=-1609312480]
Stack: [0xbf800000,0xc0000000)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.instantiations.designer.gwt.webkit.BrowserShellWebKitImplMacCarbon._makeShot(Ljava/lang/Integer;)Ljava/lang/Integer;+0
j com.instantiations.designer.gwt.webkit.BrowserShellWebKitImplMacCarbon.makeShot()Lorg/eclipse/swt/graphics/Image;+16
j com.instantiations.designer.gwt.webkit.BrowserShellWebKit.createBrowserScreenshot()Lorg/eclipse/swt/graphics/Image;+4
j com.instantiations.designer.gwt.model.widgets.support.GWTState.createBrowserScreenshot()Lorg/eclipse/swt/graphics/Image;+12
j com.instantiations.designer.gwt.model.widgets.UIObject_Info.fetchImage(Ljava/lang/Object;)V+4
j com.instantiations.designer.gwt.model.widgets.UIObject_Info.refresh_fetch()V+57
j com.instantiations.designer.core.model.ObjectInfo$5$1.run()V+17
j com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(Lcom/instantiations/designer/core/utils/execution/RunnableEx;)V+9
j com.instantiations.designer.core.model.ObjectInfo$5.run()V+8
j com.instantiations.designer.core.model.ObjectInfo.doRefresh(Lcom/instantiations/designer/core/utils/execution/RunnableEx;)V+1
j com.instantiations.designer.core.model.ObjectInfo.refresh()V+25
j com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(Lorg/eclipse/core/runtime/IProgressMonitor;)V+121
j com.instantiations.designer.core.editor.DesignPage.access$10(Lcom/instantiations/designer/core/editor/DesignPage;Lorg/eclipse/core/runtime/IProgressMonitor;)V+2
j com.instantiations.designer.core.editor.DesignPage$7$1.run()V+11
j org.eclipse.swt.widgets.Synchronizer.syncExec(Ljava/lang/Runnable;)V+121
j org.eclipse.ui.internal.UISynchronizer.syncExec(Ljava/lang/Runnable;)V+91
j org.eclipse.swt.widgets.Display.syncExec(Ljava/lang/Runnable;)V+64
j com.instantiations.designer.core.editor.DesignPage$7.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V+27
j org.eclipse.jface.operation.ModalContext.runInCurrentThread(Lorg/eclipse/jface/operation/IRunnableWithProgress;Lorg/eclipse/core/runtime/IProgressMonitor;)V+6
j org.eclipse.jface.operation.ModalContext.run(Lorg/eclipse/jface/operation/IRunnableWithProgress;ZLorg/eclipse/core/runtime/IProgressMonitor;Lorg/eclipse/swt/widgets/Display;)V+48
j org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ZZLorg/eclipse/jface/operation/IRunnableWithProgress;)V+30
j com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress()V+27
j com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF()Z+24
j com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor()V+12
j com.instantiations.designer.core.editor.UndoManager.activate()V+32
j com.instantiations.designer.core.editor.DesignPage.handleActiveState_True()V+30
j com.instantiations.designer.core.editor.DesignPage.handleActiveState(Z)V+10
j com.instantiations.designer.core.editor.multi.DefaultMultiMode.showPage(Lcom/instantiations/designer/core/editor/IDesignPage;)V+91
j com.instantiations.designer.core.editor.multi.DefaultMultiMode$1.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+14
J org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V
J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
J org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V
J org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;)V
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j org.eclipse.swt.widgets.Widget.notifyListeners(ILorg/eclipse/swt/widgets/Event;)V+19
j org.eclipse.swt.custom.CTabFolder.setSelection(IZ)V+57
j org.eclipse.swt.custom.CTabFolder.onMouse(Lorg/eclipse/swt/widgets/Event;)V+755
J org.eclipse.swt.custom.CTabFolder$1.handleEvent(Lorg/eclipse/swt/widgets/Event;)V
J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
J org.eclipse.swt.widgets.Widget.sendEvent(ILorg/eclipse/swt/widgets/Event;Z)V
J org.eclipse.swt.widgets.Display.runDeferredEvents()Z
j org.eclipse.swt.widgets.Control.sendTrackEvents()V+6
j org.eclipse.swt.widgets.Control.actionProc(II)I+23
j org.eclipse.swt.widgets.Display.actionProc(II)I+13
v ~StubRoutines::call_stub
j org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(II)I+0
j org.eclipse.swt.widgets.Widget.kEventControlTrack(III)I+30
j org.eclipse.swt.widgets.Control.kEventControlTrack(III)I+120
J org.eclipse.swt.widgets.Widget.controlProc(III)I
J org.eclipse.swt.widgets.Display.controlProc(III)I
v ~RuntimeStub::alignment_frame_return Runtime1 stub
v ~StubRoutines::call_stub
j org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(II)I+0
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+52
j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9
j org.eclipse.ui.internal.Workbench.runUI()I+393
j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j org.eclipse.ui.internal.Workbench$5.run()V+23
j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+84
j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+114
j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
ahc
 
Posts: 1
Joined: Wed Jan 12, 2011 3:07 pm

Re: Design crash - OSX/Eclipse 3.4/ GWT 2.1

Postby Eric Clayberg » Thu Jan 13, 2011 2:40 pm

ahc wrote:Have the same problem as the post(Designer crash - Win XP SP 3 / Eclipse 3.6 / GWT 2.1)

Since you are using OSX, it is very unlikely that you have the same problem.

Based on your configuration, I would strongly suggest updating to the Cocoa version of Eclipse 3.6. The Carbon version of Eclipse 3.4 is not very stable in general. I would also suggest running Eclipse with a newer JVM.
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 2 guests

cron