jlolling / talendcomp_tFileExcel

Talend components tFileExcel* to read and write Excel documents
Apache License 2.0
14 stars 7 forks source link

In Talend Cloud Studio receiving error on running "The code of method tFileExcelSheetList_1Process(Map<String,Object) is exceeding the 65535 bytes limit" #40

Open DavidUnderdown opened 5 months ago

DavidUnderdown commented 5 months ago

Hi Having this issue with tFileExcelSheetList in Talend Cloud Studio R2024-02. image I had been using an older version of your custom components but upgraded to the 13.9 release and I'm still seeing the same issue.

The same job runs fine in Open Studio, even with the older version of the custom components.

Any ideas?

Thanks

DavidUnderdown commented 5 months ago

Sorry now found https://help.talend.com/r/en-US/8.0/code-generation-prevent-error/how-to-prevent-errors-in-code-generation-caused-by-65-kb-limit which gives some avenues to explore (still seems weird it's OK in Open Studio, but not Cloud Studio!)

jlolling commented 3 months ago

I have done a lot of work to prevent this mess. When you inspect the generated source code e.g. from a tFileExcelSheetInput you will see the whole mapping and type conversion is done in a inner class which code does not count to the max number of bytes in a Java method. It would be interesting to see your job design.