Hi all,
I'm using Jdev 12.1.3 and I have some strange behaviour that is keeping me busy for a few days now and I can't find the cause of the problem.
I build in PGP decryption functionality in my AppModule Class using the bouncycastle libraries.
When I run the AppModule in JDev and run the method to download an decrypt a file it all works fine.
But when I create a library of this project and call the method in an other project that has a front end page, I get the following error:
<oracle.adf.controller> <Utils> <buildFacesMessage> <ADF: Adding the following JSF error message: org.bouncycastle.util.Strings.newList()Lorg/bouncycastle/util/StringList;>
java.lang.NoSuchMethodError: org.bouncycastle.util.Strings.newList()Lorg/bouncycastle/util/StringList;
at org.bouncycastle.bcpg.ArmoredInputStream.<init>(Unknown Source)
at org.bouncycastle.bcpg.ArmoredInputStream.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPUtil.getDecoderStream(Unknown Source)
at com.myproject.filetransfer.model.service.KeyBasedFileProcessor.decryptFile(KeyBasedFileProcessor.java:92)
At line 92 I have the following code:
in = PGPUtil.getDecoderStream(in);
This method creates a new InputStream that at some point needs Strings.newList() and that method is not found for some reason.
I checked the weblogic file system and the bouncy castle libraries are deployed there. I think the libraries are found, else I would expect a class not found exception.
What is going wrong?
Any suggestions what I can try\check?