Encountered code generation error while compiling script: generated b

One Star

Encountered code generation error while compiling script: generated b

Hi,
We are trying to run a job in prod through TAC. we are receiving the below error.
"Exception in component tFileInputJSON_2
javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: Encountered code generation error while compiling script: generated bytecode for method exceeds 64K limit."
.
The same job is running in QA from TAC and able to run in TOS as well. But the problem occurs in prod only.
Please suggest..
Regards
Govardhan
Highlighted
Moderator

Re: Encountered code generation error while compiling script: generated b

Hi govardhant85,
Could you please report a ticket on Talend Support Portal so that we can give you a remote assistance to address your issue with priority, through the support cycle.
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.
One Star

Re: Encountered code generation error while compiling script: generated b

Hi,
Thanks for the prompt response.
Its not possible for me to raise a ticket as i am new to this project. Yet to get the more details.
Is it possible to share with me, what to check and all. Also if you have a work around can you please suggest.
Regards
Govardhan
Moderator

Re: Encountered code generation error while compiling script: generated b

Hi,
"Exception in component tFileInputJSON_2
javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: Encountered code generation error while compiling script: generated bytecode for method exceeds 64K limit."
.

This issue is probably caused by a big json file. Could you please have a look at jira issue https://jira.talendforge.org/browse/TDI-24813?
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.
One Star

Re: Encountered code generation error while compiling script: generated b

Hi,
I have checked a simple job with >3MB data json file. It seem to be not an issue with the json file.
Like i mentioned, the job is running fine in QA TAC environment.
Are there any settings that need to be checked.
Regards
Govardhan

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download