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

Record doesn't support null values

Details

    • Work Item
    • Status: Done
    • Major
    • Resolution: Fixed
    • None
    • 1.1.2
    • None
    • All
    • Hide

      Null should be now tolerated.

      Show
      Null should be now tolerated.
    • GreenHopper Ranking:
      0|i1cgoj:
    • 9223372036854775807
    • Small

    Description

      Very frequently NetSuite records contain null values due to missing data(for instance), we need to support isNullable in our component.
      The issue occurs in Studio, when run designed job. The exact place of issue happens here:
      1. Runtime Converters converts to JsonObject type.
      2. e.g. String value is null, we try to add it here
      3. Johnzon Builder tries to add null value
      4. But happens NPE here

      By the contract defined in Schema.Entry we can specify if it's nullable or not.

      In my current implementation I specify this field when set up runtime schema

      Attachments

        1. NPE.png
          NPE.png
          12 kB
        2. NullValue.png
          NullValue.png
          20 kB

        Activity

          People

            rmannibucau Romain Manni-Bucau
            mbasiuk Maksym Basiuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: