java.lang.InstantiationException

org.apache.ws.security.components.crypto.Merlin

Samebug tips1

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web14

  • via Oracle Community by 843833, 1 year ago
    org.apache.ws.security.components.crypto.Merlin
  • org.apache.ws.security.components.crypto.Merlin
  • org.apache.ws.security.components.crypto.Merlin
  • Stack trace

    • java.lang.InstantiationException: org.apache.ws.security.components.crypto.Merlin at java.lang.Class.newInstance0(Class.java:293) at java.lang.Class.newInstance(Class.java:261) at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:125) at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101) at org.apache.ws.axis.security.WSDoAllSender.loadSignatureCrypto(WSDoAllSender.java:632) at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:281) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:121) at org.apache.axis.client.Call.invokeEngine(Call.java:2765) at org.apache.axis.client.Call.invoke(Call.java:2748) at org.apache.axis.client.Call.invoke(Call.java:2424) at org.apache.axis.client.Call.invoke(Call.java:2347) at org.apache.axis.client.Call.invoke(Call.java:1804) at org.astrogrid.security.sample.SamplePortSoapBindingStub.whoAmI(SamplePortSoapBindingStub.java:108) at org.astrogrid.security.EndToEndTest.testAll(EndToEndTest.java:46) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    178 times, 1 month ago
    2 times, 2 months ago
    8 times, 4 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    38 more bugmates