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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

org.apache.tools error on tFileunarchive (JAR Plugin)

Hello,

 

I am getting this error in my Java Code for my tfileunarchive component. I am currently running Talend Open Studio Data Integration 7.1.

It has something to do with my JAR plugin I installed with this component on my RDC. I am able to run the same job on my local machine with no issues. A few questions how can you reinstall the plugin for this component. What site has these plugins available? How would you delete the old plugin for this component? I need to make sure I am adding these plugins to the right folder as well, what folder do you install these plugins to?

 

if (tmpFileURL_tFileUnarchive_2.endsWith(".tar.gz")
|| tmpFileURL_tFileUnarchive_2.endsWith(".tgz")) {
org.apache.tools.tar.TarInputStream zip_tFileUnarchive_2 = null;
java.io.InputStream inputStream_tFileUnarchive_2 = null;
try {
inputStream_tFileUnarchive_2 = new java.io.FileInputStream(
zipFileURL_tFileUnarchive_2);
inputStream_tFileUnarchive_2 = new java.util.zip.GZIPInputStream(
inputStream_tFileUnarchive_2);
zip_tFileUnarchive_2 = new org.apache.tools.tar.TarInputStream(
inputStream_tFileUnarchive_2);

org.apache.tools.tar.TarEntry entry_tFileUnarchive_2 = null;
java.io.InputStream is_tFileUnarchive_2 = null;
while ((entry_tFileUnarchive_2 = zip_tFileUnarchive_2
.getNextEntry()) != null) {
boolean isDirectory_tFileUnarchive_2 = entry_tFileUnarchive_2
.isDirectory();
if (!isDirectory_tFileUnarchive_2) {
is_tFileUnarchive_2 = zip_tFileUnarchive_2;
}

Any help would be greatly appreciated!

 

Thanks,

 

Andrew

Labels (4)
1 Reply
Anonymous
Not applicable
Author

Trying to bump this up. This is only happening on Azure Box and I verified that my modules are the same between my local instance and my Azure instance. The tFileunarchive component works fine on my local machine.