[GWT hosted] Exception in thread "main" org.eclipse.swt.SWTError: No more handles [GWT hosted] at org.eclipse.swt.SWT.error(SWT.java:3400) [GWT hosted] at org.eclipse.swt.SWT.error(SWT.java:3297) [GWT hosted] at org.eclipse.swt.SWT.error(SWT.java:3268) [GWT hosted] at org.eclipse.swt.widgets.Widget.error(Widget.java:435) [GWT hosted] at org.eclipse.swt.widgets.Control.createHandle(Control.java:508) [GWT hosted] at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:235) [GWT hosted] at org.eclipse.swt.widgets.ToolBar.createHandle(ToolBar.java:252) [GWT hosted] at org.eclipse.swt.widgets.Control.createWidget(Control.java:523) [GWT hosted] at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:131) [GWT hosted] at org.eclipse.swt.widgets.ToolBar.createWidget(ToolBar.java:352) [GWT hosted] at org.eclipse.swt.widgets.Control.-- google groups Solution: - Close doen eclipse and any other applications. - Navigate to your project application and start it from there. - This problem occurs due to lack of handles on your platform. Therefore closing eclipse which take about 520 mb of memory would free up some of the memory on your machine.(Control.java:98) [GWT hosted] at org.eclipse.swt.widgets.Scrollable. (Scrollable.java:72) [GWT hosted] at org.eclipse.swt.widgets.Composite. (Composite.java:93) [GWT hosted] at org.eclipse.swt.widgets.ToolBar. (ToolBar.java:98) [GWT hosted] at com.google.gwt.dev.shell.HeaderBarBase. (HeaderBarBase.java:62) [GWT hosted] at com.google.gwt.dev.shell.ShellMainWindow$Toolbar. (ShellMainWindow.java:56) [GWT hosted] [Loaded java.util.AbstractList$Itr from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] [Loaded java.util.IdentityHashMap$KeySet from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] [Loaded java.util.IdentityHashMap$IdentityHashMapIterator from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] [Loaded java.util.IdentityHashMap$KeyIterator from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] [Loaded java.io.DeleteOnExitHook from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] [Loaded java.util.LinkedHashSet from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] [Loaded java.util.LinkedHashMap$LinkedHashIterator from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] [Loaded java.util.LinkedHashMap$KeyIterator from C:\opt\Java\jdk1.6.0_02\jre\lib\rt.jar] [GWT hosted] at com.google.gwt.dev.shell.ShellMainWindow. (ShellMainWindow.java:191) [GWT hosted] at com.google.gwt.dev.GWTShell.openAppWindow(GWTShell.java:802) [GWT hosted] at com.google.gwt.dev.GWTShell.startUp(GWTShell.java:729) [GWT hosted] at com.google.gwt.dev.GWTShell.run(GWTShell.java:539) [GWT hosted] at com.google.gwt.dev.GWTShell.main(GWTShell.java:321) [GWT hosted] Java Result: 1
This notebook is a collection of code snippets and technical "how to" instructions.
Search This Blog
GWT Hosted : Look Ma, no handles
by: Zainab Aziz
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment