0 Replies Latest reply on Feb 10, 2009 11:35 AM by rveldpau

    Workbench doesn't recognize custom component's data type

    rveldpau
      Hi,<br />  I've created a custom component and everything works fine, however, when trying to use it inside of Workbench I recieve a "Failed to load/render Property Editor." <br /><br />In the component.xml I have created a composite-editor, and specified the data types<br /><br /><composite-editor id="cdv.material.Material"><br /><composite-type>cdv.material.Material</composite-type><br /><attributes><br />     ...<br /></attributes><br /></composite-editor><br />     </editors><br /><data-types><br />          <data-type id="cdv.material.Material" java-class="cdv.material.Material" standard="true"/><br />          </data-types><br /><br />On the operations that use the data-type I specified the property-editor as "cdv.material.Material"<br /><br />Would there be anything else I need to specify? Did I do something wrong? Below is the log that Workbench generates when I encounter this error.<br /><br />!ENTRY com.adobe.workflow.editor 4 0 2009-02-10 14:11:38.406<br />!MESSAGE NewVariableDialog is unable to populate datatype specific panel<br />!STACK 0<br />java.lang.ClassNotFoundException: Class: cdv.material.Material not found.<br />     at com.adobe.idp.dsc.util.HashMapClassLoader.findClass(HashMapClassLoader.java:102)<br />     at java.lang.ClassLoader.loadClass(Unknown Source)<br />     at java.lang.ClassLoader.loadClass(Unknown Source)<br />     at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br />     at java.lang.Class.forName0(Native Method)<br />     at java.lang.Class.forName(Unknown Source)<br />     at com.adobe.idp.dsc.util.ClassHelper.forName(ClassHelper.java:529)<br />     at com.adobe.workflow.datatype.design.DataTypeDesignHandlerRegistry.getDataTypeDesignHandler ForDataType(DataTypeDesignHandlerRegistry.java:118)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.setDataTypeSpecificPanel(NewVariable Dialog.java:1684)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.adjustPanelsForNewTypeSelection(NewV ariableDialog.java:1637)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.adjustPanelsForNewTypeSelection(NewV ariableDialog.java:1614)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog.access$700(NewVariableDialog.java:12 8)<br />     at com.adobe.workflow.eclipse.dialogs.NewVariableDialog$4.widgetSelected(NewVariableDialog.j ava:883)<br />     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)<br />     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)<br />     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)<br />     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)<br />     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)<br />     at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)<br />     at org.eclipse.jface.window.Window.open(Window.java:796)<br />     at com.adobe.workflow.eclipse.views.VariablesView$10.run(VariablesView.java:843)<br />     at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)<br />     at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:539)<br />     at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) <br />     at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :400)<br />     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)<br />     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)<br />     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)<br />     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)<br />     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)<br />     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)<br />     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)<br />     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)<br />     at com.adobe.lcide.rcp.Application.run(Unknown Source)<br />     at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)<br />     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)<br />     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav