Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

Dynamic Schemas in Talend Open Studio - Limit of 53 columns

Highlighted
One Star

Dynamic Schemas in Talend Open Studio - Limit of 53 columns

Hello,
I used the solution described in this post ()
 to load an excel file with dynamic schema. It was working until the total number of columns exceed 53 columns.
I want to extract 53 columns in my excel file but when an extra column is added between theses 53 columns and not after the last one, I get this error :
Exception in component tMap_4
java.lang.NullPointerException
    at java.lang.Class.searchFields(Unknown Source)
    at java.lang.Class.getField0(Unknown Source)
    at java.lang.Class.getField(Unknown Source)
    E.tFileInputExcel_5Process(E.java:5747)
    E.tFileInputExcel_3Process(E.java:2885)
    E.tFileList_1Process(E.java:1091)
    E.tFileDelete_1Process(E.java:835)
    E.runJobInTOS(E.java:15239)
    E.main(E.java:14961).
I tried to fix the initial capacity of hashmap in the tsetGlobalVar without success (new HashMap<String, String>(100000) ).
Do you know why? Thank you.
Highlighted
Moderator

Re: Dynamic Schemas in Talend Open Studio - Limit of 53 columns

Hi,
Could you please give us your related forum link? Are you using custom component with dynamic schema in Talend Open Studio?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog