0

我是 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)
4

1 回答 1

0

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

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

  1. xdev-服务器-aa
  2. xdev-服务器-ui

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

于 2016-10-19T13:50:35.810 回答