RapidClipse UI设计器错误

时间:2016-10-18 11:11:21

标签: eclipse vaadin rapidclipse

我是RapidClipse IDE的新手,因为我的组织要求我用它研究和开发。在安装了2.3.1版本的Windows版本之后,我创建了一个项目,但UI设计器显示错误,并且窗口小部件调色板没有显示任何内容。您可以在下面找到完整的堆栈跟踪:

java.lang.NullPointerException
    at xdev.eclipse.internal.vaadin.model.DefaultBeanInfo.getDefaultValue(DefaultBeanInfo.java:676)
    at xdev.eclipse.internal.vaadin.model.Bean.getValueImpl(Bean.java:855) 
    at xdev.eclipse.internal.vaadin.model.Bean.getValue(Bean.java:829) 
    at xdev.eclipse.internal.vaadin.model.Bean.getConstraints(Bean.java:737)
    at xdev.eclipse.internal.vaadin.ui.editor.VaadinDesigner.adjustRootSizeImpl(VaadinDesigner.java:1725)
    at xdev.eclipse.internal.vaadin.ui.editor.VaadinDesigner.lambda$17(VaadinDesigner.java:1697)
    at xdev.eclipse.internal.vaadin.ui.editor.VaadinDesigner.adjustRootSize(VaadinDesigner.java:1708)
    at xdev.eclipse.internal.vaadin.ui.editor.VaadinDesigner.createUI(VaadinDesigner.java:824) 
    at xdev.eclipse.internal.vaadin.ui.editor.VaadinDesigner.loadContents_createUI(VaadinDesigner.java:764)
    at xdev.eclipse.internal.vaadin.ui.editor.VaadinDesigner.lambda$9(VaadinDesigner.java:701) 
    at xdev.eclipse.internal.core.ui.editor.multi.SwingDesignPart.invokeUIActionImpl(SwingDesignPart.java:80)
    at xdev.eclipse.internal.core.ui.editor.multi.SwingDesignPart.lambda$0(SwingDesignPart.java:69)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)j
    at ava.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at xdev.eclipse.internal.core.ui.swing.XdevEventQueue.dispatchEvent(XdevEventQueue.java:138)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(UnknownSource)
    at java.awt.EventDispatchThread.run(Unknown Source)

1 个答案:

答案 0 :(得分:0)

我能够解决这个问题。它可能是来自RapidClipse开发人员的错误。这就是我所做的:

创建项目时,用于显示设计器和调色板的UI库不会下载,因此您必须下载以下内容:

  1. XDEV服务器-AA
  2. XDEV服务器的UI
  3. 从maven存储库

    将它们包含在您的库路径中。然后右键单击项目选择maven并更新项目。重新启动RapidClipse IDE