Forums

angle-left Back

Exception in thread "main" java.lang.ExceptionInInitializerError

RD
Ruchi Dubey, modified 6 Years ago.

Exception in thread "main" java.lang.ExceptionInInitializerError

New Member Posts: 19 Join Date: 2/28/12 Recent Posts
Hi, I have Liferay IDE installed on eclipse.Whenever I try to create a normal java class in any project and try running it as a java application(for testing purpose), i get this exception: Exception in thread "main" java.lang.ExceptionInInitializerError.
Whats this exception and why it is coming? Please help me solve this.
The complete log is :
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:157)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.tempuri.GSP2_1_Biztalk_USC_Hub_USC_GetRequestListByStatus_Port_GetRequestListSoapStub.getRequestListByUser(GSP2_1_Biztalk_USC_Hub_USC_GetRequestListByStatus_Port_GetRequestListSoapStub.java:165)
at org.tempuri.GSP2_1_Biztalk_USC_Hub_USC_GetRequestListByStatus_Port_GetRequestListSoapProxy.getRequestListByUser(GSP2_1_Biztalk_USC_Hub_USC_GetRequestListByStatus_Port_GetRequestListSoapProxy.java:50)
at com.atosorigin.usc.services.Test.main(Test.java:32)
Caused by: java.lang.NullPointerException
at java.util.regex.Pattern.<init>(Pattern.java:1132)
at java.util.regex.Pattern.compile(Pattern.java:823)
at com.liferay.util.axis.SimpleHTTPSender.<clinit>(SimpleHTTPSender.java:160)
... 21 more