<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error on file import in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Error-on-file-import/m-p/2404636#M10648</link>
    <description>&lt;P&gt;I am getting this (seemingly common) error attempting to build file metadata. I am running Talend Studio 7.3.1 on Oracle Java 8, Windows 10. I have confirmed that the source file is encoded as UTF-8. This happens on (at least) Excel, json, and delimited metadata:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error Message: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files&lt;/P&gt;&lt;P&gt;Preview error. Some settings must be changed.&lt;/P&gt;&lt;P&gt;Note: Preview errors are generally due to a wrong encoding setting.&lt;/P&gt;&lt;P&gt;org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)&lt;/P&gt;&lt;P&gt;org.talend.metadata.managment.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)&lt;/P&gt;&lt;P&gt;org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1309)&lt;/P&gt;&lt;P&gt;org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output of "java -version" (I have tried running Talend under both Zulu Java 11 and Oracle Java, the result is always the same):&lt;/P&gt;&lt;P&gt;java version "1.8.0_281"&lt;/P&gt;&lt;P&gt;Java(TM) SE Runtime Environment (build 1.8.0_281-b09)&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my .ini file:&lt;/P&gt;&lt;P&gt;-vm C:\Program Files\Java\jdk1.8.0_281\bin&lt;/P&gt;&lt;P&gt;-vmargs&lt;/P&gt;&lt;P&gt;-Xms512m&lt;/P&gt;&lt;P&gt;-Xmx4096m&lt;/P&gt;&lt;P&gt;-Dfile.encoding=UTF-8&lt;/P&gt;&lt;P&gt;-Dosgi.requiredJavaVersion=1.8&lt;/P&gt;&lt;P&gt;-XX:+UseG1GC&lt;/P&gt;&lt;P&gt;-XX:+UseStringDeduplication&lt;/P&gt;&lt;P&gt;-XX:MaxMetaspaceSize=512m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. I understand this is usually a Java version issue, but I don't know what else I can do. I have tried multiple ostensibly supported versions of Java already.&lt;/P&gt;&lt;P&gt;=Keith&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:47:16 GMT</pubDate>
    <dc:creator>kbmartin</dc:creator>
    <dc:date>2024-11-16T00:47:16Z</dc:date>
    <item>
      <title>Error on file import</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Error-on-file-import/m-p/2404636#M10648</link>
      <description>&lt;P&gt;I am getting this (seemingly common) error attempting to build file metadata. I am running Talend Studio 7.3.1 on Oracle Java 8, Windows 10. I have confirmed that the source file is encoded as UTF-8. This happens on (at least) Excel, json, and delimited metadata:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error Message: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files&lt;/P&gt;&lt;P&gt;Preview error. Some settings must be changed.&lt;/P&gt;&lt;P&gt;Note: Preview errors are generally due to a wrong encoding setting.&lt;/P&gt;&lt;P&gt;org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(ShadowFilePreview.java:90)&lt;/P&gt;&lt;P&gt;org.talend.metadata.managment.ui.utils.ShadowProcessHelper.getCsvArray(ShadowProcessHelper.java:383)&lt;/P&gt;&lt;P&gt;org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(DelimitedFileStep2Form.java:1309)&lt;/P&gt;&lt;P&gt;org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(SWTUIThreadProcessor.java:74)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output of "java -version" (I have tried running Talend under both Zulu Java 11 and Oracle Java, the result is always the same):&lt;/P&gt;&lt;P&gt;java version "1.8.0_281"&lt;/P&gt;&lt;P&gt;Java(TM) SE Runtime Environment (build 1.8.0_281-b09)&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my .ini file:&lt;/P&gt;&lt;P&gt;-vm C:\Program Files\Java\jdk1.8.0_281\bin&lt;/P&gt;&lt;P&gt;-vmargs&lt;/P&gt;&lt;P&gt;-Xms512m&lt;/P&gt;&lt;P&gt;-Xmx4096m&lt;/P&gt;&lt;P&gt;-Dfile.encoding=UTF-8&lt;/P&gt;&lt;P&gt;-Dosgi.requiredJavaVersion=1.8&lt;/P&gt;&lt;P&gt;-XX:+UseG1GC&lt;/P&gt;&lt;P&gt;-XX:+UseStringDeduplication&lt;/P&gt;&lt;P&gt;-XX:MaxMetaspaceSize=512m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. I understand this is usually a Java version issue, but I don't know what else I can do. I have tried multiple ostensibly supported versions of Java already.&lt;/P&gt;&lt;P&gt;=Keith&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Error-on-file-import/m-p/2404636#M10648</guid>
      <dc:creator>kbmartin</dc:creator>
      <dc:date>2024-11-16T00:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error on file import</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Error-on-file-import/m-p/2404637#M10649</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What is your JDK Compliance level in Studio Java Compiler preferences?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to JAVA --&amp;gt; INSTALLED JREs - to find the version of Java used by Studio and you can also alter the settings here.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 08:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Error-on-file-import/m-p/2404637#M10649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-22T08:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error on file import</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Error-on-file-import/m-p/2404638#M10650</link>
      <description>&lt;P&gt;Thank you; this seems ot have been the answer. I've found numerous references to updating the Windows JAVA_HOME and PATH environment varialbes but this was the first one that pointed to the preferences settings in Studio itself.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 19:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Error-on-file-import/m-p/2404638#M10650</guid>
      <dc:creator>kbmartin</dc:creator>
      <dc:date>2021-01-25T19:16:23Z</dc:date>
    </item>
  </channel>
</rss>

