Everything was fine until 2 weeks ago. every time i tried to pull from BitBucket i get this error in Eclipse:An internal error occurred during: "Pulling Branch master - projectName".
Could not initialize class javax.crypto.SunJCE_b

From command line, it works well but not using Egit.
I replaced the *_policy.jar , gave all the required permissions to security folder and files in it
Also generated new rsa keys

- which egit version are you using ?
- did you change the Java version or the way how you access it in between ?
- obviously native git doesn't use Java so it can't be affected by a problem loading some Java class
- maybe you are trying to run Eclipse on JRE instead of JDK ?
- Open "Preferences > Java > Installed JREs" and check if you are using a full JDK or just JRE

well, I thought the problem solved.... it did not
Now here is the stack trace:

java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.SunJCE_b
at javax.crypto.Cipher.getInstance(DashoA13*..)
at com.jcraft.jsch.jce.AES256CTR.init(AES256CTR.java:56)
at com.jcraft.jsch.Session.checkCipher(Session.java:2469)
at com.jcraft.jsch.Session.checkCiphers(Session.java:2446)
at com.jcraft.jsch.Session.send_kexinit(Session.java:615)
at com.jcraft.jsch.Session.connect(Session.java:307)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(TransportGitSsh.java:306)
at org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:152)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:154)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1173)
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:156)
at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:221)
at org.eclipse.egit.ui.internal.push.PushOperationUI.execute(PushOperationUI.java:164)
at org.eclipse.egit.ui.internal.push.PushOperationUI$1.run(PushOperationUI.java:226)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)