4 Replies Latest reply on Dec 21, 2010 10:30 AM by Ramesh Reddy

    create webservice error

    yang lp Newbie

      when i create a web service  using designer ,i get some error messages. can anybody help me ,thanks

       

      java.lang.IllegalArgumentException: TransformationHelper.getTransformationMappingRoot:null or invalid target.
      at com.metamatrix.modeler.internal.transformation.util.TransformationHelper.getMappingRoot(TransformationHelper.java:2521)
      at com.metamatrix.modeler.internal.transformation.util.TransformationHelper.getMappingRoot(TransformationHelper.java:2564)
      at com.metamatrix.modeler.webservice.util.WebServiceBuilderHelper$TransformationFinisher.finish(WebServiceBuilderHelper.java:1372)
      at com.metamatrix.modeler.webservice.util.WebServiceBuilderHelper.createWebService(WebServiceBuilderHelper.java:311)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.GenerateWebServiceModelWizard.doFinish(GenerateWebServiceModelWizard.java:133)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.GenerateWebServiceModelWizard$1.run(GenerateWebServiceModelWizard.java:94)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
      at com.metamatrix.modeler.internal.webservice.ui.wizard.GenerateWebServiceModelWizard.finish(GenerateWebServiceModelWizard.java:103)
      at com.metamatrix.ui.internal.wizard.AbstractWizard.performFinish(AbstractWizard.java:254)
      at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
      at org.eclipse.jface.window.Window.open(Window.java:787)
      at com.metamatrix.modeler.webservice.ui.actions.GenerateWebServiceModelAction2.run(GenerateWebServiceModelAction2.java:194)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1732)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1696)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at com.metamatrix.modeler.application.ModelerApp.run(ModelerApp.java:115)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:404)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:191)
      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.core.launcher.Main.invokeFramework(Main.java:338)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)

      java.lang.IllegalArgumentException: TransformationHelper.getTransformationMappingRoot:null or invalid target.

      at com.metamatrix.modeler.internal.transformation.util.TransformationHelper.getMappingRoot(TransformationHelper.java:2521)

      at com.metamatrix.modeler.internal.transformation.util.TransformationHelper.getMappingRoot(TransformationHelper.java:2564)

      at com.metamatrix.modeler.webservice.util.WebServiceBuilderHelper$TransformationFinisher.finish(WebServiceBuilderHelper.java:1372)

      at com.metamatrix.modeler.webservice.util.WebServiceBuilderHelper.createWebService(WebServiceBuilderHelper.java:311)

      at com.metamatrix.modeler.internal.webservice.ui.wizard.GenerateWebServiceModelWizard.doFinish(GenerateWebServiceModelWizard.java:133)

      at com.metamatrix.modeler.internal.webservice.ui.wizard.GenerateWebServiceModelWizard$1.run(GenerateWebServiceModelWizard.java:94)

      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)

      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)

      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)

      at com.metamatrix.modeler.internal.webservice.ui.wizard.GenerateWebServiceModelWizard.finish(GenerateWebServiceModelWizard.java:103)

      at com.metamatrix.ui.internal.wizard.AbstractWizard.performFinish(AbstractWizard.java:254)

      at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)

      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)

      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)

      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)

      at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)

      at org.eclipse.jface.window.Window.open(Window.java:787)

      at com.metamatrix.modeler.webservice.ui.actions.GenerateWebServiceModelAction2.run(GenerateWebServiceModelAction2.java:194)

      at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)

      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)

      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)

      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)

      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1732)

      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1696)

      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)

      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)

      at com.metamatrix.modeler.application.ModelerApp.run(ModelerApp.java:115)

      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:404)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:191)

      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.core.launcher.Main.invokeFramework(Main.java:338)

      at org.eclipse.core.launcher.Main.basicRun(Main.java:282)

      at org.eclipse.core.launcher.Main.run(Main.java:977)

      at org.eclipse.core.launcher.Main.main(Main.java:952)