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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
MDOTSHADBA
Contributor III
Contributor III

tscramble

The tscramble component available in the following link is giving compilation errors.
http://www.talendforge.org/exchange/index.php?eid=410&product=tos&action=view&nav=1,2,1
Basically I am tring to encrypt and decrypt data. We are Using Talend Integration suite 4.2.2
Any help is appreciated!!

Errors
***************************************************************
Exception in thread "main" java.lang.Error: java.lang.Error: Unresolved compilation problems:
Type mismatch: cannot convert from SecretKey to KeySpec
skey cannot be resolved
SecretKeySpec cannot be resolved to a type
kgen cannot be resolved
The method getBytes(String) is undefined for the type Integer
The method decodeBuffer(String) in the type CharacterDecoder is not applicable for the arguments (Integer)
keytScramble_2 cannot be resolved to a type
The constructor SecretKeySpec(char[], String) is undefined
Cipher cannot be resolved to a type
Cipher cannot be resolved
ALGORITHM cannot be resolved to a variable
Cipher cannot be resolved to a variable
valueToEnc cannot be resolved
BASE64Encoder cannot be resolved to a type
Void methods cannot return a value
The method getBytes() is undefined for the type Integer
The method decodeBuffer(String) in the type CharacterDecoder is not applicable for the arguments (Integer)
*********************************************************************************************
Labels (3)
16 Replies
MDOTSHADBA
Contributor III
Contributor III
Author

// ============================================================================
//
// This source code has been automatically generated by_Talend Integration Suite Professional Edition
// / JobDesigner (CodeGenerator version 4.2.2.r63143)
// You can find more information about Talend products at www.talend.com.
//
// ============================================================================
package test.test1_0_1;
import routines.Mathematical;
import routines.DataOperation;
import routines.Relational;
import routines.TalendDate;
import routines.TalendDataGenerator;
import routines.Numeric;
import routines.SQLike;
import routines.TalendString;
import routines.StringHandling;
import routines.system.*;
import routines.system.api.*;
import java.text.ParseException;
import java.text.SimpleDateFormat; import

To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable

Hi,
Thanks for that. There's obviously issues in my component, I have issues on my side too. I'll try to find some time today to work on it and fix it.
I'll let you know once I release a fixed version.
MDOTSHADBA
Contributor III
Contributor III
Author

Thank you VGalopin. I will wait to hear from you.
Anonymous
Not applicable

Hello,

Have you been able to do any progress so far? I think that such a component would be a really nice thing to have.
(I have also tested the component as well and I encountered the exact same issues as saikrishna)
Razvan
MDOTSHADBA
Contributor III
Contributor III
Author

Thank you showing interest, I have NOT heard anything from vgalopin so far
Anonymous
Not applicable

It's obviously been awhile, was this issue ever resolved?
fabien_gimala
Contributor
Contributor

Hello,
I don't know if it's the good explanation for the case problem but i see a similar problem after un copy / paste of the studio.
In this case, just recreate a new workspace and import your batchs. After that, the problem is solved.
Otherwise, you can also try to recreate a new workspace with an other JDK.
Jérémy