- Code: Select all
Designer error occurred.
Reason:
Parse error or internal Designer error. See "Details" section.
Closing the error dialog reveals this message:
- Code: Select all
Designer was unable to find any GUI elements in your source.
Check that the open compilation unit is a GUI class.
Here's the stack trace from the "Details" section:
- Code: Select all
Stack Trace:
java.lang.IllegalArgumentException: Unable to find TypeDeclaration for com.google.gwt.user.client.ui.HTMLTable$CellFormatter in
/*
* Copyright 2007 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.gwt.user.client.ui;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant;
import com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* HTMLTable contains the common table algorithms for
* {@link com.google.gwt.user.client.ui.Grid} and
* {@link com.google.gwt.user.client.ui.FlexTable}.
* <p>
* <img class='gallery' src='Table.png'/>
* </p>
*/
public abstract class HTMLTable extends Panel implements SourcesTableEvents {
/**
* This class contains methods used to format a table's cells.
*/
public class CellFormatter {
/**
* Adds a style to the specified cell.
*
* @param row the cell's row
* @param column the cell's column
* @param styleName the style name to be added
* @see UIObject#addStyleName(String)
*/
public void addStyleName(int row, int column, String styleName) {
prepareCell(row, column);
Element td = getCellElement(bodyElem, row, column);
UIObject.setStyleName(td, styleName, true);
}
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.getTypeDeclaration(GWTCompileVisitor.java:455)
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.getMethod(GWTCompileVisitor.java:464)
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.visitMethod(GWTCompileVisitor.java:89)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.swtdesigner.gwt.loader.compiler.GWTClassCompiler.rewriteClass(GWTClassCompiler.java:29)
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:104)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.getMethod0(Class.java:2642)
at java.lang.Class.getMethod(Class.java:1579)
at com.swtdesigner.gwt.model.widgets.support.GWTState.initClassesAndMethods(GWTState.java:565)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:135)
at com.swtdesigner.gwt.support.browser.saf.GWTStateSaf.<init>(GWTStateSaf.java:30)
at com.swtdesigner.gwt.support.browser.saf.BrowserSupportFactory.createState(BrowserSupportFactory.java:15)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1468)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:397)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:184)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:66)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:52)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:35)
at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:23)
at com.swtdesigner.gwt.model.widgets.panel.AbsolutePanelInfo.<init>(AbsolutePanelInfo.java:36)
at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.<init>(RootPanelInfo.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:152)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:113)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:96)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:89)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3770)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1887)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:246)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:224)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:272)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:501)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3007)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:466)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:213)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:320)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1141)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1073)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1067)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1060)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:426)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:196)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
at org.eclipse.swt.widgets.Control.sendTrackEvents(Control.java:2734)
at org.eclipse.swt.widgets.Control.actionProc(Control.java:115)
at org.eclipse.swt.widgets.Display.actionProc(Display.java:355)
at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method)
at org.eclipse.swt.widgets.Widget.kEventControlTrack(Widget.java:1062)
at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:1950)
at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:367)
at org.eclipse.swt.widgets.Display.controlProc(Display.java:835)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2938)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Full stack trace (to see full context):
org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3781)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1887)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:246)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)
at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:224)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:272)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2523)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:501)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3007)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:466)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:213)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:320)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1141)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1073)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1067)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1060)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:426)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:196)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
at org.eclipse.swt.widgets.Control.sendTrackEvents(Control.java:2734)
at org.eclipse.swt.widgets.Control.actionProc(Control.java:115)
at org.eclipse.swt.widgets.Display.actionProc(Display.java:355)
at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method)
at org.eclipse.swt.widgets.Widget.kEventControlTrack(Widget.java:1062)
at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:1950)
at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:367)
at org.eclipse.swt.widgets.Display.controlProc(Display.java:835)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2938)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:119)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:96)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:89)
at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3770)
... 74 more
Caused by: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:160)
at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:113)
... 77 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:152)
... 78 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.user.client.ui.HTMLTable$CellFormatter
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:186)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:66)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:52)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:35)
at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:23)
at com.swtdesigner.gwt.model.widgets.panel.AbsolutePanelInfo.<init>(AbsolutePanelInfo.java:36)
at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.<init>(RootPanelInfo.java:23)
... 83 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.user.client.ui.HTMLTable$CellFormatter
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:404)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:184)
... 90 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.user.client.ui.HTMLTable$CellFormatter
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:141)
at com.swtdesigner.gwt.support.browser.saf.GWTStateSaf.<init>(GWTStateSaf.java:30)
at com.swtdesigner.gwt.support.browser.saf.BrowserSupportFactory.createState(BrowserSupportFactory.java:15)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1468)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:397)
... 91 more
Caused by: org.apache.commons.lang.exception.NestableError: Exception during loading of class com.google.gwt.user.client.ui.HTMLTable$CellFormatter
at com.swtdesigner.gwt.loader.GWTClassLoader.findClass(GWTClassLoader.java:145)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.getMethod0(Class.java:2642)
at java.lang.Class.getMethod(Class.java:1579)
at com.swtdesigner.gwt.model.widgets.support.GWTState.initClassesAndMethods(GWTState.java:565)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:135)
... 95 more
Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: java.lang.IllegalArgumentException: Unable to find TypeDeclaration for com.google.gwt.user.client.ui.HTMLTable$CellFormatter in...
// -- SEVERAL HUNDRED MORE LINES OF CODE REMOVED FOR BREVITY --
/**
* Gets the Widget associated with the given cell.
*
* @param row the cell's row
* @param column the cell's column
* @return the widget
*/
private Widget getWidgetImpl(int row, int column) {
Element e = cellFormatter.getRawElement(row, column);
Element child = DOM.getFirstChild(e);
if (child == null) {
return null;
} else {
return widgetMap.getWidget(child);
}
}
}
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.getTypeDeclaration(GWTCompileVisitor.java:455)
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.getMethod(GWTCompileVisitor.java:464)
at com.swtdesigner.gwt.loader.compiler.GWTCompileVisitor.visitMethod(GWTCompileVisitor.java:89)
... 108 more
Here are the version details.
- Code: Select all
Designer Configuration Details:
Product: GWT Designer Subscription
Version: 3.0.1.200802081526 [200802081526]
Expected: Eclipse 3.3
Actual: Eclipse 3.3.100.v20070530
Actual Eclipse Build Name:
Actual Eclipse Build ID: M20071023-1652
IDE Actual Name: Eclipse
IDE Actual Version: 3.3.2.R33x_v20071022
IDE Actual NL: en_US
Serial Number: --REDACTED--
Activation Key: --REDACTED--
Physical Address: 00-1C-42-00-00-00, HardwareAddress[00-17-F2-FF-FE-7D-64-0E], HardwareAddress[00-17-F2-E6-8A-2D]
Code Gen: Flat Mode, Use Existing, First Assignment, Make Final
Events: Anonymous Class
GWT Home: /Users/luis/Development/Java/libs/gwt-mac-1.4.61
Platform Product: Eclipse
Platform Version: 3.3.2.R33x_v20071022
OS Name: Mac OS X
OS Architecture: i386
OS Version: 10.5.1
I tried everything in the FAQ including installing on a fresh Eclipse install (I even tried a build of 3.3.2). I'm going to try installing on a different Mac and see what happens.