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

Fix java.lang.ClassCastException in TableActionParameter

Details

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

    Description

      java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
      	at org.talend.sdk.component.studio.model.parameter.TableActionParameter.parameters(TableActionParameter.java:43)
      	at org.talend.sdk.component.studio.model.action.Action.lambda$1(Action.java:93)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
      	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:1625)
      	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.action.Action.payload(Action.java:94)
      	at org.talend.sdk.component.studio.model.action.SuggestionsAction.callSuggestions(SuggestionsAction.java:39)
      	at org.talend.sdk.component.studio.model.action.SuggestionsAction.callback(SuggestionsAction.java:70)
      	at org.talend.sdk.component.studio.model.parameter.ValueSelectionParameter.getSuggestionValues(ValueSelectionParameter.java:36)
      	at org.talend.sdk.component.studio.ui.composite.controller.TaCoKitValueSelectionController$1$1.run(TaCoKitValueSelectionController.java:56)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      check QASuggestable component and table widget

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: