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

Table Data viewer action throw java.lang.IllegalArgumentException

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.0.1
    • None
    • None
    • None
    • Hide

      1.Create or import a db connection and retrieve tables
      2.Choose one table,right click,choose "Data Viewer",error throw but data view ok

      java.lang.IllegalArgumentException: id should not be null
      	at org.talend.sdk.component.studio.metadata.TaCoKitCache.getConfigTypeNode(TaCoKitCache.java:90)
      	at org.talend.sdk.component.studio.metadata.model.TaCoKitConfigurationModel.<init>(TaCoKitConfigurationModel.java:54)
      	at org.talend.sdk.component.studio.metadata.handler.TaCoKitDragAndDropHandler.canHandle(TaCoKitDragAndDropHandler.java:73)
      	at org.talend.core.model.metadata.designerproperties.RepositoryToComponentProperty.isGenericRepositoryValue(RepositoryToComponentProperty.java:2904)
      	at org.talend.designer.core.ui.editor.cmd.ChangeValuesFromRepository.execute(ChangeValuesFromRepository.java:335)
      	at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:111)
      	at org.talend.designer.core.ui.editor.process.Process$3.execute(Process.java:2697)
      	at org.talend.designer.component.preview.dq.ViewDataSchemaAction.doRun(ViewDataSchemaAction.java:339)
      	at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:671)
      	at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99)
      	at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258)
      	at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3421)
      	at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2255)
      	at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:684)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
      	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)
      
      Show
      1.Create or import a db connection and retrieve tables 2.Choose one table,right click,choose "Data Viewer",error throw but data view ok java.lang.IllegalArgumentException: id should not be null at org.talend.sdk.component.studio.metadata.TaCoKitCache.getConfigTypeNode(TaCoKitCache.java:90) at org.talend.sdk.component.studio.metadata.model.TaCoKitConfigurationModel.<init>(TaCoKitConfigurationModel.java:54) at org.talend.sdk.component.studio.metadata.handler.TaCoKitDragAndDropHandler.canHandle(TaCoKitDragAndDropHandler.java:73) at org.talend.core.model.metadata.designerproperties.RepositoryToComponentProperty.isGenericRepositoryValue(RepositoryToComponentProperty.java:2904) at org.talend.designer.core.ui.editor.cmd.ChangeValuesFromRepository.execute(ChangeValuesFromRepository.java:335) at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:111) at org.talend.designer.core.ui.editor.process.Process$3.execute(Process.java:2697) at org.talend.designer.component.preview.dq.ViewDataSchemaAction.doRun(ViewDataSchemaAction.java:339) at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:671) at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99) at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258) at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3421) at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2255) at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:684) at org.eclipse.jface.action.Action.runWithEvent(Action.java:519) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) 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)
    • yes
    • All
    • V7.1.1SNAPSHOT-20180611_1932
    • Windows 7
    • Small

    Attachments

      Activity

        People

          Unassigned Unassigned
          yjgao yunjie gao
          Ivan Gonchar
          Ivan Gonchar
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: