java.lang.reflect.InvocationTargetException

ws-wss4j-dev | Werner Dittmann (JIRA) | 1 decade 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

    [jira] Commented: (WSS-11) Better error message(s) for failure to load keystore

    ws-wss4j-dev | 1 decade ago | Werner Dittmann (JIRA)
    java.lang.reflect.InvocationTargetException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    problem in encrypting messages using wss4j

    Oracle Community | 1 decade ago | 843833
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. org.apache.ws.security.components.crypto.CredentialException

      Failed to load credentials. Inner Exception: [failed to decrypt safe contents entryCOM.rsa.jsafe.SunJSSE_cs: Could not perform unpadding: invalid pad byte.]

      at org.apache.ws.security.components.crypto.Merlin.load()
    2. Apache WSS4J
      Merlin.<init>
      1. org.apache.ws.security.components.crypto.Merlin.load(Merlin.java:530)
      2. org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:119)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      4 frames
    4. Apache WSS4J
      CryptoFactory.getInstance
      1. org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:117)
      2. org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:72)
      2 frames
    5. org.astrogrid.security
      MerlinTest.testAll
      1. org.astrogrid.security.MerlinTest.testAll(MerlinTest.java:31)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    7. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    8. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
      2 frames