Hi
Whenever I attempt to use Designer on a class where UI components use any sort of reference to a class outside that one being designed, I get an error for each occurrence: "Unable to find *.class file for compilation unit <referenced class> Do you have autobuild enabled?"
I do have autobuild enabled, and I get no build or runtime errors except when using Designer.
The log shows errors like the one below:
David
Caused by: java.lang.NullPointerException
at com.swtdesigner.model.swt.rcp.PDEUtilities$6.visit(PDEUtilities.java:674)
at com.swtdesigner.model.swt.rcp.PDEUtilities.visitExtensions(PDEUtilities.java:734)
at com.swtdesigner.model.swt.rcp.PDEUtilities.getPerspectiveInfo(PDEUtilities.java:671)
at com.swtdesigner.model.swt.rcp.perspective.PerspectiveUtils.getPerspectiveIcon(PerspectiveUtils.java:359)
at com.swtdesigner.model.swt.rcp.perspective.shortcuts.perspective.PerspectiveShortcutInfo.getIcon(PerspectiveShortcutInfo.java:38)
at com.swtdesigner.model.swt.rcp.perspective.common.AbstractItemInfo.createItem(AbstractItemInfo.java:57)
at com.swtdesigner.model.swt.rcp.perspective.common.AbstractToolbarContainerInfo.createComposite(AbstractToolbarContainerInfo.java:66)
at com.swtdesigner.model.swt.rcp.perspective.shortcuts.AbstractShortcutsContainerInfo.createComposite(AbstractShortcutsContainerInfo.java:24)
at com.swtdesigner.model.swt.rcp.perspective.PerspectiveFactoryInfo.createPerspective(PerspectiveFactoryInfo.java:310)
at com.swtdesigner.model.swt.rcp.perspective.PerspectiveFactoryInfo.createGUIComponent(PerspectiveFactoryInfo.java:252)
at com.swtdesigner.model.JavaInfo$18.execute(JavaInfo.java:5612)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)