java.lang.NoClassDefFoundError: sun/security/x509/X500Name

Google Groups | Droidster | 6 years 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

    Netbeans and android build error

    Stack Overflow | 4 months ago | dimis283
    java.lang.NoClassDefFoundError: Could not initialize class sun.security.x509.X500Name
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      sun/security/x509/X500Name

      at com.android.sdklib.internal.build.SignedJarBuilder.writeSignatureBlock()
    2. com.android.tools.sdklib
      ApkBuilder.sealApk
      1. com.android.sdklib.internal.build.SignedJarBuilder.writeSignatureBlock(UnknownSource)
      2. com.android.sdklib.internal.build.SignedJarBuilder.close(UnknownSource)
      3. com.android.sdklib.build.ApkBuilder.sealApk(Unknown Source)
      3 frames
    3. com.android.ide
      PostCompilerBuilder.build
      1. com.android.ide.eclipse.adt.internal.build.BuildHelper.finalPackage(UnknownSource)
      2. com.android.ide.eclipse.adt.internal.build.BuildHelper.finalDebugPackage(UnknownSource)
      3. com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(UnknownSource)
      3 frames
    4. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(UnknownSource)
      1 frame
    5. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
      1 frame
    6. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(UnknownSource)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(UnknownSource)
      3. org.eclipse.core.internal.events.BuildManager$1.run(UnknownSource)
      3 frames
    7. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
      1 frame
    8. Core Resource Management
      AutoBuildJob.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(UnknownSource)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(UnknownSource)
      3. org.eclipse.core.internal.events.BuildManager.build(UnknownSource)
      4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(UnknownSource)
      5. org.eclipse.core.internal.events.AutoBuildJob.run(Unknown Source)
      5 frames
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
      1 frame