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

When selecting a "transform" component, a 'method' tag is added which leads to an invalid xml

XMLWordPrintable

    • Hide
      • create a new project based on the OpenShift templates
      • select the transform
        ---> see that an asterisk appears, if go to Source you can notice that a "method" tag has been added and that the xml file is then invalid
      Show
      create a new project based on the OpenShift templates select the transform ---> see that an asterisk appears, if go to Source you can notice that a "method" tag has been added and that the xml file is then invalid

      I also have this NPE when playing with it:

      !ENTRY org.eclipse.ui 4 0 2017-01-17 17:47:35.565
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NullPointerException
      	at org.fusesource.ide.camel.editor.properties.FusePropertySection.languageChanged(FusePropertySection.java:435)
      	at org.fusesource.ide.camel.editor.properties.DetailsSection$7.widgetSelected(DetailsSection.java:305)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4410)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
      	at org.eclipse.swt.custom.CCombo.listEvent(CCombo.java:1175)
      	at org.eclipse.swt.custom.CCombo$1.handleEvent(CCombo.java:116)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4410)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4228)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3816)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      	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:673)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      

              lheinema@redhat.com Lars Heinemann
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: