Dynamic Schemas in Talend Open Studio - Limit of 53 columns

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.
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 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch