java.lang.InstantiationException: org.apache.ws.security.components.crypto.IAIK

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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.

Solutions on the web

via ws-wss4j-dev by Pietro Romanazzi, 1 year ago
org.apache.ws.security.components.crypto.IAIK
via ws-wss4j-dev by Pietro Romanazzi, 1 year ago
org.apache.ws.security.components.crypto.IAIK
java.lang.InstantiationException: org.apache.ws.security.components.crypto.IAIK
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:188)
at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:153)
at org.apache.ws.security.handler.WSHandler.loadSignatureCrypto(WSHandler.java:347)
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:127)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at samples.message.TestMsg.doit(TestMsg.java:85)
at samples.message.TestMsg.main(TestMsg.java:106)

Users with the same issue

178 times, 5 months ago
2 times, 6 months ago
8 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.