Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3091

Wsdl to Rest generation error: Cannot obtain java method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • Backlog
    • 11.1.0.AM3
    • Wizards
    • None

      java.lang.IllegalStateException: Cannot obtain java method for: Add
      	at org.jboss.fuse.wsdl2rest.util.IllegalStateAssertion.assertNotNull(IllegalStateAssertion.java:50)
      	at org.jboss.fuse.wsdl2rest.impl.codegen.CamelContextGenerator.getJavaMethod(CamelContextGenerator.java:121)
      	at org.jboss.fuse.wsdl2rest.impl.codegen.CamelContextGenerator.addTypeMapping(CamelContextGenerator.java:94)
      	at org.jboss.fuse.wsdl2rest.impl.codegen.CamelContextGenerator.process(CamelContextGenerator.java:76)
      	at org.jboss.fuse.wsdl2rest.impl.Wsdl2Rest.process(Wsdl2Rest.java:92)
      	at org.fusesource.ide.wsdl2rest.ui.wizard.Wsdl2RestWizard.generate(Wsdl2RestWizard.java:323)
      	at org.fusesource.ide.wsdl2rest.ui.wizard.Wsdl2RestWizard.access$0(Wsdl2RestWizard.java:286)
      	at org.fusesource.ide.wsdl2rest.ui.wizard.Wsdl2RestWizard$1.run(Wsdl2RestWizard.java:112)
      	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:974)
      	at org.fusesource.ide.wsdl2rest.ui.wizard.Wsdl2RestWizard.performFinish(Wsdl2RestWizard.java:107)
      	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:772)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:411)
      	at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
      	at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5797)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1373)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5051)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4583)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
      	at org.eclipse.jface.window.Window.open(Window.java:794)
      	at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:133)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5797)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1373)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5051)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4583)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:625)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:560)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
      

        1. calculator.wsdl
          4 kB
          Dominik Jelínek

              Unassigned Unassigned
              djelinek Dominik Jelínek
              Dominik Jelínek Dominik Jelínek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: