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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Fernandez
Creator II
Creator II

Access Base : Exception InvalidCipherTextException

Hi,

 

I get this error when I try to use the component  tAccessConnection :

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/crypto/InvalidCipherTextException
at com.healthmarketscience.jackcess.CryptCodecProvider.createHandler(CryptCodecProvider.java:110)
at com.healthmarketscience.jackcess.impl.PageChannel.initialize(PageChannel.java:105)
at com.healthmarketscience.jackcess.impl.DatabaseImpl.<init>(DatabaseImpl.java:512)
at com.healthmarketscience.jackcess.impl.DatabaseImpl.open(DatabaseImpl.java:386)
at com.healthmarketscience.jackcess.DatabaseBuilder.open(DatabaseBuilder.java:248)
at org.talend.ucanaccess.encrypt.CryptCodecOpener.open(CryptCodecOpener.java:18)
at net.ucanaccess.jdbc.DBReference.<init>(DBReference.java:169)
at net.ucanaccess.jdbc.DBReferenceSingleton.loadReference(DBReferenceSingleton.java:51)
at net.ucanaccess.jdbc.UcanaccessDriver.connect(UcanaccessDriver.java:90)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at iss.iss_masterdata_3_insertintoaccessbase_0_1.ISS_Masterdata_3_InsertIntoAccessBase.tAccessConnection_1Process(ISS_Masterdata_3_InsertIntoAccessBase.java:5511)

 

Is there a library missing ?

 

Thanks

 

 

Labels (2)
1 Solution

Accepted Solutions
Fernandez
Creator II
Creator II
Author

Hi,

 

It's running fine with using the library "bcprov-jdk15on-1.57.jar".

View solution in original post

8 Replies
Anonymous
Not applicable

Hi,

 

    It says that InvalidCipherTextException class of org.bouncycastle.crypto jar is missing. Could you please double check whether you have installed all dependency jars for the component?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

 

Fernandez
Creator II
Creator II
Author

Hi,

 

I'm not sure to have installed all necessary jars.

But I can't verfiy in Modules Tab, nothing appears:

0683p000009M84D.png

 

I could use tLibraryLoad but I don't know which library to load...

 

 

 

 

Anonymous
Not applicable

Hi,

 

    If the jars are missing, it will be displayed in a yellow ribbon as shown below.

 

0683p000009M84I.png

 

But if you need any additional jars, you can always use tLibraryLoad after downloading the jar.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

Fernandez
Creator II
Creator II
Author

I load the library below before using tAccessConnection :

0683p000009M7sV.png

 

But I have an error quiet similar 0683p000009MPcz.png

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/crypto/CipherParameters
at com.healthmarketscience.jackcess.CryptCodecProvider.createHandler(CryptCodecProvider.java:110)
at com.healthmarketscience.jackcess.impl.PageChannel.initialize(PageChannel.java:105)
at com.healthmarketscience.jackcess.impl.DatabaseImpl.<init>(DatabaseImpl.java:554)
at com.healthmarketscience.jackcess.impl.DatabaseImpl.open(DatabaseImpl.java:415)
at com.healthmarketscience.jackcess.DatabaseBuilder.open(DatabaseBuilder.java:267)
at org.talend.ucanaccess.encrypt.CryptCodecOpener.open(CryptCodecOpener.java:18)
at net.ucanaccess.jdbc.DBReference.<init>(DBReference.java:169)
at net.ucanaccess.jdbc.DBReferenceSingleton.loadReference(DBReferenceSingleton.java:51)
at net.ucanaccess.jdbc.UcanaccessDriver.connect(UcanaccessDriver.java:90)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at iss.iss_masterdata_3_insertintoaccessbase_0_1.ISS_Masterdata_3_InsertIntoAccessBase.tAccessConnection_1Process(ISS_Masterdata_3_InsertIntoAccessBase.java:5647)

Anonymous
Not applicable

Hi,

 

    Could you please share the screenshot of Advanced section of tLibraryLoad? I hope you have added the import statement there.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

Fernandez
Creator II
Creator II
Author

Hi,

 

There's nothing in Advanced settings:

 

0683p000009M82S.png

 

Anonymous
Not applicable

Hi,

 

   Could you please import the class InvalidCipherTextException in the advanced section?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

Fernandez
Creator II
Creator II
Author

Hi,

 

It's running fine with using the library "bcprov-jdk15on-1.57.jar".