WindowBuilder internal error

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

WindowBuilder internal error

Postby kobeacai » Thu Feb 12, 2009 9:02 pm

I successfully installed the ercp designer,under RAD 7.5.
but when i Create a new class and change to design mode ,an error occured.

error message like this:

WindowBuilder internal error
WindowBuilder encountered unexpected internal error. Please contact support.
java.beans.IntrospectionException: Modifier for getter method should be public.
Show stack trace.
Hide stack trace.

Stack trace:
java.beans.IntrospectionException: Modifier for getter method should be public.
at java.beans.PropertyDescriptor.setReadMethod(Unknown Source)
at java.beans.PropertyDescriptor.<init>(Unknown Source)
at com.instantiations.designer.core.utils.reflect.ReflectionUtils.addPropertyDescriptor(Unknown Source)
at com.instantiations.designer.core.utils.reflect.ReflectionUtils.getPropertyDescriptors(Unknown Source)
at com.instantiations.designer.core.model.description.rules.StandardBeanPropertiesRule.begin(Unknown Source)
at org.apache.commons.digester.Digester.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Unknown Source)
at com.instantiations.designer.core.model.description.helpers.ComponentDescriptionHelper.getDescription0(Unknown Source)
at com.instantiations.designer.core.model.description.helpers.ComponentDescriptionHelper.getDescription(Unknown Source)
at com.instantiations.designer.core.model.JavaInfoUtils.createJavaInfo(Unknown Source)
at com.instantiations.designer.ercp.parser.ParseFactory.create(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor.endVisit(Unknown Source)
at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.Assignment.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.access$000(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(Unknown Source)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(Unknown Source)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.access$000(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser$1.run(Unknown Source)
at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.access$500(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage$5$1.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
at org.eclipse.ui.internal.UISynchronizer.syncExec(Unknown Source)
at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage$5.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown Source)
at org.eclipse.jface.operation.ModalContext.run(Unknown Source)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(Unknown Source)
at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.refreshGEF(Unknown Source)
at com.instantiations.designer.core.editor.actions.RefreshAction.run(Unknown Source)
at com.instantiations.designer.core.editor.actions.DesignPageAction.run(Unknown Source)
at com.instantiations.designer.core.editor.errors.ExceptionComposite$2.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
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.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)

Full context stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 0.
at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods0(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.access$000(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser$1.run(Unknown Source)
at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.parseRootMethods(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(Unknown Source)
at com.instantiations.designer.core.parser.JavaInfoParser.parse(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.access$500(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage$5$1.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
at org.eclipse.ui.internal.UISynchronizer.syncExec(Unknown Source)
at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage$5.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown Source)
at org.eclipse.jface.operation.ModalContext.run(Unknown Source)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(Unknown Source)
at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(Unknown Source)
at com.instantiations.designer.core.editor.DesignPage.refreshGEF(Unknown Source)
at com.instantiations.designer.core.editor.actions.RefreshAction.run(Unknown Source)
at com.instantiations.designer.core.editor.actions.DesignPageAction.run(Unknown Source)
at com.instantiations.designer.core.editor.errors.ExceptionComposite$2.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
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.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Caused by: com.instantiations.designer.core.utils.exception.DesignerException: 0.
at com.instantiations.designer.core.parser.JavaInfoParser$ExecutionFlowParseVisitor.endVisit(Unknown Source)
at org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.Assignment.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.access$000(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(Unknown Source)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(Unknown Source)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(Unknown Source)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(Unknown Source)
at org.eclipse.jdt.core.dom.ASTNode.accept(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(Unknown Source)
at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(Unknown Source)
... 49 more
Caused by: com.instantiations.designer.core.utils.exception.DesignerException: 502. org.eclipse.swt.widgets.Shell
at com.instantiations.designer.core.model.description.helpers.ComponentDescriptionHelper.getDescription0(Unknown Source)
at com.instantiations.designer.core.model.description.helpers.ComponentDescriptionHelper.getDescription(Unknown Source)
at com.instantiations.designer.core.model.JavaInfoUtils.createJavaInfo(Unknown Source)
at com.instantiations.designer.ercp.parser.ParseFactory.create(Unknown Source)
... 90 more
Caused by: java.beans.IntrospectionException: Modifier for getter method should be public.
at java.beans.PropertyDescriptor.setReadMethod(Unknown Source)
at java.beans.PropertyDescriptor.<init>(Unknown Source)
at com.instantiations.designer.core.utils.reflect.ReflectionUtils.addPropertyDescriptor(Unknown Source)
at com.instantiations.designer.core.utils.reflect.ReflectionUtils.getPropertyDescriptors(Unknown Source)
at com.instantiations.designer.core.model.description.rules.StandardBeanPropertiesRule.begin(Unknown Source)
at org.apache.commons.digester.Digester.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Unknown Source)
... 94 more
kobeacai
 
Posts: 1
Joined: Thu Feb 12, 2009 8:55 pm

Re: WindowBuilder internal error

Postby Eric Clayberg » Fri Feb 13, 2009 7:41 am

The exception you are seeing...

Code: Select all
java.beans.IntrospectionException: Modifier for getter method should be public.
    at java.beans.PropertyDescriptor.setReadMethod(Unknown Source)
    at java.beans.PropertyDescriptor.<init>(Unknown Source)

...is caused by a known bug/limitation in IBM Java.

I would suggest trying this with Eclipse running the standard Sun JVM. It should work fine there.
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 2 guests