Four Stars

Getting error- JVM setup is similar to the studio while running

Hello, 
I have error message while running any job in Talend open studio Data integration 6.3.1 version.
Can you please help me if anyone knows the cause for this error? error.PNG
Error Message:
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

 

Thanks

11 REPLIES
Six Stars

Re: Getting error- JVM setup is similar to the studio while running

Hi,

 

It's the default message you get after all errors

"There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio."

 

Can you please click on the Component tab and post a screenshot? 

Four Stars

Re: Getting error- JVM setup is similar to the studio while running

Hi, 

 

I've this error for all jobs I want to run. 

 

component tab.PNG

Moderator

Re: Getting error- JVM setup is similar to the studio while running

Hi,

What's the JDK version you are using? Did you set the java environment correctly?

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.
Ten Stars

Re: Getting error- JVM setup is similar to the studio while running

From the Window menu, choose Preferences. Expand the Java section and select "Installed JREs"

Screenshot what's there, making sure to expand the Name and Location columns so they're fully visible.
Four Stars

Re: Getting error- JVM setup is similar to the studio while running

Hi,

Am getting the below error for all the jobs i run,

 

"There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio."

 

Here is the screenshot of installed JREs. Could someone help me on my settings please

jvm_compatibility_issue.PNG

 

 

 

Ten Stars

Re: Getting error- JVM setup is similar to the studio while running

@Vidyasri please post the entire error message. The text about JVM compatibility appears in every compilation error. The underlying cause is usually not the JDK installation.
Four Stars

Re: Getting error- JVM setup is similar to the studio while running

Hi, i'm having the same error, 
talend studio version: 6.3.1

TOS_DI-win-x86_64.ini

-vmargs
-Xms512m
-Xmx1536m
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication

 

Java installed

jdk1.8.131

jre1.8.0_131

 

JAVA_HOME
C:\Program Files\Java\jre1.8.0_131\bin

i'm working on a mysql db and on a db2 db, i tried to use some function in tmap that like:
schema.fieldname+schema.fieldname2,
TalendDate.getCurrentDate().getYear()
none of those worked.

please help

Ten Stars

Re: Getting error- JVM setup is similar to the studio while running

Please post the entire error message.
Four Stars

Re: Getting error- JVM setup is similar to the studio while running

It doesn't give me any error, simply every time i use any kind of "formula" instead to pass linearly a field from a db to an other, some times it print out (exemple):

xception in component tMap_1
java.lang.NullPointerException
at xdef.prodotti_test_0_1.Prodotti_test.tMysqlInput_1Process(Prodotti_test.java:1281)
at xdef.prodotti_test_0_1.Prodotti_test.runJobInTOS(Prodotti_test.java:1703)
at xdef.prodotti_test_0_1.Prodotti_test.main(Prodotti_test.java:1560)

otherways it prints out nothing, but the data doesn't pass trought.

 

I copyed the syntax from a project made by a friend of mine, like:
rowX.fieldnameX+" "+rowX.fieldnameY
rowX.fieldnameX+rowX.fieldnameY
rowX.fieldnameX/100
none of those work, i have found the same syntaxs in some tutorial so i belive they are fine.

an help will be realy very apreciated

 

Six Stars

Re: Getting error- JVM setup is similar to the studio while running

Check if any of the data is null at the source. Talend(Java) cannot handle null when it is expecting some value. 

use a not null filter before this step

 

What is the data type of rowX.fieldnameX and rowX.fieldnameY?

 

Do you want to add these two values or do you want to concatenate these 2 values?  

 

Please let me know what do you want to achieve, I can help you better

Four Stars

Re: Getting error- JVM setup is similar to the studio while running

am done with the setup and am facing the below issue.

 

I have a scenario here in MSSQL Database.I want multiple child tables to share parent and they can generate their own ids.
I designed my job and components as attached.

On my database, i created the tables as attachedentire_workflow.PNGinput_file.PNGlookup_input.PNGchild_out2.PNGchild_out3.PNGparent_out.PNGtmap1.PNGtmap2.PNGtmap3.PNGchild_table_ddl.PNGparent_table_ddl.PNG

 

On running the above job,

I get the below error and data gets populated to parent table but not child table. Can someone help me how should i get the desired output to child table as well?


Starting job using_java at 19:05 03/07/2017.

[statistics] connecting to socket on port 4070
[statistics] connected
Incorrect syntax near ')'.
Cannot insert the value NULL into column 'ID_baby', table 'talend_local.dbo.baby'; column does not allow nulls. INSERT fails.
[ERROR]: xml_csv.using_java_0_1.using_java - tMSSqlOutput_2 - Incorrect syntax near ')'.
[ERROR]: xml_csv.using_java_0_1.using_java - tMSSqlOutput_3 - Cannot insert the value NULL into column 'ID_baby', table 'talend_local.dbo.baby'; column does not allow nulls. INSERT fails.
[statistics] disconnected
Job using_java ended at 19:05 03/07/2017. [exit code=0]

Tags (1)