java.lang.NoClassDefFoundError: org.spongycastle.jce.provider.BouncyCastleProvider

GitHub | KReguieg | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 2418#231347752

    GitHub | 8 months ago | KReguieg
    java.lang.NoClassDefFoundError: org.spongycastle.jce.provider.BouncyCastleProvider

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org.spongycastle.jce.provider.BouncyCastleProvider

      at org.jmrtd.JMRTDSecurityProvider.<clinit>()
    2. org.jmrtd
      PassportService.<init>
      1. org.jmrtd.JMRTDSecurityProvider.<clinit>(JMRTDSecurityProvider.java:72)
      2. org.jmrtd.PassportApduService.<init>(PassportApduService.java:118)
      3. org.jmrtd.PassportService.<init>(PassportService.java:234)
      3 frames
    3. com.passport.passportid
      ReadPassportActivity$AsyncPassportCreate.doInBackground
      1. com.passport.passportid.ReadPassportActivity$AsyncPassportCreate.doInBackground(ReadPassportActivity.java:356)
      2. com.passport.passportid.ReadPassportActivity$AsyncPassportCreate.doInBackground(ReadPassportActivity.java:345)
      2 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:288)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    6. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:841)
      3 frames