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

metadat : ignore activations from config not being part of the form while creating metadata

Details

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

    Description

      For example ignore activations (a.k.a ActiveIf ) defined in dataset when creating datasotre meta

      !ENTRY org.eclipse.ui 4 0 2018-08-10 12:07:13.323
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.IllegalStateException: java.lang.NullPointerException
      	at org.talend.sdk.component.studio.ui.wizard.page.TaCoKitConfigurationWizardPage.createControl(TaCoKitConfigurationWizardPage.java:131)
      	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178)
      	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
      	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
      	at org.eclipse.jface.window.Window.create(Window.java:435)
      	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
      	at org.talend.sdk.component.studio.metadata.action.TaCoKitMetadataContextualAction.openWizardDialog(TaCoKitMetadataContextualAction.java:68)
      	at org.talend.sdk.component.studio.metadata.action.TaCoKitMetadataContextualAction.doRun(TaCoKitMetadataContextualAction.java:59)
      	at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:674)
      	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:3446)
      	at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2265)
      	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)
      Caused by: java.lang.NullPointerException
      	at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320)
      	at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
      	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
      	at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1620)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at org.talend.sdk.component.studio.model.parameter.SettingVisitor.lambda$17(SettingVisitor.java:160)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      	at org.talend.sdk.component.studio.model.parameter.SettingVisitor.lambda$1(SettingVisitor.java:155)
      	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
      	at org.talend.sdk.component.studio.model.parameter.SettingVisitor.getSettings(SettingVisitor.java:150)
      	at org.talend.sdk.component.studio.ui.wizard.page.TaCoKitConfigurationWizardPage.createControl(TaCoKitConfigurationWizardPage.java:112)
      	... 43 more
      

      Attachments

        Activity

          People

            akhabali Anas Khabali
            akhabali Anas Khabali
            Anas Khabali
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: