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

Error removing function after changing field

    XMLWordPrintable

Details

    • Fuse 6.2.1 / JBDSIS 8.0.4

    Description

      • Add built-in function with arguments to a mapping from a non-indexed source to an indexed target
      • Change the source field in the mapping to a field in a collection (thus, making the mapping unindexed)
      • Remove the function

      The following error results:

      java.lang.RuntimeException: Invalid index size for model, expected 3 but index size is 1
      at org.jboss.tools.fuse.transformation.dozer.DozerMapperConfiguration.validateIndex(DozerMapperConfiguration.java:560)
      at org.jboss.tools.fuse.transformation.dozer.DozerMapperConfiguration.mapField(DozerMapperConfiguration.java:245)
      at org.jboss.tools.fuse.transformation.dozer.DozerMapperConfiguration.mapField(DozerMapperConfiguration.java:39)
      at org.jboss.tools.fuse.transformation.editor.internal.util.TransformationConfig.uncustomizeMapping(TransformationConfig.java:551)
      at org.jboss.tools.fuse.transformation.editor.internal.MappingDetailViewer.removeFunction(MappingDetailViewer.java:531)
      at org.jboss.tools.fuse.transformation.editor.internal.MappingDetailViewer.access$2(MappingDetailViewer.java:530)
      at org.jboss.tools.fuse.transformation.editor.internal.MappingDetailViewer$FunctionControl$3.widgetSelected(MappingDetailViewer.java:761)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      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:380)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

      Attachments

        Activity

          People

            teiid John Verhaeg (Inactive)
            teiid John Verhaeg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: