Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-1104

Fix drag and drop issue for dataset/datastore metadata

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • All
    • Small

    Description

      dataset/datastore values are not set, because properties are not mapped correctly

      java.lang.IllegalStateException: Multiple roots found. Can't guess correct one: [OUT$$configuration, configuration]
      	at org.talend.sdk.component.studio.metadata.handler.TaCoKitDragAndDropHandler.findModelRoot(TaCoKitDragAndDropHandler.java:145)
      	at org.talend.sdk.component.studio.metadata.handler.TaCoKitDragAndDropHandler.computeKey(TaCoKitDragAndDropHandler.java:127)
      	at org.talend.sdk.component.studio.metadata.handler.TaCoKitDragAndDropHandler.getComponentValue(TaCoKitDragAndDropHandler.java:99)
      	at org.talend.core.model.metadata.designerproperties.RepositoryToComponentProperty.getValue(RepositoryToComponentProperty.java:158)
      	at org.talend.designer.core.ui.editor.cmd.ChangeValuesFromRepository.execute(ChangeValuesFromRepository.java:423)
      	at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:111)
      	at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:199)
      	at org.talend.designer.core.ui.editor.process.TalendEditorDropTargetListener.execCommandStack(TalendEditorDropTargetListener.java:2035)
      	at org.talend.designer.core.ui.editor.process.TalendEditorDropTargetListener.createNewComponent(TalendEditorDropTargetListener.java:1145)
      	at org.talend.designer.core.ui.editor.process.TalendEditorDropTargetListener.handleDrop(TalendEditorDropTargetListener.java:564)
      	at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:183)
      	at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:219)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
      	at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:216)
      	at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:91)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
      	at org.eclipse.swt.dnd.DropTarget.drag_data_received(DropTarget.java:387)
      	at org.eclipse.swt.dnd.DropTarget.Drag_Data_Received(DropTarget.java:251)
      	at org.eclipse.swt.internal.gtk.OS._gtk_drag_get_data(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.gtk_drag_get_data(OS.java:7370)
      	at org.eclipse.swt.dnd.DropTarget.drag_drop(DropTarget.java:432)
      	at org.eclipse.swt.dnd.DropTarget.Drag_Drop(DropTarget.java:258)
      	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9106)
      	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253)
      	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2477)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3407)
      	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.talend.rcp.intro.Application.start(Application.java:265)
      	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: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: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

            Unassigned Unassigned
            igonchar Ivan Gonchar
            Ivan Gonchar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: