Error occures after adding Swingx components

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

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

Error occures after adding Swingx components

Postby Tom » Thu Aug 27, 2009 3:23 am

Hi,

after importing Swingx components into the palette (out of the JAR file) I tried to add a simple JXTaskPane to a JPanel using the most recent build of Swing Designer v7.1.
Adding this component works fine until I reparse or reload the panel. Then the following error occures:

Code: Select all
WindowBuilder internal error

WindowBuilder encountered unexpected internal error. Please contact support.

java.lang.IllegalArgumentException: object is not an instance of declaring class



Show stack trace.
Hide stack trace.

Stack trace:
java.lang.IllegalArgumentException: object is not an instance of declaring class
   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.instantiations.designer.core.model.creation.ExposedPropertyCreationSupport$2.invoke(ExposedPropertyCreationSupport.java:104)
   at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.instantiations.designer.core.model.broadcast.BroadcastSupport$1.intercept(BroadcastSupport.java:196)
   at com.instantiations.designer.core.model.broadcast.JavaInfo_setObjectAfter$$EnhancerByCGLIB$$6cb5bd41.invoke(<generated>)
   at com.instantiations.designer.core.model.JavaInfo.setObject(JavaInfo.java:1279)
   at com.instantiations.designer.core.model.JavaInfoEvaluationHelper$3.evaluationSuccessful(JavaInfoEvaluationHelper.java:222)
   at com.instantiations.designer.core.eval.ASTEvaluationEngine.evaluate0(ASTEvaluationEngine.java:98)
   at com.instantiations.designer.core.eval.ASTEvaluationEngine.evaluate(ASTEvaluationEngine.java:42)
   at com.instantiations.designer.core.model.JavaInfoEvaluationHelper.evaluateExpression(JavaInfoEvaluationHelper.java:563)
   at com.instantiations.designer.core.model.JavaInfoEvaluationHelper.evaluate(JavaInfoEvaluationHelper.java:438)
   at com.instantiations.designer.core.model.JavaInfo$9.postVisit(JavaInfo.java:1184)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2483)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.Assignment.accept0(Assignment.java:312)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:144)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:338)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:286)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:214)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.access$100(ExecutionFlowUtils.java:76)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(ExecutionFlowUtils.java:323)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:245)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:144)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:292)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:286)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:214)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.access$100(ExecutionFlowUtils.java:76)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(ExecutionFlowUtils.java:323)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:245)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:144)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:292)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:214)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:193)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:162)
   at com.instantiations.designer.core.model.JavaInfo.refresh_create(JavaInfo.java:1230)
   at com.instantiations.designer.core.model.ObjectInfo.refreshCreate0(ObjectInfo.java:426)
   at com.instantiations.designer.core.model.ObjectInfo.access$000(ObjectInfo.java:24)
   at com.instantiations.designer.core.model.ObjectInfo$4.run(ObjectInfo.java:396)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:87)
   at com.instantiations.designer.core.model.ObjectInfo.refresh(ObjectInfo.java:394)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:443)
   at com.instantiations.designer.core.editor.DesignPage.access$800(DesignPage.java:57)
   at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:316)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
   at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:313)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:334)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:444)
   at com.instantiations.designer.core.editor.UndoManager$6.run(UndoManager.java:392)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   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(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Full context stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 0 (Wrapper).
   at com.instantiations.designer.core.model.JavaInfo$9.postVisit(JavaInfo.java:1192)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2483)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.Assignment.accept0(Assignment.java:312)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:144)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:338)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:286)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:214)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.access$100(ExecutionFlowUtils.java:76)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(ExecutionFlowUtils.java:323)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:245)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:144)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:292)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:286)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:214)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.access$100(ExecutionFlowUtils.java:76)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils$1.endVisit(ExecutionFlowUtils.java:323)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
   at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:245)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
   at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:144)
   at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:292)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement0(ExecutionFlowUtils.java:275)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visitStatement(ExecutionFlowUtils.java:256)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:214)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:193)
   at com.instantiations.designer.core.eval.ExecutionFlowUtils.visit(ExecutionFlowUtils.java:162)
   at com.instantiations.designer.core.model.JavaInfo.refresh_create(JavaInfo.java:1230)
   at com.instantiations.designer.core.model.ObjectInfo.refreshCreate0(ObjectInfo.java:426)
   at com.instantiations.designer.core.model.ObjectInfo.access$000(ObjectInfo.java:24)
   at com.instantiations.designer.core.model.ObjectInfo$4.run(ObjectInfo.java:396)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:87)
   at com.instantiations.designer.core.model.ObjectInfo.refresh(ObjectInfo.java:394)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:443)
   at com.instantiations.designer.core.editor.DesignPage.access$800(DesignPage.java:57)
   at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:316)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
   at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:313)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:334)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:444)
   at com.instantiations.designer.core.editor.UndoManager$6.run(UndoManager.java:392)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   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(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: com.instantiations.designer.core.utils.exception.DesignerException: 0 (Wrapper).
   at com.instantiations.designer.core.model.JavaInfoEvaluationHelper.evaluate(JavaInfoEvaluationHelper.java:495)
   at com.instantiations.designer.core.model.JavaInfo$9.postVisit(JavaInfo.java:1184)
   ... 95 more
Caused by: org.apache.commons.lang.exception.NestableError: new JXDatePicker()
   at com.instantiations.designer.core.eval.ASTEvaluationEngine.evaluate(ASTEvaluationEngine.java:52)
   at com.instantiations.designer.core.model.JavaInfoEvaluationHelper.evaluateExpression(JavaInfoEvaluationHelper.java:563)
   at com.instantiations.designer.core.model.JavaInfoEvaluationHelper.evaluate(JavaInfoEvaluationHelper.java:438)
   ... 96 more
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
   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.instantiations.designer.core.model.creation.ExposedPropertyCreationSupport$2.invoke(ExposedPropertyCreationSupport.java:104)
   at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.instantiations.designer.core.model.broadcast.BroadcastSupport$1.intercept(BroadcastSupport.java:196)
   at com.instantiations.designer.core.model.broadcast.JavaInfo_setObjectAfter$$EnhancerByCGLIB$$6cb5bd41.invoke(<generated>)
   at com.instantiations.designer.core.model.JavaInfo.setObject(JavaInfo.java:1279)
   at com.instantiations.designer.core.model.JavaInfoEvaluationHelper$3.evaluationSuccessful(JavaInfoEvaluationHelper.java:222)
   at com.instantiations.designer.core.eval.ASTEvaluationEngine.evaluate0(ASTEvaluationEngine.java:98)
   at com.instantiations.designer.core.eval.ASTEvaluationEngine.evaluate(ASTEvaluationEngine.java:42)
   ... 98 more



It is very important for me to use Swingx components with Swing Designer. Is there an opportunity to fix this problem?

Regards,
Thomas
Tom
 
Posts: 3
Joined: Thu Aug 06, 2009 4:21 am

Re: Error occures after adding Swingx components

Postby Eric Clayberg » Sat Aug 29, 2009 4:13 am

The SwingX components (both JXTaskPane and JXDatePicker) worked just fine on our end (see the screen shots below).

In order to help further, we need to see a complete test case and your complete Eclipse ".log" file.
Attachments
SwingX-2.png
SwingX-2.png (153.47 KiB) Viewed 461 times
SwingX-1.png
SwingX-1.png (167.65 KiB) Viewed 461 times
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: Error occures after adding Swingx components

Postby Tom » Mon Aug 31, 2009 5:05 am

Hello Eric,

please try to put the SwingX component (e.g. JXTaskPane) into a JPanel with JGoodies FormLayout layout manager. I guess the error depends on the layout manager.
I recently tried to reproduce the error but this time I got another one (see attachment).

Test case:

- Create new JFrame
- put a JPanel onto JFrame ContentPane
- select JGoodies Form Layout as layout manager
- put a new JPanel into it (left upper cell)
--> com.instantiations.designer.core.utils.check.AssertionFailedException: null argument:
Attachments
.log
Eclipse error log
(23.55 KiB) Downloaded 44 times
Tom
 
Posts: 3
Joined: Thu Aug 06, 2009 4:21 am

Re: Error occures after adding Swingx components

Postby Eric Clayberg » Sat Sep 05, 2009 1:07 pm

We were not able to reproduce any problems using JGoodies FormLayout with or without using the SwingX components.

What exact version of JGFL are you using in your project? Maybe you are using a different version than we expect.

If you create a brand new project, are you able to recreate the problem? if so, please ZIP up the entire project and send it to us.
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 Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest