Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Error when creating new Excel file in Metadata

Hi,
I want to create a new Excel file in the metadata.
When arriving on step 3 of 4, tab "Output" shows the error messages : 
"Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)
org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelFileStep2Form$PreviewProcessor.nonUIProcessInThread(ExcelFileStep2Form.java:1041)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)"
The same happens when I try to create a delimited file.
Java on my Win7 machine is C:\Program Files (x86)\Java\jdk1.7.0_71
Thanks for your help.
JL
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Sabrina,
I installed Talend Studio 5.6 on c:\Talend.
Now it works ok.
Thank you for your help.
Kind regards,
JL

View solution in original post

7 Replies
Anonymous
Not applicable
Author

Hi,
Did you install Talend in "Program Files" or any directory with a space or illegal character? If so, try moving it to one that does not contain a space. Such as: D:\talend\<version>\(Don't give a long name).
Feel free to let me know is it OK with you.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
Yes, Talend was installed on c:\Program Files.
I moved (cut/paste) Talend to c:\Talend and tried again.
But it does not work :
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)
org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelFileStep2Form$PreviewProcessor.nonUIProcessInThread(ExcelFileStep2Form.java:1041)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)
It sounds there is an issue with the Java Virtual Machine, but I don't know what the messages exactly mean.
JL
Anonymous
Not applicable
Author

Hi,
What's the build version you are using? Did you execute a simple job successfully in it? Is it oracle JDK or Open JDK? Could you please show us your step 3 of 4 screenshots?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
Build version :
Version: 5.5.1
Build id: r118616-20140617-1110
No, I did not execute a simple job successfully yet.
JDK comes from Oracle website.
See screen shot below.
Kind regards,
JL
0683p000009MCSS.jpg
Anonymous
Not applicable
Author

Hi,
Yes, Talend was installed on c:\Program Files.
I moved (cut/paste) Talend to c:\Talend and tried again.

Please reinstall Talend Studio in c:\Talend instead of moving Talend related folder. Make sure that there is no extra space or illegal character.
Feel free to let us know if it is OK with you.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
I installed Talend Studio 5.6 on c:\Talend.
Now it works ok.
Thank you for your help.
Kind regards,
JL
Anonymous
Not applicable
Author

Hi,
Would you mind marking this topic as resolved?
Best regards
Sabrina